2021-06-29 11:39:59 +03:00
|
|
|
name: Translate
|
2021-06-29 12:06:39 +03:00
|
|
|
description: Add localization for a new language
|
|
|
|
title: 'New language: {replace with language name}'
|
2021-06-29 11:39:59 +03:00
|
|
|
body:
|
2021-06-29 12:06:39 +03:00
|
|
|
- type: checkboxes
|
|
|
|
attributes:
|
|
|
|
label: Contribution guidelines
|
|
|
|
description: Please read the contribution guidelines before proceeding.
|
|
|
|
options:
|
|
|
|
- label: I've read the [contribution guidelines](https://github.com/squidfunk/mkdocs-material/blob/master/CONTRIBUTING.md) and wholeheartedly agree
|
|
|
|
required: true
|
|
|
|
- type: checkboxes
|
|
|
|
attributes:
|
|
|
|
label: Language availability
|
2021-06-29 12:09:12 +03:00
|
|
|
description: Please ensure that the language you're adding isn't already available.
|
2021-06-29 12:06:39 +03:00
|
|
|
options:
|
|
|
|
- label: I've checked the [list of available languages](https://bit.ly/33vFDD0)
|
|
|
|
required: true
|
|
|
|
- type: textarea
|
|
|
|
attributes:
|
|
|
|
label: Translation
|
2021-06-29 12:09:12 +03:00
|
|
|
description: Please translate the labels on the right, e.g. "Copy to clipboard", etc.
|
2021-06-29 12:06:39 +03:00
|
|
|
value: |-
|
|
|
|
{% macro t(key) %}{{ {
|
|
|
|
"language": "en",
|
|
|
|
"direction": "ltr",
|
|
|
|
"clipboard.copy": "Copy to clipboard",
|
|
|
|
"clipboard.copied": "Copied to clipboard",
|
|
|
|
"edit.link.title": "Edit this page",
|
|
|
|
"footer.previous": "Previous",
|
|
|
|
"footer.next": "Next",
|
|
|
|
"footer.title": "Footer",
|
|
|
|
"header.title": "Header",
|
|
|
|
"meta.comments": "Comments",
|
|
|
|
"meta.source": "Source",
|
|
|
|
"nav.title": "Navigation",
|
|
|
|
"search.config.lang": "en",
|
|
|
|
"search.config.pipeline": "trimmer, stopWordFilter",
|
|
|
|
"search.config.separator": "[\s\-]+",
|
|
|
|
"search.placeholder": "Search",
|
|
|
|
"search.reset": "Clear",
|
|
|
|
"search.result.initializer": "Initializing search",
|
|
|
|
"search.result.placeholder": "Type to start searching",
|
|
|
|
"search.result.none": "No matching documents",
|
|
|
|
"search.result.one": "1 matching document",
|
|
|
|
"search.result.other": "# matching documents",
|
|
|
|
"search.result.more.one": "1 more on this page",
|
|
|
|
"search.result.more.other": "# more on this page",
|
|
|
|
"search.result.term.missing": "Missing",
|
|
|
|
"select.language.title": "Select language",
|
|
|
|
"select.version.title": "Select version",
|
|
|
|
"skip.link.title": "Skip to content",
|
|
|
|
"source.link.title": "Go to repository",
|
|
|
|
"source.file.date.updated": "Last update",
|
|
|
|
"source.file.date.created": "Created",
|
|
|
|
"tabs.title": "Tabs",
|
|
|
|
"toc.title": "Table of contents",
|
|
|
|
"top.title": "Back to top"
|
|
|
|
}[key] }}{% endmacro %}
|
|
|
|
render: jinja
|
|
|
|
validations:
|
|
|
|
required: true
|