docs: Fix capitalization mistakes.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg
2021-05-09 22:02:14 -07:00
committed by Tim Abbott
parent 41e8872b0f
commit 544bbd5398
161 changed files with 610 additions and 611 deletions

View File

@@ -434,7 +434,7 @@ def get_pull_request_review_body(helper: Helper) -> str:
get_sender_name(payload),
"submitted",
payload["review"]["html_url"],
type="PR Review",
type="PR review",
title=title if include_title else None,
)
@@ -457,7 +457,7 @@ def get_pull_request_review_comment_body(helper: Helper) -> str:
action,
payload["comment"]["html_url"],
message=message,
type="PR Review Comment",
type="PR review comment",
title=title if include_title else None,
)
@@ -574,7 +574,7 @@ def get_subject_based_on_type(payload: Dict[str, Any], event: str) -> str:
elif event.startswith("issue"):
return TOPIC_WITH_PR_OR_ISSUE_INFO_TEMPLATE.format(
repo=get_repository_name(payload),
type="Issue",
type="issue",
id=payload["issue"]["number"],
title=payload["issue"]["title"],
)
@@ -595,7 +595,7 @@ def get_subject_based_on_type(payload: Dict[str, Any], event: str) -> str:
elif event == "gollum":
return TOPIC_WITH_BRANCH_TEMPLATE.format(
repo=get_repository_name(payload),
branch="Wiki Pages",
branch="wiki pages",
)
elif event == "ping":
if payload.get("repository") is None: