Restructure and rename translations

Based on 012e4be by María Checa from AyuntamientoMadrid/consul fork
This commit is contained in:
Marko Lovic
2018-07-25 14:56:32 +02:00
parent ff9888d6fe
commit 5413c34458
4 changed files with 48 additions and 46 deletions

View File

@@ -16,16 +16,16 @@ class Budget::Investment::Exporter
def headers def headers
[ [
I18n.t("admin.budget_investments.index.table_id"), I18n.t("admin.budget_investments.index.list.id"),
I18n.t("admin.budget_investments.index.table_title"), I18n.t("admin.budget_investments.index.list.title"),
I18n.t("admin.budget_investments.index.table_supports"), I18n.t("admin.budget_investments.index.list.supports"),
I18n.t("admin.budget_investments.index.table_admin"), I18n.t("admin.budget_investments.index.list.admin"),
I18n.t("admin.budget_investments.index.table_valuator"), I18n.t("admin.budget_investments.index.list.valuator"),
I18n.t("admin.budget_investments.index.table_valuation_group"), I18n.t("admin.budget_investments.index.list.valuation_group"),
I18n.t("admin.budget_investments.index.table_geozone"), I18n.t("admin.budget_investments.index.list.geozone"),
I18n.t("admin.budget_investments.index.table_feasibility"), I18n.t("admin.budget_investments.index.list.feasibility"),
I18n.t("admin.budget_investments.index.table_valuation_finished"), I18n.t("admin.budget_investments.index.list.valuation_finished"),
I18n.t("admin.budget_investments.index.table_selection") I18n.t("admin.budget_investments.index.list.selected")
] ]
end end

View File

@@ -35,21 +35,21 @@
<table class="table-for-mobile"> <table class="table-for-mobile">
<thead> <thead>
<tr> <tr>
<th><%= t("admin.budget_investments.index.table_id") %></th> <th><%= t("admin.budget_investments.index.index.list.id") %></th>
<th class="small-3"><%= t("admin.budget_investments.index.table_title") %></th> <th class="small-3"><%= t("admin.budget_investments.index.list.title") %></th>
<th><%= t("admin.budget_investments.index.table_supports") %></th> <th><%= t("admin.budget_investments.index.list.supports") %></th>
<th><%= t("admin.budget_investments.index.table_admin") %></th> <th><%= t("admin.budget_investments.index.list.admin") %></th>
<th> <th>
<%= t("admin.budget_investments.index.table_valuation_group") %> <%= t("admin.budget_investments.index.list.valuation_group") %>
<%= t("admin.budget_investments.index.table_valuator") %> <%= t("admin.budget_investments.index.list.valuator") %>
</th> </th>
<th><%= t("admin.budget_investments.index.table_geozone") %></th> <th><%= t("admin.budget_investments.index.list.geozone") %></th>
<th><%= t("admin.budget_investments.index.table_feasibility") %></th> <th><%= t("admin.budget_investments.index.list.feasibility") %></th>
<th class="text-center"><%= t("admin.budget_investments.index.table_valuation_finished") %></th> <th class="text-center"><%= t("admin.budget_investments.index.list.valuation_finished") %></th>
<th class="text-center"><%= t("admin.budget_investments.index.table_evaluation") %></th> <th class="text-center"><%= t("admin.budget_investments.index.list.visible_to_valuators") %></th>
<th class="text-center"><%= t("admin.budget_investments.index.table_selection") %></th> <th class="text-center"><%= t("admin.budget_investments.index.list.selected") %></th>
<% if params[:filter] == "selected" %> <% if params[:filter] == "selected" %>
<th class="text-center"><%= t("admin.budget_investments.index.table_incompatible") %></th> <th class="text-center"><%= t("admin.budget_investments.index.list.incompatible") %></th>
<% end %> <% end %>
</tr> </tr>
</thead> </thead>

View File

@@ -187,18 +187,19 @@ en:
undecided: "Undecided" undecided: "Undecided"
selected: "Selected" selected: "Selected"
select: "Select" select: "Select"
table_id: "ID" list:
table_title: "Title" id: ID
table_supports: "Supports" title: Title
table_admin: "Administrator" supports: Supports
table_valuator: "Valuator" admin: Administrator
table_valuation_group: "Valuation Group" valuator: Valuator
table_geozone: "Scope of operation" valuation_group: Valuation Group
table_feasibility: "Feasibility" geozone: Scope of operation
table_valuation_finished: "Val. Fin." feasibility: Feasibility
table_selection: "Selected" valuation_finished: Val. Fin.
table_evaluation: "Show to valuators" selected: Selected
table_incompatible: "Incompatible" visible_to_valuators: Show to valuators
incompatible: Incompatible
cannot_calculate_winners: The budget has to stay on phase "Balloting projects", "Reviewing Ballots" or "Finished budget" in order to calculate winners projects cannot_calculate_winners: The budget has to stay on phase "Balloting projects", "Reviewing Ballots" or "Finished budget" in order to calculate winners projects
see_results: "See results" see_results: "See results"
show: show:

View File

@@ -187,18 +187,19 @@ es:
undecided: "Sin decidir" undecided: "Sin decidir"
selected: "Seleccionada" selected: "Seleccionada"
select: "Seleccionar" select: "Seleccionar"
table_id: "ID" list:
table_title: "Título" id: ID
table_supports: "Apoyos" title: Título
table_admin: "Administrador" supports: Apoyos
table_valuator: "Evaluador" admin: Administrador
table_valuation_group: "Grupos evaluadores" valuator: Evaluador
table_geozone: "Ámbito de actuación" valuation_group: Grupos evaluadores
table_feasibility: "Viabilidad" geozone: Ámbito de actuación
table_valuation_finished: "Ev. Fin." feasibility: Viabilidad
table_selection: "Seleccionado" valuation_finished: Ev. Fin.
table_evaluation: "Mostrar a evaluadores" selected: Seleccionado
table_incompatible: "Incompatible" visible_to_valuators: Mostrar a evaluadores
incompatible: Incompatible
cannot_calculate_winners: El presupuesto debe estar en las fases "Votación final", "Votación finalizada" o "Resultados" para poder calcular las propuestas ganadoras cannot_calculate_winners: El presupuesto debe estar en las fases "Votación final", "Votación finalizada" o "Resultados" para poder calcular las propuestas ganadoras
see_results: "Ver resultados" see_results: "Ver resultados"
show: show: