Skip to content

Commit

Permalink
Merge pull request ManageIQ#159 from mzazrivec/dont_expand_static_string
Browse files Browse the repository at this point in the history
No need to use placeholders for static strings
  • Loading branch information
Dan Clarizio authored Jan 16, 2017
2 parents ecac021 + 7a5d863 commit 87a5fa1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions app/controllers/ems_common.rb
Original file line number Diff line number Diff line change
Expand Up @@ -573,8 +573,7 @@ def recheck_authentication(id = nil)
def check_compliance(model)
emss = find_checked_items
if emss.empty?
add_flash(_("No %{model} were selected for %{task}") % {:model => ui_lookup(:models => model.to_s),
:task => "Compliance Check"}, :error)
add_flash(_("No %{model} were selected for Compliance Check") % {:model => ui_lookup(:models => model.to_s)}, :error)
end
process_emss(emss, "check_compliance")
@lastaction == "show_list" ? show_list : show
Expand Down

0 comments on commit 87a5fa1

Please sign in to comment.