mirror of https://github.com/zulip/zulip.git
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:
parent
9dcc2781ac
commit
791953963b
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue