mirror of https://github.com/zulip/zulip.git
tools: Improve output from check-capitalization.
Ideally, we'd print line numbers etc., but that's complicated because the `translation.json` format doesn't include them, and usually it's easy to find strings because you just added them anyway. But adding a bit more of a `git grep` hint should help. Fixes #14321.
This commit is contained in:
parent
a220a7105e
commit
d31f01bd0f
|
@ -68,7 +68,10 @@ if __name__ == "__main__":
|
|||
docs_url = (
|
||||
"https://zulip.readthedocs.io/en/latest/translating/translating.html#capitalization"
|
||||
)
|
||||
print(WARNING + "See " + docs_url + ENDC)
|
||||
print()
|
||||
print(WARNING + "You can usually find strings using `git grep 'String to find'`" + ENDC)
|
||||
print(WARNING + "See also " + docs_url + ENDC)
|
||||
print()
|
||||
print(FAIL + "Failed!" + ENDC)
|
||||
sys.exit(1)
|
||||
else:
|
||||
|
|
Loading…
Reference in New Issue