From 6b39f58bac93d1ad7f9ad26dfbb73d7d528bbf68 Mon Sep 17 00:00:00 2001 From: Manuel Kaufmann Date: Wed, 28 Aug 2024 13:58:28 +0200 Subject: [PATCH] Notifications: small typo (#11568) * Notifications: small typo All the builds are skipped, so I understand this should be plural. * Update tests to match the changes in the title --- readthedocs/api/v3/tests/responses/notifications-list.json | 2 +- .../api/v3/tests/responses/projects-notifications-detail.json | 2 +- .../api/v3/tests/responses/projects-notifications-list.json | 2 +- readthedocs/projects/notifications.py | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/readthedocs/api/v3/tests/responses/notifications-list.json b/readthedocs/api/v3/tests/responses/notifications-list.json index c0526ffe178..397d05205d7 100644 --- a/readthedocs/api/v3/tests/responses/notifications-list.json +++ b/readthedocs/api/v3/tests/responses/notifications-list.json @@ -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 contact support 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" diff --git a/readthedocs/api/v3/tests/responses/projects-notifications-detail.json b/readthedocs/api/v3/tests/responses/projects-notifications-detail.json index d151310630e..f99911a6f98 100644 --- a/readthedocs/api/v3/tests/responses/projects-notifications-detail.json +++ b/readthedocs/api/v3/tests/responses/projects-notifications-detail.json @@ -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 contact support 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" diff --git a/readthedocs/api/v3/tests/responses/projects-notifications-list.json b/readthedocs/api/v3/tests/responses/projects-notifications-list.json index 0ac410e8712..ccd9cbaa8ae 100644 --- a/readthedocs/api/v3/tests/responses/projects-notifications-list.json +++ b/readthedocs/api/v3/tests/responses/projects-notifications-list.json @@ -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 contact support 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" diff --git a/readthedocs/projects/notifications.py b/readthedocs/projects/notifications.py index 33cca7f3353..1257e9e72e9 100644 --- a/readthedocs/projects/notifications.py +++ b/readthedocs/projects/notifications.py @@ -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( """