From 791953963b8150599bd4a637a5095fd26ecc97b1 Mon Sep 17 00:00:00 2001 From: Tim Abbott Date: Fri, 16 Mar 2018 16:55:19 -0700 Subject: [PATCH] check-capitalization: Include banned words in overall output. This locks down the ban on use of "Realm" in translated strings in the codebase. --- tools/check-capitalization | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/check-capitalization b/tools/check-capitalization index cabc00db02..84486c307f 100755 --- a/tools/check-capitalization +++ b/tools/check-capitalization @@ -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)