mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
Updated translation template
This commit is contained in:
5
.github/ISSUE_TEMPLATE/translate.yml
vendored
5
.github/ISSUE_TEMPLATE/translate.yml
vendored
@@ -17,8 +17,9 @@ body:
|
|||||||
- label: I've checked the [list of available languages](https://bit.ly/33vFDD0)
|
- label: I've checked the [list of available languages](https://bit.ly/33vFDD0)
|
||||||
required: true
|
required: true
|
||||||
- type: textarea
|
- type: textarea
|
||||||
|
id: translations
|
||||||
attributes:
|
attributes:
|
||||||
label: Translation
|
label: Translations
|
||||||
description: Please translate the labels on the right, e.g. "Copy to clipboard", etc.
|
description: Please translate the labels on the right, e.g. "Copy to clipboard", etc.
|
||||||
value: |-
|
value: |-
|
||||||
{% macro t(key) %}{{ {
|
{% macro t(key) %}{{ {
|
||||||
@@ -61,6 +62,6 @@ body:
|
|||||||
"toc": "Table of contents",
|
"toc": "Table of contents",
|
||||||
"top": "Back to top"
|
"top": "Back to top"
|
||||||
}[key] }}{% endmacro %}
|
}[key] }}{% endmacro %}
|
||||||
render: jinja
|
render: Jinja
|
||||||
validations:
|
validations:
|
||||||
required: true
|
required: true
|
||||||
|
|||||||
Reference in New Issue
Block a user