Skip to content

Commit f28a4e3

Browse files
Jeff Schoolcraftradar
Jeff Schoolcraft
authored andcommitted
Use the numerical translation for has_been_banned
1 parent 993e87c commit f28a4e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/views/users/show.html.erb

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
<td valign='top'>
2121
<b><%= t(:Date_joined) %>:</b> <%= @user.created_at.strftime date_display %> <br />
2222
<b><%= t(:Posts) %>:</b> <%= @user.posts.size %>, <%= t(:about) %> <%= @posts_percentage %>% <%= t(:of_all_posts_on_this_forum) %><br />
23-
<b><%= t(:Bans) %>:</b> <%= @user %> <%= t(:has_been_banned) %> <%= @user.ban_times %> g<%= t(:times) %>. <br />
23+
<b><%= t(:Bans) %>:</b> <%= @user %> <%= t(:has_been_banned, :count => @user.ban_times %><br />
2424
<% if !@user.ban_time.nil? && @user.ban_time > Time.now %>
2525
<h2><%= t(:is_currently_banned, :user => @user) %>!</h2>
2626
<%= t(:banned_by, :user => @user.banned_by.login) %><%= t(:ban_expires_in, :time => time_ago_in_words(@user.ban_time)) %>.<br /><br />

0 commit comments

Comments
 (0)