From e9faaca013d18a6e7fc61042093c4e9881eca182 Mon Sep 17 00:00:00 2001 From: Jeff Walden Date: Thu, 23 Jun 2011 11:07:27 -0700 Subject: [PATCH] *Fewer* *occurrences*, not "less occurences". r=languagenazi --- config/check_source_count.py | 4 ++-- js/src/config/check_source_count.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/config/check_source_count.py b/config/check_source_count.py index 4a3cab07ab6..bdc48659f91 100755 --- a/config/check_source_count.py +++ b/config/check_source_count.py @@ -33,9 +33,9 @@ if count == expected_count: else: print "TEST-UNEXPECTED-FAIL | check_source_count.py %s | " % (search_string), if count < expected_count: - print "There are less occurences of /%s/ than expected. This may mean that you have removed some, but forgotten to account for it %s." % (search_string, error_location) + print "There are fewer occurrences of /%s/ than expected. This may mean that you have removed some, but forgotten to account for it %s." % (search_string, error_location) else: - print "There are more occurences of /%s/ than expected. We're trying to prevent an increase in the number of %s's, using %s if possible. If it in unavoidable, you should update the expected count %s." % (search_string, search_string, replacement, error_location) + print "There are more occurrences of /%s/ than expected. We're trying to prevent an increase in the number of %s's, using %s if possible. If it in unavoidable, you should update the expected count %s." % (search_string, search_string, replacement, error_location) print "Expected: %d; found: %d" % (expected_count, count) for k in sorted(details): diff --git a/js/src/config/check_source_count.py b/js/src/config/check_source_count.py index 4a3cab07ab6..bdc48659f91 100755 --- a/js/src/config/check_source_count.py +++ b/js/src/config/check_source_count.py @@ -33,9 +33,9 @@ if count == expected_count: else: print "TEST-UNEXPECTED-FAIL | check_source_count.py %s | " % (search_string), if count < expected_count: - print "There are less occurences of /%s/ than expected. This may mean that you have removed some, but forgotten to account for it %s." % (search_string, error_location) + print "There are fewer occurrences of /%s/ than expected. This may mean that you have removed some, but forgotten to account for it %s." % (search_string, error_location) else: - print "There are more occurences of /%s/ than expected. We're trying to prevent an increase in the number of %s's, using %s if possible. If it in unavoidable, you should update the expected count %s." % (search_string, search_string, replacement, error_location) + print "There are more occurrences of /%s/ than expected. We're trying to prevent an increase in the number of %s's, using %s if possible. If it in unavoidable, you should update the expected count %s." % (search_string, search_string, replacement, error_location) print "Expected: %d; found: %d" % (expected_count, count) for k in sorted(details):