diff --git a/config/locales/en/activerecord.yml b/config/locales/en/activerecord.yml
index 5b12917fd..c2057e07b 100644
--- a/config/locales/en/activerecord.yml
+++ b/config/locales/en/activerecord.yml
@@ -500,7 +500,7 @@ en:
user: Executed by
link:
label: Title
- url: Link
+ url: URL
valuator:
description: Description
valuator_group_id: Valuator group
diff --git a/config/locales/en/admin.yml b/config/locales/en/admin.yml
index 647ad90fd..564ef35dc 100644
--- a/config/locales/en/admin.yml
+++ b/config/locales/en/admin.yml
@@ -571,10 +571,6 @@ en:
allegations_phase: Comments phase
proposals_phase: Proposals phase
use_markdown: Use Markdown to format the text
- title_placeholder: The title of the process
- summary_placeholder: Short summary of the description
- description_placeholder: Add a description of the process
- additional_info_placeholder: Add an additional information you consider useful
homepage_description: Here you can explain the content of the process
banner_title: Header colors
index:
@@ -647,9 +643,7 @@ en:
status:
draft: You can preview as admin, no one else can see it
published: Visible for everybody
- title_placeholder: Write the title of the draft version
changelog_placeholder: Add the main changes from the previous version
- body_placeholder: Write down the draft text
index:
title: Draft versions
create: Create version
@@ -680,7 +674,6 @@ en:
submit_button: Save changes
form:
add_option: Add option
- title_placeholder: Add question
value_placeholder: Add a closed answer
question_options: "Possible answers (optional, by default open answers)"
index:
diff --git a/config/locales/en/devise_views.yml b/config/locales/en/devise_views.yml
index d814dc55b..7e184e028 100644
--- a/config/locales/en/devise_views.yml
+++ b/config/locales/en/devise_views.yml
@@ -2,7 +2,6 @@ en:
devise_views:
confirmations:
new:
- email_label: Email
submit: Re-send instructions
title: Re-send confirmation instructions
show:
@@ -39,12 +38,7 @@ en:
organizations:
registrations:
new:
- email_label: Email
- organization_name_label: Name of organisation
password_confirmation_label: Confirm password
- password_label: Password
- phone_number_label: Phone number
- responsible_name_label: Full name of the person responsible for the collective
responsible_name_note: This would be the person representing the association/collective in whose name the proposals are presented
submit: Register
title: Register as an organisation or collective
@@ -62,13 +56,10 @@ en:
password_label: New password
title: Change your password
new:
- email_label: Email
send_submit: Send instructions
title: Forgotten password?
sessions:
new:
- login_label: Email or username
- password_label: Password
remember_me: Remember me
submit: Enter
title: Sign in
@@ -106,12 +97,9 @@ en:
waiting_for: "Awaiting confirmation of:"
new:
cancel: Cancel login
- email_label: Email
organization_signup: Do you represent an organisation or collective? %{signup_link}
organization_signup_link: Sign up here
password_confirmation_label: Confirm password
- password_label: Password
- redeemable_code: Verification code received via email (optional)
submit: Register
terms: By registering you accept the %{terms}
terms_link: terms and conditions of use
@@ -119,7 +107,6 @@ en:
title: Register
username_is_available: Username available
username_is_not_available: Username already in use
- username_label: Username
username_note: Name that appears next to your posts
success:
back_to_index: I understand; go back to main page
diff --git a/config/locales/en/general.yml b/config/locales/en/general.yml
index 969704fa3..47616b616 100644
--- a/config/locales/en/general.yml
+++ b/config/locales/en/general.yml
@@ -5,10 +5,7 @@ en:
erase_account_link: Erase my account
finish_verification: Complete verification
notifications: Notifications
- organization_name_label: Name of organization
- organization_responsible_name_placeholder: Representative of the organization/collective
personal: Personal details
- phone_number_label: Phone number
public_interests_my_title_list: Tags of elements you follow
public_interests_user_title_list: Tags of elements this user follows
save_changes_submit: Save changes
@@ -22,7 +19,6 @@ en:
user_permission_verify: To perform all the actions verify your account.
user_permission_verify_info: "* Only for users on Census."
user_permission_votes: Participate on final voting
- username_label: Username
verified_account: Account verified
verify_my_account: Verify my account
application:
@@ -93,7 +89,6 @@ en:
submit_button: Save changes
show_link: View debate
form:
- debate_title: Debate title
tags_instructions: Tag this debate.
tags_placeholder: "Enter the tags you would like to use, separated by commas (',')"
index:
@@ -957,9 +952,6 @@ en:
title: Links
note: Add the links that are of interest
add_new_link: Add new link
- link_fields:
- label_placeholder: Link title
- url_placeholder: Link address
communities:
show:
surveys: Surveys
diff --git a/config/locales/en/management.yml b/config/locales/en/management.yml
index bca638b98..a66790849 100644
--- a/config/locales/en/management.yml
+++ b/config/locales/en/management.yml
@@ -43,14 +43,12 @@ en:
title: User management
under_age: "You don't have the required age to verify your account."
verify: Verify
- email_label: Email
date_of_birth: Date of birth
email_verifications:
already_verified: This user account is already verified.
choose_options: "Please choose one of the following options:"
document_found_in_census: This document was found in the census, but it has no user account associated to it.
document_mismatch: "This email belongs to a user which already has an associated id: %{document_number}(%{document_type})"
- email_placeholder: Write the email this person used to create his or her account
email_sent_instructions: In order to completely verify this user, it is necessary that the user clicks on a link which we have sent to the email address above. This step is needed in order to confirm that the address belongs to him.
if_existing_account: If the person has already a user account created in the website,
if_no_existing_account: If this person has not created an account yet
diff --git a/config/locales/en/officing.yml b/config/locales/en/officing.yml
index dd1d78a1b..066c137ae 100644
--- a/config/locales/en/officing.yml
+++ b/config/locales/en/officing.yml
@@ -69,7 +69,6 @@ en:
not_allowed: "You don't have officing shifts today"
new:
title: Validate document
- document_number: "Document number (including letters)"
submit: Validate document
error_verifying_census: "The Census was unable to verify this document."
form_errors: prevented the verification of this document
diff --git a/config/locales/en/verification.yml b/config/locales/en/verification.yml
index 22057d67d..cd0201d63 100644
--- a/config/locales/en/verification.yml
+++ b/config/locales/en/verification.yml
@@ -75,7 +75,6 @@ en:
phone: Enter your mobile phone number to receive the code
phone_format: "(Example: 612345678 or +34612345678)"
phone_note: We only use your phone to send you a code, never to contact you.
- phone_placeholder: "Example: 612345678 or +34612345678"
submit_button: Send
title: Send confirmation code
update:
diff --git a/config/locales/es/activerecord.yml b/config/locales/es/activerecord.yml
index 43bd93700..a6454e6e3 100644
--- a/config/locales/es/activerecord.yml
+++ b/config/locales/es/activerecord.yml
@@ -500,7 +500,7 @@ es:
user: Ejecutado por
link:
label: Título
- url: Enlace
+ url: URL
valuator:
description: Descripción
valuator_group_id: Grupo de evaluación
diff --git a/config/locales/es/admin.yml b/config/locales/es/admin.yml
index 534dc9529..930343b95 100644
--- a/config/locales/es/admin.yml
+++ b/config/locales/es/admin.yml
@@ -571,10 +571,6 @@ es:
allegations_phase: Fase de comentarios
proposals_phase: Fase de propuestas
use_markdown: Usa Markdown para formatear el texto
- title_placeholder: Escribe el título del proceso
- summary_placeholder: Resumen corto de la descripción
- description_placeholder: Añade una descripción del proceso
- additional_info_placeholder: Añade cualquier información adicional que pueda ser de interés
homepage_description: Aquí puedes explicar el contenido del proceso
banner_title: Colores del encabezado
index:
@@ -646,9 +642,7 @@ es:
status:
draft: Podrás previsualizarlo como logueado, nadie más lo podrá ver
published: Será visible para todo el mundo
- title_placeholder: Escribe el título de esta versión del borrador
changelog_placeholder: Describe cualquier cambio relevante con la versión anterior
- body_placeholder: Escribe el texto del borrador
index:
title: Versiones del borrador
create: Crear versión
@@ -679,7 +673,6 @@ es:
submit_button: Guardar cambios
form:
add_option: Añadir respuesta cerrada
- title_placeholder: Escribe un título a la pregunta
value_placeholder: Escribe una respuesta cerrada
question_options: "Posibles respuestas (opcional, por defecto respuestas abiertas)"
index:
diff --git a/config/locales/es/devise_views.yml b/config/locales/es/devise_views.yml
index 21c83d8d3..4b63ca652 100644
--- a/config/locales/es/devise_views.yml
+++ b/config/locales/es/devise_views.yml
@@ -2,7 +2,6 @@ es:
devise_views:
confirmations:
new:
- email_label: Email
submit: Reenviar instrucciones
title: Reenviar instrucciones de confirmación
show:
@@ -39,12 +38,7 @@ es:
organizations:
registrations:
new:
- email_label: Email
- organization_name_label: Nombre de la organización
password_confirmation_label: Repite la contraseña anterior
- password_label: Contraseña que utilizarás para acceder a este sitio web
- phone_number_label: Teléfono
- responsible_name_label: Nombre y apellidos de la persona responsable del colectivo
responsible_name_note: Será la persona representante de la asociación/colectivo en cuyo nombre se presenten las propuestas
submit: Registrarse
title: Registrarse como organización / colectivo
@@ -62,13 +56,10 @@ es:
password_label: Contraseña nueva
title: Cambia tu contraseña
new:
- email_label: Email
send_submit: Recibir instrucciones
title: '¿Has olvidado tu contraseña?'
sessions:
new:
- login_label: Email o nombre de usuario
- password_label: Contraseña que utilizarás para acceder a este sitio web
remember_me: Recordarme
submit: Entrar
title: Iniciar sesión
@@ -106,12 +97,9 @@ es:
waiting_for: "Esperando confirmación de:"
new:
cancel: Cancelar login
- email_label: Tu correo electrónico
organization_signup: '¿Representas a una organización / colectivo? %{signup_link}'
organization_signup_link: Regístrate aquí
password_confirmation_label: Repite la contraseña anterior
- password_label: Contraseña que utilizarás para acceder a este sitio web
- redeemable_code: Tu código de verificación (si has recibido una carta con él)
submit: Registrarse
terms: Al registrarte aceptas las %{terms}
terms_link: condiciones de uso
@@ -119,7 +107,6 @@ es:
title: Registrarse
username_is_available: Nombre de usuario disponible
username_is_not_available: Nombre de usuario ya existente
- username_label: Nombre de usuario
username_note: Nombre público que aparecerá en tus publicaciones
success:
back_to_index: Entendido, volver a la página principal
diff --git a/config/locales/es/general.yml b/config/locales/es/general.yml
index 9bb9618e0..903e96d07 100644
--- a/config/locales/es/general.yml
+++ b/config/locales/es/general.yml
@@ -5,10 +5,7 @@ es:
erase_account_link: Darme de baja
finish_verification: Finalizar verificación
notifications: Notificaciones
- organization_name_label: Nombre de la organización
- organization_responsible_name_placeholder: Representante de la asociación/colectivo
personal: Datos personales
- phone_number_label: Teléfono
public_interests_my_title_list: Etiquetas de los elementos que sigues
public_interests_user_title_list: Etiquetas de los elementos que sigue este usuario
save_changes_submit: Guardar cambios
@@ -22,7 +19,6 @@ es:
user_permission_verify: Para poder realizar todas las acciones, verifica tu cuenta.
user_permission_verify_info: "* Sólo usuarios empadronados."
user_permission_votes: Participar en las votaciones finales*
- username_label: Nombre de usuario
verified_account: Cuenta verificada
verify_my_account: Verificar mi cuenta
application:
@@ -93,7 +89,6 @@ es:
submit_button: Guardar cambios
show_link: Ver debate
form:
- debate_title: Título del debate
tags_instructions: Etiqueta este debate.
tags_placeholder: "Escribe las etiquetas que desees separadas por coma (',')"
index:
@@ -957,9 +952,6 @@ es:
title: Enlaces
note: Añade los enlaces que sean de interés.
add_new_link: Añadir nuevo enlace
- link_fields:
- label_placeholder: Título del enlace
- url_placeholder: Dirección del enlace
communities:
show:
surveys: Encuestas
diff --git a/config/locales/es/management.yml b/config/locales/es/management.yml
index fddaa42ee..e0e018d90 100644
--- a/config/locales/es/management.yml
+++ b/config/locales/es/management.yml
@@ -43,14 +43,12 @@ es:
title: Gestión de usuarios
under_age: "No tienes edad suficiente para verificar tu cuenta."
verify: Verificar usuario
- email_label: Email
date_of_birth: Fecha de nacimiento
email_verifications:
already_verified: Esta cuenta de usuario ya está verificada.
choose_options: "Elige una de las opciones siguientes:"
document_found_in_census: Este documento está en el registro del padrón municipal, pero todavía no tiene una cuenta de usuario asociada.
document_mismatch: "Ese email corresponde a un usuario que ya tiene asociado el documento %{document_number}(%{document_type})"
- email_placeholder: Introduce el email de registro
email_sent_instructions: Para terminar de verificar esta cuenta es necesario que haga clic en el enlace que le hemos enviado a la dirección de correo que figura arriba. Este paso es necesario para confirmar que dicha cuenta de usuario es suya.
if_existing_account: Si la persona ya ha creado una cuenta de usuario en la web
if_no_existing_account: Si la persona todavía no ha creado una cuenta de usuario en la web
diff --git a/config/locales/es/officing.yml b/config/locales/es/officing.yml
index 5586c6e62..f668ce8a2 100644
--- a/config/locales/es/officing.yml
+++ b/config/locales/es/officing.yml
@@ -69,7 +69,6 @@ es:
not_allowed: "Hoy no tienes turno de presidente de mesa"
new:
title: Validar documento
- document_number: "Número de documento (incluida letra)"
submit: Validar documento
error_verifying_census: "El Padrón no pudo verificar este documento."
form_errors: evitaron verificar este documento
diff --git a/config/locales/es/verification.yml b/config/locales/es/verification.yml
index cce8722de..55123724d 100644
--- a/config/locales/es/verification.yml
+++ b/config/locales/es/verification.yml
@@ -75,7 +75,6 @@ es:
phone: Introduce tu teléfono móvil para recibir el código
phone_format: "(Ejemplo: 612345678 ó +34612345678)"
phone_note: Sólo usaremos tu teléfono para enviarte un código, nunca te contactaremos.
- phone_placeholder: "Ejemplo: 612345678 ó +34612345678"
submit_button: Enviar
title: SMS de confirmación
update:
diff --git a/spec/system/admin/site_customization/information_texts_spec.rb b/spec/system/admin/site_customization/information_texts_spec.rb
index ddd27f4e6..a887ffca4 100644
--- a/spec/system/admin/site_customization/information_texts_spec.rb
+++ b/spec/system/admin/site_customization/information_texts_spec.rb
@@ -91,13 +91,11 @@ describe "Admin custom information texts", :admin do
end
scenario "Remove a translation" do
- first_key = "debates.form.debate_title"
- debate_title = create(:i18n_content, key: first_key,
- value_en: "Custom debate title",
- value_es: "Título personalizado de debate")
+ featured = create(:i18n_content, key: "debates.index.featured_debates",
+ value_en: "Custom featured",
+ value_es: "Destacar personalizado")
- second_key = "debates.new.start_new"
- page_title = create(:i18n_content, key: second_key,
+ page_title = create(:i18n_content, key: "debates.new.start_new",
value_en: "Start a new debate",
value_es: "Empezar un debate")
@@ -113,15 +111,15 @@ describe "Admin custom information texts", :admin do
select "English", from: :select_language
expect(page).to have_content "Start a new debate"
- expect(page).to have_content "Custom debate title"
+ expect(page).to have_content "Custom featured"
- debate_title.reload
+ featured.reload
page_title.reload
- expect(page_title.value_es).to be(nil)
- expect(debate_title.value_es).to be(nil)
- expect(page_title.value_en).to eq("Start a new debate")
- expect(debate_title.value_en).to eq("Custom debate title")
+ expect(page_title.value_es).to be nil
+ expect(featured.value_es).to be nil
+ expect(page_title.value_en).to eq "Start a new debate"
+ expect(featured.value_en).to eq "Custom featured"
end
end
end