diff --git a/app/views/budgets/investments/_image_form.html.erb b/app/views/budgets/investments/_image_form.html.erb index 6cccbf9d8..616e4f4c1 100644 --- a/app/views/budgets/investments/_image_form.html.erb +++ b/app/views/budgets/investments/_image_form.html.erb @@ -43,7 +43,7 @@ remove_image_budget_investment_path(@investment.budget, @investment), class: "button hollow alert", method: :delete, - data: { confirm: "¿Está seguro que desea eliminar la imagen del proyecto?" } %> + data: { confirm: t("budgets.investments.edit_image.form.remove_alert") } %> <% end %> diff --git a/config/locales/en/budgets.yml b/config/locales/en/budgets.yml index 542e20d0a..c83ca4d7b 100644 --- a/config/locales/en/budgets.yml +++ b/config/locales/en/budgets.yml @@ -120,6 +120,7 @@ en: image_title: Image title submit_button: Save image remove_button: Remove image + remove_alert: Are you sure you want to remove the image? recommendation_title: Image recomendations recommendation_one: Projects that have images attract more attention than those that do not. If you have a picture suitable for your project upload. recommendation_two: Give a descriptive title to the image. diff --git a/config/locales/es/budgets.yml b/config/locales/es/budgets.yml index fa50a6562..75f3f398e 100644 --- a/config/locales/es/budgets.yml +++ b/config/locales/es/budgets.yml @@ -120,6 +120,7 @@ es: image_title: 'Título de la imagen' submit_button: Guardar imagen remove_button: Eliminar imagen + remove_alert: ¿Está seguro que desea eliminar la imagen del proyecto? recommendation_title: Recomendaciones para cambiar la imagen recommendation_one: Los proyectos que tienen imágenes llaman más la atención que las que no la tienen. Si tienes una imagen adecuada para tu proyecto súbela. recommendation_two: Dale un título descriptivo a la imagen.