From 0e8fa4795752d36e57f9aa388126ca25d8faf224 Mon Sep 17 00:00:00 2001 From: Manuel Kaufmann Date: Tue, 21 Jul 2020 14:19:22 +0200 Subject: [PATCH] Add the rendered URL in the issue creation --- scripts/create_issue.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/scripts/create_issue.py b/scripts/create_issue.py index 5a42043dc8..de781ab245 100644 --- a/scripts/create_issue.py +++ b/scripts/create_issue.py @@ -41,10 +41,14 @@ # https://pygithub.readthedocs.io/en/latest/github_objects/Repository.html#github.Repository.Repository.create_issue title = f'Translate `{pofilename}`' +urlfile = pofilename.replace('.po', '.html') issue = repo.create_issue( title=title, body=f'''This needs to reach 100% translated. +The rendered version of this file will be available at https://docs.python.org/es/3.8/{urlfile} once translated. +Meanwhile, the English version is shown. + Current stats for `{pofilename}`: - Fuzzy: {pofile.fuzzy_nb}