updates translations

This commit is contained in:
rgarcia
2017-10-18 20:46:31 +02:00
parent 6b98bc0086
commit 0e8dc55b1b
5 changed files with 23 additions and 10 deletions

View File

@@ -21,7 +21,7 @@
<%= link_to t("admin.poll_booth_assignments.show.recounts"), "#tab-recounts" %> <%= link_to t("admin.poll_booth_assignments.show.recounts"), "#tab-recounts" %>
</li> </li>
<li class="tabs-title"> <li class="tabs-title">
<%= link_to "Results", "#tab-results" %> <%= link_to t("admin.poll_booth_assignments.show.results"), "#tab-results" %>
</li> </li>
</ul> </ul>

View File

@@ -1,8 +1,8 @@
<table class="margin"> <table class="margin">
<thead> <thead>
<th><%= t("admin.results.index.table_whites") %></th> <th><%= t("admin.results.result.table_whites") %></th>
<th><%= t("admin.results.index.table_nulls") %></th> <th><%= t("admin.results.result.table_nulls") %></th>
<th><%= t("admin.results.index.table_total") %></th> <th><%= t("admin.results.result.table_total") %></th>
</thead> </thead>
<tbody> <tbody>
<tr> <tr>
@@ -20,8 +20,8 @@
<table class="margin"> <table class="margin">
<thead> <thead>
<tr> <tr>
<th><%= t("admin.results.index.table_answer") %></th> <th><%= t("admin.results.result.table_answer") %></th>
<th class="text-center"><%= t("admin.results.index.table_votes") %></th> <th class="text-center"><%= t("admin.results.result.table_votes") %></th>
</tr> </tr>
</thead> </thead>
<tbody> <tbody>

View File

@@ -1,8 +1,8 @@
<table class="margin" id="booth_assignment_results"> <table class="margin" id="booth_assignment_results">
<thead> <thead>
<tr> <tr>
<th>Urna</th> <th><%= t("admin.results.results_by_booth.booth") %></th>
<th class="text-center">Resultados</th> <th class="text-center"><%= t("admin.results.results_by_booth.results") %></th>
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
@@ -10,8 +10,9 @@
<tr id="booth_assignment_<%= booth_assignment.id %>_result"> <tr id="booth_assignment_<%= booth_assignment.id %>_result">
<td><%= booth_assignment.booth.name %></td> <td><%= booth_assignment.booth.name %></td>
<td class="text-center"> <td class="text-center">
<%= link_to "See results", <%= link_to t("admin.results.results_by_booth.see_results"),
admin_poll_booth_assignment_path(@poll, booth_assignment, anchor: "tab-results") %> admin_poll_booth_assignment_path(@poll, booth_assignment,
anchor: "tab-results") %>
</td> </td>
</tr> </tr>
<% end %> <% end %>

View File

@@ -537,6 +537,7 @@ en:
no_officers: "There are no officers for this booth" no_officers: "There are no officers for this booth"
recounts: "Recounts" recounts: "Recounts"
recounts_list: "Recount list for this booth" recounts_list: "Recount list for this booth"
results: "Results"
date: "Date" date: "Date"
count_final: "Final recount (by officer)" count_final: "Final recount (by officer)"
count_by_system: "Votes (automatic)" count_by_system: "Votes (automatic)"
@@ -647,11 +648,16 @@ en:
index: index:
title: "Results" title: "Results"
no_results: "There are no results" no_results: "There are no results"
result:
table_whites: "Totally blank ballots" table_whites: "Totally blank ballots"
table_nulls: "Invalid ballots" table_nulls: "Invalid ballots"
table_total: "Total ballots" table_total: "Total ballots"
table_answer: Answer table_answer: Answer
table_votes: Votes table_votes: Votes
results_by_booth:
booth: Booth
results: Results
see_results: See results
booths: booths:
index: index:
title: "List of booths" title: "List of booths"

View File

@@ -537,6 +537,7 @@ es:
no_officers: "No hay presidentes de mesa para esta urna" no_officers: "No hay presidentes de mesa para esta urna"
recounts: "Recuentos" recounts: "Recuentos"
recounts_list: "Lista de recuentos de esta urna" recounts_list: "Lista de recuentos de esta urna"
results: "Resultados"
date: "Fecha" date: "Fecha"
count_final: "Recuento final (presidente de mesa)" count_final: "Recuento final (presidente de mesa)"
count_by_system: "Votos (automático)" count_by_system: "Votos (automático)"
@@ -649,11 +650,16 @@ es:
index: index:
title: "Resultados" title: "Resultados"
no_results: "No hay resultados" no_results: "No hay resultados"
result:
table_whites: Papeletas totalmente en blanco table_whites: Papeletas totalmente en blanco
table_nulls: Papeletas nulas table_nulls: Papeletas nulas
table_total: Papeletas totales table_total: Papeletas totales
table_answer: Respuesta table_answer: Respuesta
table_votes: Votos table_votes: Votos
results_by_booth:
booth: Urna
results: Resultados
see_results: Ver resultados
booths: booths:
index: index:
title: "Lista de urnas" title: "Lista de urnas"