# File app/controllers/translation_controller.rb, line 51 def search_for_strings session[:translation_list] = {:qry => :str, :str => params[:string], :lang => @language.id, :on_trans => [:trans, :both].include?(params[:search_in].to_sym), :on_base => [:base, :both].include?(params[:search_in].to_sym), :head => _('Searching for strings in <em>%s</em> matching <em>%s</em>' ) % [@language.name, params[:string]] } redirect_to :action => :list, :page => params[:page] || 1 end