Skip to content

Commit 372de4e

Browse files
authored
Unbreak strings to proper extraction for translation (#11389)
1 parent af5dd26 commit 372de4e

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

readthedocs/projects/forms.py

+2-5
Original file line numberDiff line numberDiff line change
@@ -409,8 +409,7 @@ def setup_external_builds_option(self):
409409
url = reverse("projects_integrations", args=[self.instance.slug])
410410
if not has_supported_integration:
411411
msg = _(
412-
"To build from pull requests you need a "
413-
f'GitHub or GitLab <a href="{url}">integration</a>.'
412+
f'To build from pull requests you need a GitHub or GitLab <a href="{url}">integration</a>.'
414413
)
415414
if has_supported_integration and not can_build_external_versions:
416415
# If there is only one integration, link directly to it.
@@ -420,9 +419,7 @@ def setup_external_builds_option(self):
420419
args=[self.instance.slug, integrations[0].pk],
421420
)
422421
msg = _(
423-
"To build from pull requests your repository's webhook "
424-
"needs to send pull request events. "
425-
f'Try to <a href="{url}">resync your integration</a>.'
422+
f'To build from pull requests your repository\'s webhook needs to send pull request events. Try to <a href="{url}">resync your integration</a>.'
426423
)
427424

428425
if msg:

0 commit comments

Comments
 (0)