From f3d2edac2449133bc3d8e5c56465695483d47c5f Mon Sep 17 00:00:00 2001 From: squidfunk Date: Sun, 29 Jan 2023 20:20:36 +0100 Subject: [PATCH] Fixed translation link --- material/.overrides/hooks/translations.py | 2 +- src/.overrides/hooks/translations.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/material/.overrides/hooks/translations.py b/material/.overrides/hooks/translations.py index c87d7950e..6ed4e68c9 100644 --- a/material/.overrides/hooks/translations.py +++ b/material/.overrides/hooks/translations.py @@ -86,7 +86,7 @@ def on_page_markdown(markdown: str, *, page: Page, config: MkDocsConfig, files): # Assemble GitHub issue URL link = urlparse(issue_url) link = link._replace(query = urlencode({ - "template": "translate.yml", + "template": "04-add-a-translation.yml", "title": f"Update {name} translations", "translations": "\n".join([ "{% macro t(key) %}{{ {", diff --git a/src/.overrides/hooks/translations.py b/src/.overrides/hooks/translations.py index c87d7950e..6ed4e68c9 100644 --- a/src/.overrides/hooks/translations.py +++ b/src/.overrides/hooks/translations.py @@ -86,7 +86,7 @@ def on_page_markdown(markdown: str, *, page: Page, config: MkDocsConfig, files): # Assemble GitHub issue URL link = urlparse(issue_url) link = link._replace(query = urlencode({ - "template": "translate.yml", + "template": "04-add-a-translation.yml", "title": f"Update {name} translations", "translations": "\n".join([ "{% macro t(key) %}{{ {",