Skip to content

Commit

Permalink
Fix problem with translate
Browse files Browse the repository at this point in the history
  • Loading branch information
rubydev committed Nov 28, 2011
1 parent 4078f77 commit bd4a4ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/shared/_empty.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
- asset = assets.singularize
#empty
- if @current_query.blank?
== #{t(:could_not_find, assets.capitalize)} #{link_to_inline(:"create_#{asset}", send("new_" << asset << "_path"), :plain => true, :text => t(:create_a_new) << ' ' << t(asset + '_small'))}.
== #{t(:could_not_find, t(assets.downcase))} #{link_to_inline(:"create_#{asset}", send("new_" << asset << "_path"), :plain => true, :text => t(:create_a_new) << ' ' << t(asset + '_small'))}.
- else
== #{t(:could_not_find_matching, t(assets.downcase + '_small'))} <span class="cool"><b>#{h @current_query}</b></span>; #{t :please_retry}

0 comments on commit bd4a4ba

Please sign in to comment.