Translate to Catalan
This commit is contained in:
parent
3fa8c69a49
commit
e826d79240
12 changed files with 502 additions and 110 deletions
|
|
@ -2,11 +2,11 @@
|
|||
|
||||
<p><%= @vote.description %></p>
|
||||
|
||||
<h2>All ratings</h2>
|
||||
<h2><%= _("All ratings") %></h2>
|
||||
|
||||
<table>
|
||||
<tr>
|
||||
<th>Participant</th>
|
||||
<th><%= _("Participant") %></th>
|
||||
<% @vote.candidates.each do |candidate| %>
|
||||
<th><%= candidate.name %></th>
|
||||
<% end %>
|
||||
|
|
@ -23,15 +23,15 @@
|
|||
<% end %>
|
||||
</table>
|
||||
|
||||
<h2>Results</h2>
|
||||
<h2><%= _("Results") %></h2>
|
||||
|
||||
<table>
|
||||
<tr>
|
||||
<td>Rank</td>
|
||||
<td>Candidate</td>
|
||||
<td>Majority Judgment</td>
|
||||
<td>Proponents</td>
|
||||
<td>Opponents</td>
|
||||
<td><%= _("Rank") %></td>
|
||||
<td><%= _("Candidate") %></td>
|
||||
<td><%= _("Majority Judgment") %></td>
|
||||
<td><%= _("Proponents") %></td>
|
||||
<td><%= _("Opponents") %></td>
|
||||
</tr>
|
||||
<% i = 0 %>
|
||||
<% @vote.candidates.sort { |a, b| a.mj <=> b.mj }.reverse.each do |candidate| %>
|
||||
|
|
@ -46,7 +46,7 @@
|
|||
<% end %>
|
||||
</table>
|
||||
|
||||
<h2>Organizers</h2>
|
||||
<h2><%= _("Organizers") %></h2>
|
||||
|
||||
<ul>
|
||||
<% @vote.organizers.each do |organizer| %>
|
||||
|
|
@ -56,20 +56,20 @@
|
|||
|
||||
<% if @vote.users.exists?(current_user.id) %>
|
||||
|
||||
<h3>Actions for organizers</h3>
|
||||
<h3><%= _("Actions for organizers") %></h3>
|
||||
|
||||
<form action="/votes/<%= @vote.secure_id %>/reopen" method="post">
|
||||
<button type="submit">Reopen voting period</button>
|
||||
<button type="submit"><%= _("Reopen voting period") %></button>
|
||||
</form>
|
||||
|
||||
<h3>Add organizer</h3>
|
||||
<h3><%= _("Add") %></h3>
|
||||
|
||||
<form action="/votes/<%= @vote.secure_id %>/organizers" method="post">
|
||||
<p>
|
||||
<label for="email">Email</label>
|
||||
<label for="email"><%= _("Email") %></label>
|
||||
<input type="text" name="email">
|
||||
</p>
|
||||
<button type="submit">Add new organizer</button>
|
||||
<button type="submit"><%= _("Add") %></button>
|
||||
</form>
|
||||
|
||||
<% end %>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue