Browse files

Localize drag text.

  • Loading branch information...
1 parent 246dd00 commit 61c683109aa3db2cc6d1d257cc6e1120c2aa229d @peterz committed Feb 28, 2011
Showing with 2 additions and 1 deletion.
  1. +1 −1 app/views/admin/banners/index.html.erb
  2. +1 −0 config/locales/en.yml
View
2 app/views/admin/banners/index.html.erb
@@ -35,7 +35,7 @@
<tbody>
<% @banners.each do |banner|%>
<tr id="<%= dom_id banner %>">
- <td><span class="handle">[drag]</span></td>
+ <td><span class="handle">[<%= t(:drag) %>]</span></td>
<td><%= link_to(image_tag(banner.image.url(:thumb)), banner.image.url(:banner)) %></td>
<td><%=banner.tagline%></td>
<td><%=banner.target_url%></td>
View
1 config/locales/en.yml
@@ -13,3 +13,4 @@
reorder: Reorder
reorder_explain: Drag the banners up and down to adjust the order in which they are displayed
visible: Visible
+ drag: drag

0 comments on commit 61c6831

Please sign in to comment.