Skip to content

Commit

Permalink
Notifications: small typo (#11568)
Browse files Browse the repository at this point in the history
* Notifications: small typo

All the builds are skipped, so I understand this should be plural.

* Update tests to match the changes in the title
  • Loading branch information
humitos authored Aug 28, 2024
1 parent 6aa2757 commit 6b39f58
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion readthedocs/api/v3/tests/responses/notifications-list.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"id": 2,
"message": {
"body": "Your project is currently disabled for abuse of the system.\nPlease make sure it isn't using unreasonable amounts of resources or triggering lots of builds in a short amount of time.\nPlease <a href=\"mailto:None\">contact support</a> to get your project re-enabled.",
"header": "Build skipped for this project",
"header": "Builds skipped for this project",
"icon_classes": "fas fa-circle-info",
"id": "project:invalid:skip-builds",
"type": "info"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"id": 2,
"message": {
"body": "Your project is currently disabled for abuse of the system.\nPlease make sure it isn't using unreasonable amounts of resources or triggering lots of builds in a short amount of time.\nPlease <a href=\"mailto:None\">contact support</a> to get your project re-enabled.",
"header": "Build skipped for this project",
"header": "Builds skipped for this project",
"icon_classes": "fas fa-circle-info",
"id": "project:invalid:skip-builds",
"type": "info"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"id": 2,
"message": {
"body": "Your project is currently disabled for abuse of the system.\nPlease make sure it isn't using unreasonable amounts of resources or triggering lots of builds in a short amount of time.\nPlease <a href=\"mailto:None\">contact support</a> to get your project re-enabled.",
"header": "Build skipped for this project",
"header": "Builds skipped for this project",
"icon_classes": "fas fa-circle-info",
"id": "project:invalid:skip-builds",
"type": "info"
Expand Down
2 changes: 1 addition & 1 deletion readthedocs/projects/notifications.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
messages = [
Message(
id=MESSAGE_PROJECT_SKIP_BUILDS,
header=_("Build skipped for this project"),
header=_("Builds skipped for this project"),
body=_(
textwrap.dedent(
"""
Expand Down

0 comments on commit 6b39f58

Please sign in to comment.