Skip to content

Commit b33ae45

Browse files
authored
Merge pull request #604 from python/url-in-issue-creation
Add the rendered URL in the issue creation
2 parents 45ff06d + 0e8fa47 commit b33ae45

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

scripts/create_issue.py

+4
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,14 @@
4141

4242
# https://pygithub.readthedocs.io/en/latest/github_objects/Repository.html#github.Repository.Repository.create_issue
4343
title = f'Translate `{pofilename}`'
44+
urlfile = pofilename.replace('.po', '.html')
4445
issue = repo.create_issue(
4546
title=title,
4647
body=f'''This needs to reach 100% translated.
4748
49+
The rendered version of this file will be available at https://docs.python.org/es/3.8/{urlfile} once translated.
50+
Meanwhile, the English version is shown.
51+
4852
Current stats for `{pofilename}`:
4953
5054
- Fuzzy: {pofile.fuzzy_nb}

0 commit comments

Comments
 (0)