From e2d88e30fdbed3c499740639b3b22cfc205a30db Mon Sep 17 00:00:00 2001 From: kikito Date: Fri, 3 Jun 2016 18:51:00 +0200 Subject: [PATCH] i18n for investments --- config/locales/en.yml | 81 +++++++++++++++++++++++++++++++ config/locales/es.yml | 83 +++++++++++++++++++++++++++++++- config/locales/responders.en.yml | 5 +- config/locales/responders.es.yml | 5 +- 4 files changed, 171 insertions(+), 3 deletions(-) diff --git a/config/locales/en.yml b/config/locales/en.yml index 62fc521c5..f91d4ac1a 100755 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -418,6 +418,85 @@ en: facebook: Facebook twitter: Twitter youtube: YouTube + budget: + headings: + none: Whole City + all: All scopes + 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: city-wide + remember_district: You can also vote investment projects for %{district}. + remember_district_link_html: a district + voted_html: + one: "You voted one proposal with a cost of %{amount_spent}" + other: "You voted %{count} proposals with a cost of %{amount_spent}" + 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. spending_proposals: form: association_name_label: 'If you propose in name of an assocation or collective add the name here' @@ -441,9 +520,11 @@ en: one: " containing the term '%{search_term}'" other: " containing the term '%{search_term}'" sidebar: + back: Volver geozones: Scope of operation feasibility: Feasibility unfeasible: Unfeasible + my_ballot: My votes start_spending_proposal: Create an investment project new: more_info: How do participatory budgeting works? diff --git a/config/locales/es.yml b/config/locales/es.yml index 05e53fc2b..452a6d94a 100755 --- a/config/locales/es.yml +++ b/config/locales/es.yml @@ -151,7 +151,7 @@ es: verification/sms: el teléfono geozones: none: Toda la ciudad - all: Todos los ámbitos + all: Todos los ámbitos de actuación layouts: application: chrome: Google Chrome @@ -418,6 +418,85 @@ es: facebook: Facebook twitter: Twitter youtube: YouTube + budget: + headings: + none: Toda la ciudad + all: Todos los ámbitos + 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: toda la ciudad + remember_district: Además puedes votar propuestas de inversión para %{district}. + remember_district_link_html: un distrito + voted_html: + one: "Has votado una propuesta por un valor de %{amount_spent}" + other: "Has votado %{count} propuestas por un valor de %{amount_spent}" + 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. spending_proposals: form: association_name_label: 'Si propones en nombre de una asociación o colectivo añade el nombre aquí' @@ -441,9 +520,11 @@ es: one: " que contiene '%{search_term}'" other: " que contienen '%{search_term}'" sidebar: + back: Volver geozones: Ámbitos de actuación feasibility: Viabilidad unfeasible: No viables + my_ballot: Mis votos start_spending_proposal: Crea una propuesta de inversión new: more_info: "¿Cómo funcionan los presupuestos participativos?" diff --git a/config/locales/responders.en.yml b/config/locales/responders.en.yml index 3f83f746a..27d768f3e 100755 --- a/config/locales/responders.en.yml +++ b/config/locales/responders.en.yml @@ -7,6 +7,7 @@ en: debate: "Debate created successfully." proposal: "Proposal created successfully." spending_proposal: "Spending proposal created successfully. You can access it from %{activity}" + budget_investment: "Budget Investment created successfully. You can access it from %{activity}" save_changes: notice: Changes saved update: @@ -14,5 +15,7 @@ en: debate: "Debate updated successfully." proposal: "Proposal updated successfully." spending_proposal: "Investment project updated succesfully." + budget_investment: "Budget Investment updated succesfully." destroy: - spending_proposal: "Spending proposal deleted succesfully." \ No newline at end of file + spending_proposal: "Spending proposal deleted succesfully." + budget_investment: "Budget Investment deleted succesfully." diff --git a/config/locales/responders.es.yml b/config/locales/responders.es.yml index e57dacd31..5a6da92c8 100644 --- a/config/locales/responders.es.yml +++ b/config/locales/responders.es.yml @@ -7,6 +7,7 @@ es: debate: "Debate creado correctamente." proposal: "Propuesta creada correctamente." spending_proposal: "Propuesta de inversión creada correctamente. Puedes acceder a ella desde %{activity}" + budget_investment: "Inversión creada correctamente. Puedes verla desde %{activity}" save_changes: notice: Cambios guardados update: @@ -14,5 +15,7 @@ es: debate: "Debate actualizado correctamente." proposal: "Propuesta actualizada correctamente." spending_proposal: "Propuesta de inversión actualizada correctamente." + budget_investment: "Propuesta de inversión actualizada correctamente" destroy: - spending_proposal: "Propuesta de inversión eliminada." \ No newline at end of file + spending_proposal: "Propuesta de inversión eliminada." + budget_investment: "Propuesta de inversión eliminada."