mirror of https://github.com/zulip/zulip.git
tools/check-capitalization: Make error messages more clear.
This commit is contained in:
parent
5023b69ca5
commit
c5ffef28bb
|
@ -41,11 +41,11 @@ if __name__ == '__main__':
|
||||||
backend_errors, backend_ignored = backend
|
backend_errors, backend_ignored = backend
|
||||||
|
|
||||||
if frontend_errors:
|
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))
|
print('\n'.join(frontend_errors))
|
||||||
|
|
||||||
if backend_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))
|
print('\n'.join(backend_errors))
|
||||||
|
|
||||||
if args.show_ignored:
|
if args.show_ignored:
|
||||||
|
|
Loading…
Reference in New Issue