Fixed translation link

This commit is contained in:
squidfunk 2023-01-29 20:20:36 +01:00
parent b1571cd25d
commit f3d2edac24
2 changed files with 2 additions and 2 deletions

View File

@ -86,7 +86,7 @@ def on_page_markdown(markdown: str, *, page: Page, config: MkDocsConfig, files):
# Assemble GitHub issue URL # Assemble GitHub issue URL
link = urlparse(issue_url) link = urlparse(issue_url)
link = link._replace(query = urlencode({ link = link._replace(query = urlencode({
"template": "translate.yml", "template": "04-add-a-translation.yml",
"title": f"Update {name} translations", "title": f"Update {name} translations",
"translations": "\n".join([ "translations": "\n".join([
"{% macro t(key) %}{{ {", "{% macro t(key) %}{{ {",

View File

@ -86,7 +86,7 @@ def on_page_markdown(markdown: str, *, page: Page, config: MkDocsConfig, files):
# Assemble GitHub issue URL # Assemble GitHub issue URL
link = urlparse(issue_url) link = urlparse(issue_url)
link = link._replace(query = urlencode({ link = link._replace(query = urlencode({
"template": "translate.yml", "template": "04-add-a-translation.yml",
"title": f"Update {name} translations", "title": f"Update {name} translations",
"translations": "\n".join([ "translations": "\n".join([
"{% macro t(key) %}{{ {", "{% macro t(key) %}{{ {",