check-capitalization: Include banned words in overall output.

This locks down the ban on use of "Realm" in translated strings in the
codebase.
This commit is contained in:
Tim Abbott 2018-03-16 16:55:19 -07:00
parent 9dcc2781ac
commit 791953963b
1 changed files with 1 additions and 1 deletions

View File

@ -63,7 +63,7 @@ if __name__ == '__main__':
print(WARNING + "Strings which were ignored: " + ENDC)
print('\n'.join(frontend_ignored + backend_ignored))
if frontend_errors or backend_errors:
if frontend_errors or backend_errors or banned_errors_back or banned_errors_front:
# Point the user to the documentation on what the policy is.
docs_url = "https://zulip.readthedocs.io/en/latest/translating/translating.html#capitalization"
print(WARNING + "See " + docs_url + ENDC)