fixes i18n specs

This commit is contained in:
rgarcia
2017-01-09 13:54:29 +01:00
parent f2d23b56e0
commit 19a79801d3
3 changed files with 4 additions and 24 deletions

View File

@@ -29,11 +29,11 @@
</div> </div>
<div class="small-12 column"> <div class="small-12 column">
<%= f.label :tag_list, t("budget.investments.form.tags_label") %> <%= f.label :tag_list, t("budgets.investments.form.tags_label") %>
<p class="note"><%= t("budget.investments.form.tags_instructions") %></p> <p class="note"><%= t("budgets.investments.form.tags_instructions") %></p>
<div id="category_tags" class="tags"> <div id="category_tags" class="tags">
<%= f.label :category_tag_list, t("budget.investments.form.tag_category_label") %> <%= f.label :category_tag_list, t("budgets.investments.form.tag_category_label") %>
<% @categories.each do |tag| %> <% @categories.each do |tag| %>
<a class="js-add-tag-link"><%= tag.name %></a> <a class="js-add-tag-link"><%= tag.name %></a>
<% end %> <% end %>
@@ -42,7 +42,7 @@
<br> <br>
<%= f.text_field :tag_list, value: @investment.tag_list.to_s, <%= f.text_field :tag_list, value: @investment.tag_list.to_s,
label: false, label: false,
placeholder: t("budget.investments.form.tags_placeholder"), placeholder: t("budgets.investments.form.tags_placeholder"),
class: 'js-tag-list' %> class: 'js-tag-list' %>
</div> </div>

View File

@@ -34,20 +34,10 @@ en:
title: Participatory budgets title: Participatory budgets
investments: investments:
form: form:
association_name_label: 'If you propose in name of an assocation or collective add the name here'
association_name: 'Association name'
description: Description
external_url: Link to additional documentation
heading: Choose if a proposed citywide or district
location: "Location"
tag_category_label: "Categories" tag_category_label: "Categories"
tags_instructions: "Tag this proposal. You can choose from proposed categories or add your own" tags_instructions: "Tag this proposal. You can choose from proposed categories or add your own"
tags_label: Tags tags_label: Tags
tags_placeholder: "Enter the tags you would like to use, separated by commas (',')" tags_placeholder: "Enter the tags you would like to use, separated by commas (',')"
submit_buttons:
create: Create
new: Create
title: Investment title
index: index:
title: Participatory budgeting title: Participatory budgeting
unfeasible: Unfeasible investment projects unfeasible: Unfeasible investment projects

View File

@@ -34,20 +34,10 @@ es:
title: Presupuestos participativos title: Presupuestos participativos
investments: investments:
form: form:
association_name_label: 'Si propones en nombre de una asociación o colectivo añade el nombre aquí'
association_name: 'Nombre de la asociación'
description: Descripción detallada
external_url: Enlace a documentación adicional
heading: "Elige si es una propuesta para toda la ciudad o para un distrito"
location: "Ubicación de la propuesta"
tags_instructions: "Etiqueta esta propuesta. Puedes elegir entre las categorías propuestas o introducir las que desees" tags_instructions: "Etiqueta esta propuesta. Puedes elegir entre las categorías propuestas o introducir las que desees"
tags_label: Temas tags_label: Temas
tag_category_label: "Categorías" tag_category_label: "Categorías"
tags_placeholder: "Escribe las etiquetas que desees separadas por una coma (',')" tags_placeholder: "Escribe las etiquetas que desees separadas por una coma (',')"
submit_buttons:
create: Crear
new: Crear
title: Título de la propuesta de inversión
index: index:
title: Presupuestos participativos title: Presupuestos participativos
unfeasible: Propuestas de inversión no viables unfeasible: Propuestas de inversión no viables