From 224eb03ca2041fed7c055c84ec43d40e2d294b73 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Juanjo=20Baza=CC=81n?=
<%= t("budgets.investments.header.different_heading_assigned_html", + heading_link: link_to( + @assigned_heading.name, + budget_investments_path(@budget, heading_id: @assigned_heading.try(:id))) + ) %>
<% else %><%= t("budgets.investments.index.sidebar.zero") %>
<% end %> diff --git a/config/locales/budgets.en.yml b/config/locales/budgets.en.yml index 41f6fbe8f..d7d55b7b8 100644 --- a/config/locales/budgets.en.yml +++ b/config/locales/budgets.en.yml @@ -63,7 +63,7 @@ en: other: "You voted %{count} proposals with a cost of %{amount_spent}" voted_info: You can %{link} at any time until the close of this phase. No need to spend all the money available. voted_info_link: change your vote - zero: You have not voted any investment project. + zero: You have not voted any investment project in this group. verified_only: "To create a new budget investment %{verify}." verify_account: "verify your account" create: "Create budget investment" diff --git a/config/locales/budgets.es.yml b/config/locales/budgets.es.yml index e5fc416e9..5e0c44679 100644 --- a/config/locales/budgets.es.yml +++ b/config/locales/budgets.es.yml @@ -63,7 +63,7 @@ es: other: "Has votado %{count} propuestas por un valor de %{amount_spent}" voted_info: Puedes %{link} en cualquier momento hasta el cierre de esta fase. No hace falta que gastes todo el dinero disponible. voted_info_link: cambiar tus votos - zero: "Todavía no has votado ninguna propuesta de inversión." + zero: "Todavía no has votado ninguna propuesta de inversión en este ámbito del presupuesto." verified_only: "Para crear una nueva propuesta de inversión %{verify}." verify_account: "verifica tu cuenta" create: "Crear propuesta de inversión" From 0395970b241ec71d29e6c535a11a1ad25b96119d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juanjo=20Baza=CC=81n?=<%= t("budgets.investments.header.different_heading_assigned_html", +
<%= t("budgets.investments.index.sidebar.different_heading_assigned_html", heading_link: link_to( @assigned_heading.name, budget_investments_path(@budget, heading_id: @assigned_heading.try(:id))) diff --git a/config/locales/budgets.en.yml b/config/locales/budgets.en.yml index d7d55b7b8..e7ee15b5a 100644 --- a/config/locales/budgets.en.yml +++ b/config/locales/budgets.en.yml @@ -63,6 +63,7 @@ en: other: "You voted %{count} proposals with a cost of %{amount_spent}" voted_info: You can %{link} at any time until the close of this phase. No need to spend all the money available. voted_info_link: change your vote + different_heading_assigned_html: "You have active votes in another heading: %{heading_link}" zero: You have not voted any investment project in this group. verified_only: "To create a new budget investment %{verify}." verify_account: "verify your account" diff --git a/config/locales/budgets.es.yml b/config/locales/budgets.es.yml index 5e0c44679..1d848d04a 100644 --- a/config/locales/budgets.es.yml +++ b/config/locales/budgets.es.yml @@ -63,6 +63,7 @@ es: other: "Has votado %{count} propuestas por un valor de %{amount_spent}" voted_info: Puedes %{link} en cualquier momento hasta el cierre de esta fase. No hace falta que gastes todo el dinero disponible. voted_info_link: cambiar tus votos + different_heading_assigned_html: "Ya apoyaste propuestas de otra sección del presupuesto: %{heading_link}" zero: "Todavía no has votado ninguna propuesta de inversión en este ámbito del presupuesto." verified_only: "Para crear una nueva propuesta de inversión %{verify}." verify_account: "verifica tu cuenta"