mirror of
https://github.com/zulip/zulip.git
synced 2025-10-26 01:24:02 +00:00
tools/check-capitalization: Make error messages more clear.
This commit is contained in:
committed by
Tim Abbott
parent
5023b69ca5
commit
c5ffef28bb
@@ -41,11 +41,11 @@ if __name__ == '__main__':
|
||||
backend_errors, backend_ignored = backend
|
||||
|
||||
if frontend_errors:
|
||||
print(WARNING + "Strings not capitalized in frontend:" + ENDC)
|
||||
print(WARNING + "Strings not properly capitalized in frontend:" + ENDC)
|
||||
print('\n'.join(frontend_errors))
|
||||
|
||||
if backend_errors:
|
||||
print(WARNING + "Strings not capitalized in backend:" + ENDC)
|
||||
print(WARNING + "Strings not properly capitalized in backend:" + ENDC)
|
||||
print('\n'.join(backend_errors))
|
||||
|
||||
if args.show_ignored:
|
||||
|
||||
Reference in New Issue
Block a user