From 60b3eac30531d7d86d8cb8273d768d6c73b0d3d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sen=C3=A9n=20Rodero=20Rodr=C3=ADguez?= Date: Sat, 24 Jun 2017 20:47:44 +0200 Subject: [PATCH] Relocate some locale entries. --- app/views/budgets/investments/_form.html.erb | 2 +- app/views/budgets/investments/_image_form.html.erb | 2 +- config/locales/en/budgets.yml | 2 ++ config/locales/en/general.yml | 2 -- config/locales/es/budgets.yml | 2 ++ config/locales/es/general.yml | 2 -- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/app/views/budgets/investments/_form.html.erb b/app/views/budgets/investments/_form.html.erb index 78733ba9e..5822b4960 100644 --- a/app/views/budgets/investments/_form.html.erb +++ b/app/views/budgets/investments/_form.html.erb @@ -57,7 +57,7 @@
<%= f.file_field :image, accept: 'image/jpeg', label: false, class:'show-for-sr' %>
- <%= f.label :image, t("images.upload_image"), class:'button' %> + <%= f.label :image, t("budgets.investments.form.image_label"), class:'button' %>

<%= investment_image_file_name(@investment) %>

diff --git a/app/views/budgets/investments/_image_form.html.erb b/app/views/budgets/investments/_image_form.html.erb index d190a054e..919b2ed10 100644 --- a/app/views/budgets/investments/_image_form.html.erb +++ b/app/views/budgets/investments/_image_form.html.erb @@ -15,7 +15,7 @@
<%= f.file_field :image, accept: 'image/jpeg', label: false, class:'show-for-sr' %>
- <%= f.label :image, t("images.upload_image"), class:'button' %> + <%= f.label :image, t("budgets.investments.edit_image.form.image_label"), class:'button' %>

<%= investment_image_file_name(@investment) %>

diff --git a/config/locales/en/budgets.yml b/config/locales/en/budgets.yml index c8412cf64..542e20d0a 100644 --- a/config/locales/en/budgets.yml +++ b/config/locales/en/budgets.yml @@ -55,6 +55,7 @@ en: tags_instructions: "Tag this proposal. You can choose from proposed categories or add your own" tags_label: Tags tags_placeholder: "Enter the tags you would like to use, separated by commas (',')" + image_label: Upload image index: title: Participatory budgeting unfeasible: Unfeasible investment projects @@ -115,6 +116,7 @@ en: add_note: 'Add an image to your investment project: %{title}' edit_note: 'You are changing investment project image of: %{title}' form: + image_label: Upload image image_title: Image title submit_button: Save image remove_button: Remove image diff --git a/config/locales/en/general.yml b/config/locales/en/general.yml index ed5fcdc58..85089ca20 100644 --- a/config/locales/en/general.yml +++ b/config/locales/en/general.yml @@ -184,8 +184,6 @@ en: geozones: none: All city all: All scopes - images: - upload_image: Upload Image layouts: application: chrome: Google Chrome diff --git a/config/locales/es/budgets.yml b/config/locales/es/budgets.yml index 0e408123e..fa50a6562 100644 --- a/config/locales/es/budgets.yml +++ b/config/locales/es/budgets.yml @@ -55,6 +55,7 @@ es: tags_label: Temas tag_category_label: "Categorías" tags_placeholder: "Escribe las etiquetas que desees separadas por una coma (',')" + image_label: Subir una imagen index: title: Presupuestos participativos unfeasible: Propuestas de inversión no viables @@ -115,6 +116,7 @@ es: add_note: 'Añade una imagen al proyecto de inversión: %{title}' edit_note: 'Estas cambiando la imagen del proyecto de inversión: %{title}' form: + image_label: Subir una imagen image_title: 'Título de la imagen' submit_button: Guardar imagen remove_button: Eliminar imagen diff --git a/config/locales/es/general.yml b/config/locales/es/general.yml index 00b7d3d80..9f52ccc38 100644 --- a/config/locales/es/general.yml +++ b/config/locales/es/general.yml @@ -184,8 +184,6 @@ es: geozones: none: Toda la ciudad all: Todos los ámbitos de actuación - images: - upload_image: Subir una imagen layouts: application: chrome: Google Chrome