Permalink
Browse files

Use I18n for the 'no results found' message.

  • Loading branch information...
1 parent dbb087a commit 9ca2673a0f24c3f97f4bafa7656943ddc4c192a5 @barendt committed Aug 7, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 app/views/datagrid/_table.html.erb
@@ -10,7 +10,7 @@ Local variables:
</thead>
<tbody>
<% if grid.rows.empty? %>
- <tr><td class="noresults" colspan="100%">No records found.</td></tr>
+ <tr><td class="noresults" colspan="100%"><%= I18n.t 'datagrid.no_results', :default => 'No results found.' %></td></tr>
<% else %>
<%= datagrid_rows(grid, assets, options) %>
<% end %>

0 comments on commit 9ca2673

Please sign in to comment.