refactors budget translations
This commit is contained in:
@@ -18,7 +18,7 @@
|
||||
<% end %>
|
||||
|
||||
<h3>
|
||||
<%= t("ballots.show.remaining_city_html",
|
||||
<%= t("budgets.ballots.show.remaining_city_html",
|
||||
amount_city: format_price(@ballot.amount_available(nil))) %>
|
||||
</h3>
|
||||
|
||||
@@ -52,7 +52,7 @@
|
||||
<% else %>
|
||||
<p>
|
||||
<%= t("budgets.ballots.show.zero") %><br>
|
||||
<%= link_to t("ballots.show.city_link"),
|
||||
<%= link_to t("budgets.ballots.show.city_link"),
|
||||
investments_path(geozone: 'all'),
|
||||
data: { no_turbolink: true } %>
|
||||
</p>
|
||||
@@ -66,7 +66,7 @@
|
||||
|
||||
<div id="district_wide" class="small-12 medium-6 column">
|
||||
<h3 class="subtitle">
|
||||
<%= t("ballots.show.district_wide") %>
|
||||
<%= t("budgets.ballots.show.district_wide") %>
|
||||
<span>
|
||||
<% if @ballot.geozone.present? %>
|
||||
(<%= @ballot.geozone.name %>)
|
||||
@@ -75,13 +75,13 @@
|
||||
</h3>
|
||||
<% if @ballot.geozone.present? %>
|
||||
<h4 class="amount-spent text-right">
|
||||
<%= t("ballots.show.amount_spent") %>
|
||||
<%= t("budgets.ballots.show.amount_spent") %>
|
||||
<span><%= format_price(district_wide_amount_spent(@ballot)) %></span>
|
||||
</h4>
|
||||
<% else %>
|
||||
<p>
|
||||
<%= t("ballots.show.zero") %><br>
|
||||
<%= link_to t("budget.ballots.show.districts_link"), select_district_path %>
|
||||
<%= t("budgets.ballots.show.zero") %><br>
|
||||
<%= link_to t("budgets.ballots.show.districts_link"), select_district_path %>
|
||||
</p>
|
||||
<% end %>
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
<% if @budget.balloting? %>
|
||||
<%= link_to ballot_line_path(id: investment.id),
|
||||
title: t('ballots.show.remove'),
|
||||
title: t('budgets.ballots.show.remove'),
|
||||
class: "remove-investment-project",
|
||||
method: :delete,
|
||||
remote: true do %>
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
<% if @budget.balloting? %>
|
||||
<%= link_to ballot_line_path(id: investment.id,
|
||||
investments_ids: investment_ids),
|
||||
title: t('ballots.show.remove'),
|
||||
title: t('budgets.ballots.show.remove'),
|
||||
class: "remove-investment-project",
|
||||
method: :delete,
|
||||
remote: true do %>
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
</p>
|
||||
|
||||
<% if @budget.balloting? %>
|
||||
<%= link_to t('ballots.show.remove'),
|
||||
<%= link_to t('budgets.ballots.show.remove'),
|
||||
ballot_line_path(id: investment.id,
|
||||
investments_ids: investment_ids),
|
||||
class: "delete small expanded",
|
||||
|
||||
106
config/locales/budgets.en.yml
Normal file
106
config/locales/budgets.en.yml
Normal file
@@ -0,0 +1,106 @@
|
||||
en:
|
||||
budgets:
|
||||
ballots:
|
||||
show:
|
||||
amount_spent: "pending translation"
|
||||
city_wide: "pending translation"
|
||||
districts_link: "pending translation"
|
||||
remaining_district_html: "pending translation"
|
||||
social_share: "pending translation"
|
||||
title: "pending translation"
|
||||
voted_html: "pending translation"
|
||||
voted_info_html: "pending translation"
|
||||
zero: "pending translation"
|
||||
budget:
|
||||
phase:
|
||||
on_hold: On hold
|
||||
accepting: Accepting proposals
|
||||
selecting: Selecting
|
||||
balloting: Balloting
|
||||
finished: Finished
|
||||
headings:
|
||||
none: Whole City
|
||||
all: All scopes
|
||||
index:
|
||||
name: Budget's name
|
||||
phase: Phase
|
||||
title: Participatory budgets
|
||||
investments:
|
||||
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
|
||||
submit_buttons:
|
||||
create: Create
|
||||
new: Create
|
||||
title: Investment title
|
||||
index:
|
||||
available: "Available:"
|
||||
title: Participatory budgeting
|
||||
unfeasible: Unfeasible investment projects
|
||||
unfeasible_text: "The proposals must meet a number of criteria (legality, concreteness, be the responsibility of the city, not exceed the limit of the budget; %{definitions}) to be declared viable and reach the stage of final vote. All proposals don't meet these criteria are marked as unfeasible and published in the following list, along with its report of infeasibility."
|
||||
unfeasible_text_definitions: see definitions here
|
||||
by_heading: "Investment projects with scope: %{heading}"
|
||||
search_form:
|
||||
button: Search
|
||||
placeholder: Investment projects...
|
||||
title: Search
|
||||
search_results:
|
||||
one: " containing the term '%{search_term}'"
|
||||
other: " containing the term '%{search_term}'"
|
||||
sidebar:
|
||||
back: Back to select page
|
||||
district: District
|
||||
my_ballot: My ballot
|
||||
remember_city: You can also vote %{city} investment projects.
|
||||
remember_city_link_html: <strong>city-wide</strong>
|
||||
remember_district: You can also vote investment projects for %{district}.
|
||||
remember_district_link_html: <strong>a district</strong>
|
||||
voted_html:
|
||||
one: "<strong>You voted one proposal with a cost of %{amount_spent}</strong>"
|
||||
other: "<strong>You voted %{count} proposals with a cost of %{amount_spent}</strong>"
|
||||
voted_info: You can change your vote at any time until the close of this phase. No need to spend all the money available.
|
||||
votes: Supports remaining
|
||||
votes_district: "You can only vote in the district %{district}"
|
||||
zero: You have not voted any investment project.
|
||||
orders:
|
||||
random: random
|
||||
confidence_score: highest rated
|
||||
price: by price
|
||||
new:
|
||||
back_link: Back
|
||||
more_info: "Important, not to be ruled out your proposal must comply:"
|
||||
recommendation_one: See the %{requirements}.
|
||||
recommendation_one_link: requirements to be met by a proposal
|
||||
recommendation_three: Try to go into details when describing your spending proposal so the reviewing team undertands your points.
|
||||
recommendation_two: Each proposal must be submitted separately. You can make as many want.
|
||||
recommendations_title: How to create a spending proposal
|
||||
start_new: Create spending proposal
|
||||
show:
|
||||
author_deleted: User deleted
|
||||
price_explanation: Price explanation
|
||||
unfeasibility_explanation: Unfeasibility explanation
|
||||
code: 'Investment project code:'
|
||||
share: Share
|
||||
wrong_price_format: Only integer numbers
|
||||
investment:
|
||||
title: Investment project
|
||||
add: Add
|
||||
already_added: You have already added this investment project
|
||||
already_supported: You have already supported this. Share it!
|
||||
forum: District discussion space
|
||||
support_title: Support this project
|
||||
supports:
|
||||
one: 1 support
|
||||
other: "%{count} supports"
|
||||
zero: No supports
|
||||
vote: Vote
|
||||
header:
|
||||
check_ballot: Check my ballot
|
||||
different_heading_active: You have active votes in another district.
|
||||
show:
|
||||
heading: Heading
|
||||
price: Price
|
||||
no_heading: No Heading
|
||||
106
config/locales/budgets.es.yml
Normal file
106
config/locales/budgets.es.yml
Normal file
@@ -0,0 +1,106 @@
|
||||
es:
|
||||
budgets:
|
||||
ballots:
|
||||
show:
|
||||
amount_spent: "pending translation"
|
||||
city_wide: "pending translation"
|
||||
districts_link: "pending translation"
|
||||
remaining_district_html: "pending translation"
|
||||
social_share: "pending translation"
|
||||
title: "pending translation"
|
||||
voted_html: "pending translation"
|
||||
voted_info_html: "pending translation"
|
||||
zero: "pending translation"
|
||||
budget:
|
||||
phase:
|
||||
on_hold: En pausa
|
||||
accepting: Aceptando propuestas
|
||||
selecting: Fase de selección
|
||||
balloting: Fase de Votación
|
||||
finished: Terminado
|
||||
headings:
|
||||
none: Toda la ciudad
|
||||
all: Todos los ámbitos
|
||||
index:
|
||||
name: Nombre del presupuesto
|
||||
phase: Fase
|
||||
title: Presupuestos participativos
|
||||
investments:
|
||||
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"
|
||||
submit_buttons:
|
||||
create: Crear
|
||||
new: Crear
|
||||
title: Título de la propuesta de inversión
|
||||
index:
|
||||
available: "Disponible:"
|
||||
title: Presupuestos participativos
|
||||
unfeasible: Propuestas de inversión no viables
|
||||
unfeasible_text: Las propuestas presentadas deben cumplir una serie de criterios (legalidad, concreción, ser competencia del Ayuntamiento, no superar el tope del presupuesto; %{definitions}) para ser declaradas viables y llegar hasta la fase de votación final. Todas las propuestas que no cumplen estos criterios son marcadas como inviables y publicadas en la siguiente lista, junto con su informe de inviabilidad.
|
||||
unfeasible_text_definitions: ver definiciones aquí
|
||||
by_heading: "Propuestas de inversión con ámbito: %{heading}"
|
||||
search_form:
|
||||
button: Buscar
|
||||
placeholder: Propuestas de inversión...
|
||||
title: Buscar
|
||||
search_results:
|
||||
one: " que contiene '%{search_term}'"
|
||||
other: " que contienen '%{search_term}'"
|
||||
sidebar:
|
||||
back: Volver a página de selección
|
||||
district: Distrito
|
||||
my_ballot: Mis votos
|
||||
remember_city: Además puedes votar propuestas de inversión para %{city}.
|
||||
remember_city_link_html: <strong>toda la ciudad</strong>
|
||||
remember_district: Además puedes votar propuestas de inversión para %{district}.
|
||||
remember_district_link_html: <strong>un distrito</strong>
|
||||
voted_html:
|
||||
one: "<strong>Has votado una propuesta por un valor de %{amount_spent}</strong>"
|
||||
other: "<strong>Has votado %{count} propuestas por un valor de %{amount_spent}</strong>"
|
||||
voted_info: Puedes cambiar tus votos en cualquier momento hasta el cierre de esta fase. No hace falta que gastes todo el dinero disponible.
|
||||
votes: Apoyos restantes
|
||||
votes_district: "Solo puedes votar en el distrito %{district}"
|
||||
zero: "Todavía no has votado ninguna propuesta de inversión."
|
||||
orders:
|
||||
random: Aleatorias
|
||||
confidence_score: Mejor valoradas
|
||||
price: Por coste
|
||||
new:
|
||||
more_info: "¿Cómo funcionan los presupuestos participativos?"
|
||||
recommendation_one: Consulta los %{requirements}.
|
||||
recommendation_one_link: requisitos que debe cumplir una propuesta
|
||||
recommendation_three: Intenta detallar lo máximo posible la propuesta para que el equipo de gobierno encargado de estudiarla tenga las menor dudas posibles.
|
||||
recommendation_two: Cualquier propuesta o comentario que implique acciones ilegales será eliminada.
|
||||
recommendations_title: Cómo crear una propuesta de inversión
|
||||
start_new: Crear una propuesta de inversión
|
||||
back_link: Volver
|
||||
show:
|
||||
author_deleted: Usuario eliminado
|
||||
price_explanation: Informe de coste
|
||||
unfeasibility_explanation: Informe de inviabilidad
|
||||
code: 'Código propuesta de gasto:'
|
||||
share: Compartir
|
||||
wrong_price_format: Solo puede incluir caracteres numéricos
|
||||
investment:
|
||||
title: Propuesta de inversión
|
||||
add: Añadir
|
||||
already_added: "Ya has añadido esta propuesta de inversión"
|
||||
already_supported: Ya has apoyado este proyecto. ¡Compártelo!
|
||||
forum: Espacio de debate distrital
|
||||
support_title: Apoyar este proyecto
|
||||
supports:
|
||||
one: 1 apoyo
|
||||
other: "%{count} apoyos"
|
||||
zero: Sin apoyos
|
||||
vote: Votar
|
||||
header:
|
||||
check_ballot: Revisar mis votos
|
||||
different_heading_active: Ya apoyaste propuestas de otro distrito.
|
||||
show:
|
||||
heading: Partida
|
||||
price: Cantidad
|
||||
no_heading: Sin línea
|
||||
@@ -33,13 +33,6 @@ en:
|
||||
application:
|
||||
close: Close
|
||||
menu: Menu
|
||||
budget:
|
||||
phase:
|
||||
on_hold: On hold
|
||||
accepting: Accepting proposals
|
||||
selecting: Selecting
|
||||
balloting: Balloting
|
||||
finished: Finished
|
||||
comments:
|
||||
comment:
|
||||
admin: Administrator
|
||||
@@ -447,93 +440,6 @@ en:
|
||||
facebook: Facebook
|
||||
twitter: Twitter
|
||||
youtube: YouTube
|
||||
budget:
|
||||
headings:
|
||||
none: Whole City
|
||||
all: All scopes
|
||||
index:
|
||||
name: Budget's name
|
||||
phase: Phase
|
||||
title: Participatory budgets
|
||||
investments:
|
||||
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
|
||||
submit_buttons:
|
||||
create: Create
|
||||
new: Create
|
||||
title: Investment title
|
||||
index:
|
||||
available: "Available:"
|
||||
title: Participatory budgeting
|
||||
unfeasible: Unfeasible investment projects
|
||||
unfeasible_text: "The proposals must meet a number of criteria (legality, concreteness, be the responsibility of the city, not exceed the limit of the budget; %{definitions}) to be declared viable and reach the stage of final vote. All proposals don't meet these criteria are marked as unfeasible and published in the following list, along with its report of infeasibility."
|
||||
unfeasible_text_definitions: see definitions here
|
||||
by_heading: "Investment projects with scope: %{heading}"
|
||||
search_form:
|
||||
button: Search
|
||||
placeholder: Investment projects...
|
||||
title: Search
|
||||
search_results:
|
||||
one: " containing the term '%{search_term}'"
|
||||
other: " containing the term '%{search_term}'"
|
||||
sidebar:
|
||||
back: Back to select page
|
||||
district: District
|
||||
my_ballot: My ballot
|
||||
remember_city: You can also vote %{city} investment projects.
|
||||
remember_city_link_html: <strong>city-wide</strong>
|
||||
remember_district: You can also vote investment projects for %{district}.
|
||||
remember_district_link_html: <strong>a district</strong>
|
||||
voted_html:
|
||||
one: "<strong>You voted one proposal with a cost of %{amount_spent}</strong>"
|
||||
other: "<strong>You voted %{count} proposals with a cost of %{amount_spent}</strong>"
|
||||
voted_info: You can change your vote at any time until the close of this phase. No need to spend all the money available.
|
||||
votes: Supports remaining
|
||||
votes_district: "You can only vote in the district %{district}"
|
||||
zero: You have not voted any investment project.
|
||||
orders:
|
||||
random: random
|
||||
confidence_score: highest rated
|
||||
price: by price
|
||||
new:
|
||||
back_link: Back
|
||||
more_info: "Important, not to be ruled out your proposal must comply:"
|
||||
recommendation_one: See the %{requirements}.
|
||||
recommendation_one_link: requirements to be met by a proposal
|
||||
recommendation_three: Try to go into details when describing your spending proposal so the reviewing team undertands your points.
|
||||
recommendation_two: Each proposal must be submitted separately. You can make as many want.
|
||||
recommendations_title: How to create a spending proposal
|
||||
start_new: Create spending proposal
|
||||
show:
|
||||
author_deleted: User deleted
|
||||
price_explanation: Price explanation
|
||||
unfeasibility_explanation: Unfeasibility explanation
|
||||
code: 'Investment project code:'
|
||||
share: Share
|
||||
wrong_price_format: Only integer numbers
|
||||
investment:
|
||||
title: Investment project
|
||||
add: Add
|
||||
already_added: You have already added this investment project
|
||||
already_supported: You have already supported this. Share it!
|
||||
forum: District discussion space
|
||||
support_title: Support this project
|
||||
supports:
|
||||
one: 1 support
|
||||
other: "%{count} supports"
|
||||
zero: No supports
|
||||
vote: Vote
|
||||
header:
|
||||
check_ballot: Check my ballot
|
||||
different_heading_active: You have active votes in another district.
|
||||
show:
|
||||
heading: Heading
|
||||
price: Price
|
||||
no_heading: No Heading
|
||||
spending_proposals:
|
||||
form:
|
||||
association_name_label: 'If you propose in name of an assocation or collective add the name here'
|
||||
|
||||
@@ -33,13 +33,6 @@ es:
|
||||
application:
|
||||
close: Cerrar
|
||||
menu: Menú
|
||||
budget:
|
||||
phase:
|
||||
on_hold: En pausa
|
||||
accepting: Aceptando propuestas
|
||||
selecting: Fase de selección
|
||||
balloting: Fase de Votación
|
||||
finished: Terminado
|
||||
comments:
|
||||
comment:
|
||||
admin: Administrador
|
||||
@@ -447,93 +440,6 @@ es:
|
||||
facebook: Facebook
|
||||
twitter: Twitter
|
||||
youtube: YouTube
|
||||
budget:
|
||||
headings:
|
||||
none: Toda la ciudad
|
||||
all: Todos los ámbitos
|
||||
index:
|
||||
name: Nombre del presupuesto
|
||||
phase: Fase
|
||||
title: Presupuestos participativos
|
||||
investments:
|
||||
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"
|
||||
submit_buttons:
|
||||
create: Crear
|
||||
new: Crear
|
||||
title: Título de la propuesta de inversión
|
||||
index:
|
||||
available: "Disponible:"
|
||||
title: Presupuestos participativos
|
||||
unfeasible: Propuestas de inversión no viables
|
||||
unfeasible_text: Las propuestas presentadas deben cumplir una serie de criterios (legalidad, concreción, ser competencia del Ayuntamiento, no superar el tope del presupuesto; %{definitions}) para ser declaradas viables y llegar hasta la fase de votación final. Todas las propuestas que no cumplen estos criterios son marcadas como inviables y publicadas en la siguiente lista, junto con su informe de inviabilidad.
|
||||
unfeasible_text_definitions: ver definiciones aquí
|
||||
by_heading: "Propuestas de inversión con ámbito: %{heading}"
|
||||
search_form:
|
||||
button: Buscar
|
||||
placeholder: Propuestas de inversión...
|
||||
title: Buscar
|
||||
search_results:
|
||||
one: " que contiene '%{search_term}'"
|
||||
other: " que contienen '%{search_term}'"
|
||||
sidebar:
|
||||
back: Volver a página de selección
|
||||
district: Distrito
|
||||
my_ballot: Mis votos
|
||||
remember_city: Además puedes votar propuestas de inversión para %{city}.
|
||||
remember_city_link_html: <strong>toda la ciudad</strong>
|
||||
remember_district: Además puedes votar propuestas de inversión para %{district}.
|
||||
remember_district_link_html: <strong>un distrito</strong>
|
||||
voted_html:
|
||||
one: "<strong>Has votado una propuesta por un valor de %{amount_spent}</strong>"
|
||||
other: "<strong>Has votado %{count} propuestas por un valor de %{amount_spent}</strong>"
|
||||
voted_info: Puedes cambiar tus votos en cualquier momento hasta el cierre de esta fase. No hace falta que gastes todo el dinero disponible.
|
||||
votes: Apoyos restantes
|
||||
votes_district: "Solo puedes votar en el distrito %{district}"
|
||||
zero: "Todavía no has votado ninguna propuesta de inversión."
|
||||
orders:
|
||||
random: Aleatorias
|
||||
confidence_score: Mejor valoradas
|
||||
price: Por coste
|
||||
new:
|
||||
more_info: "¿Cómo funcionan los presupuestos participativos?"
|
||||
recommendation_one: Consulta los %{requirements}.
|
||||
recommendation_one_link: requisitos que debe cumplir una propuesta
|
||||
recommendation_three: Intenta detallar lo máximo posible la propuesta para que el equipo de gobierno encargado de estudiarla tenga las menor dudas posibles.
|
||||
recommendation_two: Cualquier propuesta o comentario que implique acciones ilegales será eliminada.
|
||||
recommendations_title: Cómo crear una propuesta de inversión
|
||||
start_new: Crear una propuesta de inversión
|
||||
back_link: Volver
|
||||
show:
|
||||
author_deleted: Usuario eliminado
|
||||
price_explanation: Informe de coste
|
||||
unfeasibility_explanation: Informe de inviabilidad
|
||||
code: 'Código propuesta de gasto:'
|
||||
share: Compartir
|
||||
wrong_price_format: Solo puede incluir caracteres numéricos
|
||||
investment:
|
||||
title: Propuesta de inversión
|
||||
add: Añadir
|
||||
already_added: "Ya has añadido esta propuesta de inversión"
|
||||
already_supported: Ya has apoyado este proyecto. ¡Compártelo!
|
||||
forum: Espacio de debate distrital
|
||||
support_title: Apoyar este proyecto
|
||||
supports:
|
||||
one: 1 apoyo
|
||||
other: "%{count} apoyos"
|
||||
zero: Sin apoyos
|
||||
vote: Votar
|
||||
header:
|
||||
check_ballot: Revisar mis votos
|
||||
different_heading_active: Ya apoyaste propuestas de otro distrito.
|
||||
show:
|
||||
heading: Partida
|
||||
price: Cantidad
|
||||
no_heading: Sin línea
|
||||
spending_proposals:
|
||||
form:
|
||||
association_name_label: 'Si propones en nombre de una asociación o colectivo añade el nombre aquí'
|
||||
|
||||
Reference in New Issue
Block a user