mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
Fixed translation link
This commit is contained in:
parent
b1571cd25d
commit
f3d2edac24
@ -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) %}{{ {",
|
||||||
|
@ -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) %}{{ {",
|
||||||
|
Loading…
Reference in New Issue
Block a user