adds i18n for budget phases

This commit is contained in:
kikito
2016-11-28 19:08:09 +01:00
parent 242f8102a3
commit 979880f910
4 changed files with 20 additions and 3 deletions

View File

@@ -20,7 +20,7 @@
<%= link_to budget.name, budget %>
</td>
<td>
<%= budget.phase %>
<%= t("budgets.phases.#{budget.phase}") %>
</td>
</tr>
<% end %>

View File

@@ -6,8 +6,11 @@
<%= t('shared.back') %>
<% end %>
<h1><%= @budget.name %></h1>
<h1><%= @budget.name %>
<small><%= t("budgets.phases.#{@budget.phase}") %></small>
</h1>
<p><%= @budget.description %></p>
</div>
</div>
</div>

View File

@@ -33,6 +33,13 @@ en:
application:
close: Close
menu: Menu
budgets:
phases:
accepting: Accepting investment projects
on_hold: On Hold
selecting: Selecting investment projects
balloting: Voting investment projects
finished: Finished
comments:
comment:
admin: Administrator

View File

@@ -33,6 +33,13 @@ es:
application:
close: Cerrar
menu: Menú
budgets:
phases:
accepting: Aceptación de proyectos
on_hold: En espera
selecting: Selección de proyectos
balloting: Votación de proyectos
finished: Terminado
comments:
comment:
admin: Administrador