diff options
| author | Baptiste Fontaine | 2015-06-05 02:34:28 +0200 |
|---|---|---|
| committer | Baptiste Fontaine | 2015-06-05 19:32:23 +0200 |
| commit | d87f9d4359f4a6132504f3923cc4c71cdb86e8de (patch) | |
| tree | ec54de5fcfc4673397aaa9477488c1aa963d1651 /Library/Homebrew | |
| parent | df7dd903cd353a9f404da5d6321037c5cb4bd21d (diff) | |
| download | brew-d87f9d4359f4a6132504f3923cc4c71cdb86e8de.tar.bz2 | |
singular/plural phrasing in audit report
Closes Homebrew/homebrew#40395.
Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
Diffstat (limited to 'Library/Homebrew')
| -rw-r--r-- | Library/Homebrew/cmd/audit.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/audit.rb b/Library/Homebrew/cmd/audit.rb index a31528a0f..6ebe1af62 100644 --- a/Library/Homebrew/cmd/audit.rb +++ b/Library/Homebrew/cmd/audit.rb @@ -46,7 +46,9 @@ module Homebrew end unless problem_count.zero? - ofail "#{problem_count} problems in #{formula_count} formulae" + problems = "problem" + plural(problem_count) + formulae = "formula" + plural(formula_count, "e") + ofail "#{problem_count} #{problems} in #{formula_count} #{formulae}" end end end |
