Skip to content
This repository has been archived by the owner on Dec 22, 2018. It is now read-only.

Commit

Permalink
Cleanup labels
Browse files Browse the repository at this point in the history
  • Loading branch information
Frank Groeneveld committed Sep 26, 2014
1 parent 15a076c commit 3238fca
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 8 deletions.
8 changes: 6 additions & 2 deletions app/views/tickets/index.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,13 @@
<div class="row collapse">
<div class="medium-9 columns">
<% if params[:q].present? %>
<h4 class="filter-title no-m pts"><%= t(:count_tickets_containing, count: @tickets.count) %> '<em><%= params[:q].to_s %></em>'</h4>
<h4 class="filter-title no-m pts">
<%= t(:count_tickets_containing, count: @tickets.count) %> '<em><%= params[:q].to_s %></em>'
</h4>
<% else %>
<h4 class="filter-title no-m pts"><%= t(:count_tickets_in_inbox, count: @tickets.count) %></h4>
<h4 class="filter-title no-m pts">
<%= t(:count_tickets, count: @tickets.count) %>
</h4>
<% end %>
</div>
<div class="medium-3 columns">
Expand Down
6 changes: 3 additions & 3 deletions config/locales/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@ en:
password_wont_change_without_opening_link: Your password won't change until you access the link above and create a new one.

# tickets/index
count_tickets_in_inbox:
one: '%{count} ticket in inbox'
other: '%{count} tickets in inbox'
count_tickets:
one: '%{count} ticket'
other: '%{count} tickets'
count_tickets_containing:
one: '%{count} ticket containing'
other: '%{count} tickets containing'
Expand Down
6 changes: 3 additions & 3 deletions config/locales/nl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,9 @@ nl:
password_wont_change_without_opening_link: Je wachtwoord veranderd niet totdat je via de link een nieuw wachtwoord aanmaakt.

# tickets/index
count_tickets_in_inbox:
one: '%{count} ticket in inbox'
other: '%{count} tickets in inbox'
count_tickets:
one: '%{count} ticket'
other: '%{count} tickets'
count_tickets_containing:
one: '%{count} ticket overeenkomend met'
other: '%{count} tickets overeenkomend met'
Expand Down

0 comments on commit 3238fca

Please sign in to comment.