From 29e8f1ac9f8095aa2b95827a30ea8499a4f5fb79 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javi=20Mart=C3=ADn?= Date: Sun, 6 Oct 2019 01:16:34 +0200 Subject: [PATCH 1/3] Remove obsolete method This code isn't used since commit eef8ad1b. --- app/helpers/images_helper.rb | 5 ----- 1 file changed, 5 deletions(-) diff --git a/app/helpers/images_helper.rb b/app/helpers/images_helper.rb index 32c313517..632634aee 100644 --- a/app/helpers/images_helper.rb +++ b/app/helpers/images_helper.rb @@ -9,11 +9,6 @@ module ImagesHelper end end - def image_first_recommendation(image) - t "images.#{image.imageable.class.name.parameterize.underscore}.recommendation_one_html", - title: image.imageable.title - end - def image_attachment_file_name(image) image.attachment_file_name end From 2614253b695d16adc43f36be4f887c619ea95403 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javi=20Mart=C3=ADn?= Date: Sun, 6 Oct 2019 01:04:29 +0200 Subject: [PATCH 2/3] Fix typo in `
` tag We probably meant `
`, `
` or `
`, but wrote `
` instead. --- config/locales/en/general.yml | 8 ++++---- config/locales/es/general.yml | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/config/locales/en/general.yml b/config/locales/en/general.yml index cbb07d447..fcdba9cca 100644 --- a/config/locales/en/general.yml +++ b/config/locales/en/general.yml @@ -736,14 +736,14 @@ en: followable: budget_investment: create: - notice_html: "You are now following this investment project!
We will notify you of changes as they occur so that you are up-to-date." + notice_html: "You are now following this investment project!
We will notify you of changes as they occur so that you are up-to-date." destroy: - notice_html: "You have stopped following this investment project!
You will no longer receive notifications related to this project." + notice_html: "You have stopped following this investment project!
You will no longer receive notifications related to this project." proposal: create: - notice_html: "Now you are following this citizen proposal!
We will notify you of changes as they occur so that you are up-to-date." + notice_html: "Now you are following this citizen proposal!
We will notify you of changes as they occur so that you are up-to-date." destroy: - notice_html: "You have stopped following this citizen proposal!
You will no longer receive notifications related to this proposal." + notice_html: "You have stopped following this citizen proposal!
You will no longer receive notifications related to this proposal." hide: Hide print: print_button: Print this info diff --git a/config/locales/es/general.yml b/config/locales/es/general.yml index e0a0997b8..c9ee852e2 100644 --- a/config/locales/es/general.yml +++ b/config/locales/es/general.yml @@ -733,14 +733,14 @@ es: followable: budget_investment: create: - notice_html: "¡Ahora estás siguiendo este proyecto de gasto!
Te notificaremos los cambios a medida que se produzcan para que estés al día." + notice_html: "¡Ahora estás siguiendo este proyecto de gasto!
Te notificaremos los cambios a medida que se produzcan para que estés al día." destroy: - notice_html: "¡Has dejado de seguir este proyecto de gasto!
Ya no recibirás más notificaciones relacionadas con este proyecto." + notice_html: "¡Has dejado de seguir este proyecto de gasto!
Ya no recibirás más notificaciones relacionadas con este proyecto." proposal: create: - notice_html: "¡Ahora estás siguiendo esta propuesta ciudadana!
Te notificaremos los cambios a medida que se produzcan para que estés al día." + notice_html: "¡Ahora estás siguiendo esta propuesta ciudadana!
Te notificaremos los cambios a medida que se produzcan para que estés al día." destroy: - notice_html: "¡Has dejado de seguir esta propuesta ciudadana!
Ya no recibirás más notificaciones relacionadas con esta propuesta." + notice_html: "¡Has dejado de seguir esta propuesta ciudadana!
Ya no recibirás más notificaciones relacionadas con esta propuesta." hide: Ocultar print: print_button: Imprimir esta información From e06bbaed782c3f1fb6981960ec1274ff953214e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javi=20Mart=C3=ADn?= Date: Mon, 7 Oct 2019 01:03:03 +0200 Subject: [PATCH 3/3] Remove unused and add missing Spanish i18n keys They were accidentally added in commit 9d1ca3bf, missing in that same commit, or left by accident in commit 78c6f6f7. --- config/locales/es/admin.yml | 5 +++-- config/locales/es/general.yml | 2 -- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/config/locales/es/admin.yml b/config/locales/es/admin.yml index c7a323301..9cdd509aa 100644 --- a/config/locales/es/admin.yml +++ b/config/locales/es/admin.yml @@ -331,8 +331,6 @@ es: link: "Descargar comentarios" title: Comentarios no_comments: No hay comentarios. - hidden_debate: Debate oculto - hidden_proposal: Propuesta oculta table_link: "Link" hidden_comments: index: @@ -1294,6 +1292,9 @@ es: proposal_search: button: Buscar placeholder: Buscar propuestas por título, código, descripción o pregunta + debate_search: + button: Buscar + placeholder: Buscar debates por título o descripción user_search: button: Buscar placeholder: Buscar usuario por nombre o email diff --git a/config/locales/es/general.yml b/config/locales/es/general.yml index c9ee852e2..680e12920 100644 --- a/config/locales/es/general.yml +++ b/config/locales/es/general.yml @@ -968,8 +968,6 @@ es: help: alt: Selecciona el texto que quieres comentar y pulsa en el botón con el lápiz. text: Para comentar este documento debes %{sign_in} o %{sign_up}. Después selecciona el texto que quieres comentar y pulsa en el botón con el lápiz. - text_sign_in: iniciar sesión - text_sign_up: registrarte title: '¿Cómo puedo comentar este documento?' links: form: