mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-11-14 10:57:41 +01:00
1.3 KiB
1.3 KiB
name | about | title | labels | assignees |
---|---|---|---|---|
Translate | Help translate Material into more languages | New translation: {Insert language} | enhancement |
Instructions
- Check, if your language is already available: here
- If it isn't, please translate the labels on the right:
{% 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.placeholder": "Type to start searching",
"search.result.none": "No matching documents",
"search.result.one": "1 matching document",
"search.result.other": "# matching documents",
"skip.link.title": "Skip to content",
"source.link.title": "Go to repository",
"source.revision.date": "Last update",
"tabs.title": "Tabs",
"toc.title": "Table of contents"
}[key] }}{% endmacro %}
Thanks!