Translate to Catalan
This commit is contained in:
parent
3fa8c69a49
commit
e826d79240
12 changed files with 502 additions and 110 deletions
|
|
@ -2,9 +2,7 @@
|
|||
|
||||
<p><%= @vote.description %></p>
|
||||
|
||||
<h2>Your ratings</h2>
|
||||
|
||||
<p>Hello, <%= current_user.email %>.</p>
|
||||
<h2><%= _("Your ratings") %></h2>
|
||||
|
||||
<form action="/votes/<%= @vote.secure_id %>/ratings" method="post">
|
||||
<ul>
|
||||
|
|
@ -22,10 +20,10 @@
|
|||
</li>
|
||||
<% end %>
|
||||
</ul>
|
||||
<button type="submit">Save ratings</button>
|
||||
<button type="submit"><%= _("Save") %></button>
|
||||
</form>
|
||||
|
||||
<h2>Participants</h2>
|
||||
<h2><%= _("Participants") %></h2>
|
||||
|
||||
<ul>
|
||||
<% @vote.ratings.collect { |rating| rating.user }.uniq.each do |user| %>
|
||||
|
|
@ -33,7 +31,7 @@
|
|||
<% end %>
|
||||
</ul>
|
||||
|
||||
<h2>Organizers</h2>
|
||||
<h2><%= _("Organizers") %></h2>
|
||||
|
||||
<ul>
|
||||
<% @vote.organizers.each do |organizer| %>
|
||||
|
|
@ -43,24 +41,24 @@
|
|||
|
||||
<% if @vote.users.exists?(current_user.id) %>
|
||||
|
||||
<h3>Actions for organizers</h3>
|
||||
<h3><%= _("Actions for organizers") %></h3>
|
||||
|
||||
<form action="/votes/<%= @vote.secure_id %>/draft" method="post">
|
||||
<button type="submit">Change back to draft vote</button>
|
||||
<button type="submit"><%= _("Change back to draft vote") %></button>
|
||||
</form>
|
||||
|
||||
<form action="/votes/<%= @vote.secure_id %>/close" method="post">
|
||||
<button type="submit">Close votes and show results</button>
|
||||
<button type="submit"><%= _("Close votes and show results") %></button>
|
||||
</form>
|
||||
|
||||
<h3>Add organizer</h3>
|
||||
<h3><%= _("Add organizer") %></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