Arrange Admin::BudgetInvestments I18n for buttons under same namespace

This commit is contained in:
Angel Perez
2018-01-24 10:07:50 -04:00
parent 680ca46ef1
commit d30d2b0dd8
5 changed files with 6 additions and 6 deletions

View File

@@ -38,7 +38,7 @@
</div>
<div class="small-12 medium-4 large-2 column">
<%= submit_tag t("#{i18n_namespace}.filters.button"), class: "button expanded" %>
<%= submit_tag t("admin.budget_investments.index.buttons.filter"), class: "button expanded" %>
</div>
<% end %>
</div>

View File

@@ -3,9 +3,9 @@
method: :get,
remote: true) do |f| %>
<div class="input-group">
<%= text_field_tag :project_title, "", placeholder: t("#{i18n_namespace}.placeholder") %>
<%= text_field_tag :project_title, "", placeholder: t("admin.budget_investments.index.placeholder") %>
<div class="input-group-button">
<%= f.submit t("#{i18n_namespace}.buttons.search"), class: "button" %>
<%= f.submit t("admin.budget_investments.index.buttons.search"), class: "button" %>
</div>
</div>
<% end %>

View File

@@ -1,6 +1,6 @@
<h2 class="inline-block"><%= @budget.name %> - <%= t("admin.budget_investments.index.title") %></h2>
<%= render 'search_form', i18n_namespace: "admin.budget_investments.index" %>
<%= render "search_form" %>
<%= form_tag(admin_budget_budget_investments_path(budget: @budget), method: :get, enforce_utf8: false) do %>
<div class="small-12 medium-3 column">

View File

@@ -151,11 +151,11 @@ en:
unfeasible: Unfeasible
max_per_heading: Max. supports per heading
winners: Winners
button: Filter
one_filter_html: "Current applied filter: <b><em>%{filter}</em></b>"
two_filters_html: "Current applied filters: <b><em>%{filter}, %{second_filter}</em></b>"
buttons:
search: Search
filter: Filter
download_current_selection: "Download current selection"
no_budget_investments: "There are no investment projects."
title: Investment projects

View File

@@ -151,11 +151,11 @@ es:
unfeasible: Inviables
max_per_heading: Corte por partida
winners: Ganadores
button: Filtrar
one_filter_html: "Filtro en uso: <b><em>%{filter}</em></b>"
two_filters_html: "Filtros en uso: <b><em>%{filter}, %{second_filter}</em></b>"
buttons:
search: Buscar
filter: Filtrar
download_current_selection: "Descargar selección actual"
no_budget_investments: "No hay proyectos de gasto."
title: Proyectos de gasto