adds missing i18n for admin/polls tabs

This commit is contained in:
Juanjo Bazán
2016-12-06 13:50:40 +01:00
parent ef77dd039b
commit e8ccc07273
3 changed files with 9 additions and 6 deletions

View File

@@ -4,8 +4,7 @@
<li class="tabs-title is-active">
<%= link_to "#tab-questions" do %>
<h2>
<%# t("proposals.show.comments_tab") %>
Preguntas
<%= t("admin.polls.show.questions_tab") %>
<span class="js-comments-count">(<%= @poll.questions.count %>)</span>
</h2>
<% end %>
@@ -13,8 +12,7 @@
<li class="tabs-title">
<%= link_to "#tab-booths" do %>
<h2>
<%# t("proposals.show.notifications_tab") %>
Urnas
<%= t("admin.polls.show.booths_tab") %>
(<%= @poll.booths.count %>)
</h2>
<% end %>
@@ -22,8 +20,7 @@
<li class="tabs-title">
<%= link_to "#tab-officers" do %>
<h2>
<%# t("proposals.show.notifications_tab") %>
Presidentes
<%= t("admin.polls.show.officers_tab") %>
(<%= @poll.officers.count %>)
</h2>
<% end %>

View File

@@ -175,6 +175,9 @@ en:
starts_at: "Open date"
ends_at: "Close date"
show:
questions_tab: Questions
booths_tab: Booths
officers_tab: Officers
no_booths: "There are no booths in this poll."
add_booth: "Add booth"
booths_title: "List of booths"

View File

@@ -175,6 +175,9 @@ es:
starts_at: "Fecha de apertura"
ends_at: "Fecha de cierre"
show:
questions_tab: Preguntas
booths_tab: Urnas
officers_tab: Presidentes de mesa
no_booths: "No hay urnas en esta votación."
add_booth: "Añadir urna"
booths_title: "Listado de urnas"