i18n of filters view
This commit is contained in:
parent
cee4920216
commit
dd255f15be
|
@ -1,28 +1,25 @@
|
|||
<div class="box wide">
|
||||
<div class="legend">
|
||||
Filtered Tags
|
||||
<%= t('.filteredtags') %>
|
||||
</div>
|
||||
|
||||
<p>
|
||||
To hide stories from the home page that have been tagged with certain <a
|
||||
href="/tags">tags</a>, check them below.
|
||||
<%=raw(t('.filteredtagsdesc')) %>
|
||||
</p>
|
||||
|
||||
<% if !@user %>
|
||||
<p>
|
||||
Since you are not logged in, your filters will be stored in a long-lasting
|
||||
browser cookie. To permanently store your tag filters and have them work
|
||||
across browsers, <a href="/login">login</a> to your account.
|
||||
<%=raw(t('.filteredtagsnotloggedindesc')) %>
|
||||
</p>
|
||||
<% end %>
|
||||
|
||||
<%= form_tag "/filters", :method => :post do %>
|
||||
<table class="data zebra" cellspacing=0 width="75%">
|
||||
<tr>
|
||||
<th width="7%">Hide</th>
|
||||
<th width="13%">Tag</th>
|
||||
<th width="65%">Description</th>
|
||||
<th width="5%" style="text-align: right; padding-right: 1em;">Stories</th>
|
||||
<th width="7%"><%=t('.filteredhide') %></th>
|
||||
<th width="13%"><%=t('.filteredtag') %></th>
|
||||
<th width="65%"><%=t('.filtereddesc') %></th>
|
||||
<th width="5%" style="text-align: right; padding-right: 1em;"><%=t('.filteredstories') %></th>
|
||||
</tr>
|
||||
<% @tags.each do |tag| %>
|
||||
<tr>
|
||||
|
@ -41,7 +38,7 @@
|
|||
<% end %>
|
||||
</table>
|
||||
<p>
|
||||
<%= submit_tag "Save Filters" %>
|
||||
<%= submit_tag t('.filteredsave') %>
|
||||
</p>
|
||||
<% end %>
|
||||
</div>
|
||||
|
|
|
@ -37,6 +37,16 @@ en:
|
|||
hatrequestlink: "Hat Requests"
|
||||
privacylink: "Privacy"
|
||||
aboutlink: "About"
|
||||
filters:
|
||||
index:
|
||||
filteredtags: "Filtered Tags"
|
||||
filteredtagsdesc: "To hide stories from the home page that have been tagged with certain <a href=\"/tags\">tags</a>, check them below."
|
||||
filteredtagsnotloggedindesc: "Since you are not logged in, your filters will be stored in a long-lasting browser cookie. To permanently store your tag filters and have them work across browsers, <a href=\"/login\">login</a> to your account."
|
||||
filteredhide: "Hide"
|
||||
filteredtag: "Tag"
|
||||
filtereddesc: "Description"
|
||||
filteredstories: "Stories"
|
||||
filteredsave: "Save Filters"
|
||||
moderations:
|
||||
index:
|
||||
moderationlogtitle: "Moderation Log"
|
||||
|
|
|
@ -49,6 +49,16 @@ fr:
|
|||
hatrequestlink: "Porter le chapeau"
|
||||
privacylink: "Confidentialité"
|
||||
aboutlink: "À propos"
|
||||
filters:
|
||||
index:
|
||||
filteredtags: "Marques filtrées"
|
||||
filteredtagsdesc: "Pour cacher des infos de la page d'accueil qui ont été marquées avec une certaine <a href=\"/tags\">marque</a>, sélectionnez-les ci-dessous."
|
||||
filteredtagsnotloggedindesc: "Puisque vous n'êtes pas connecté, vos filtres seront enregistrés dans un cookie doté d'une longue durée de vie. Pour enregistrer définitivement vos filtres de marques et qu'ils fonctionnent donc quelque soit le navigateur web, <a href=\"/login\">connectez-vous</a> à votre compte."
|
||||
filteredhide: "Cacher"
|
||||
filteredtag: "Marque"
|
||||
filtereddesc: "Description"
|
||||
filteredstories: "Infos"
|
||||
filteredsave: "Sauver les filtres"
|
||||
moderations:
|
||||
index:
|
||||
moderationlogtitle: "Journal de modération"
|
||||
|
|
Loading…
Reference in a new issue