mkdocs-material/.github/ISSUE_TEMPLATE/04-add-a-translation.yml

78 lines
3.0 KiB
YAML
Raw Normal View History

2023-01-29 22:18:49 +03:00
name: Add a translation
2023-01-29 22:52:00 +03:00
description: Missing support for your language? Add a translation
title: Add translations for ...
2023-01-29 22:18:49 +03:00
labels:
- enhancement
body:
2023-01-29 22:52:00 +03:00
- type: markdown
2021-06-29 12:06:39 +03:00
attributes:
2023-01-29 22:54:24 +03:00
value: >-
2023-01-29 22:52:00 +03:00
**Important**: Before creating a new translation, please make sure that
Material for MkDocs does not already include support for your language.
2023-01-29 22:56:37 +03:00
Please check the list of all [available languages](https://squidfunk.github.io/mkdocs-material/setup/changing-the-language/#site-language)
and help us by adding missing translations.
2023-01-29 22:52:00 +03:00
2021-06-29 12:06:39 +03:00
- type: textarea
2023-01-28 21:05:12 +03:00
id: translations
2021-06-29 12:06:39 +03:00
attributes:
2023-01-28 21:05:12 +03:00
label: Translations
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",
2022-12-11 20:32:22 +03:00
"action.edit": "Edit this page",
"action.skip": "Skip to content",
"action.view": "View source of this page",
2022-11-12 17:17:52 +03:00
"announce.dismiss": "Don't show this again",
2021-06-29 12:06:39 +03:00
"clipboard.copy": "Copy to clipboard",
"clipboard.copied": "Copied to clipboard",
2022-11-12 17:17:52 +03:00
"consent.accept": "Accept",
"consent.manage": "Manage settings",
"consent.reject": "Reject",
"footer": "Footer",
2021-06-29 12:06:39 +03:00
"footer.next": "Next",
2022-11-12 17:17:52 +03:00
"footer.previous": "Previous",
"header": "Header",
2021-06-29 12:06:39 +03:00
"meta.comments": "Comments",
"meta.source": "Source",
2022-11-12 17:17:52 +03:00
"nav": "Navigation",
"search": "Search",
2021-06-29 12:06:39 +03:00
"search.placeholder": "Search",
2022-04-24 13:38:52 +03:00
"search.share": "Share",
2021-06-29 12:06:39 +03:00
"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",
2022-11-12 17:17:52 +03:00
"select.language": "Select language",
"select.version": "Select version",
2022-12-11 20:32:22 +03:00
"source": "Go to repository",
2021-06-29 12:06:39 +03:00
"source.file.date.created": "Created",
2022-11-12 17:17:52 +03:00
"source.file.date.updated": "Last update",
"tabs": "Tabs",
"toc": "Table of contents",
"top": "Back to top"
2021-06-29 12:06:39 +03:00
}[key] }}{% endmacro %}
2023-01-28 21:05:12 +03:00
render: Jinja
2021-06-29 12:06:39 +03:00
validations:
required: true
2023-01-29 22:54:24 +03:00
- type: checkboxes
id: checklist
attributes:
label: Before submitting
description: >-
Please ensure that your translation fulfills the following
requirements.
options:
- label: I've checked that the language is not included in the list of [available languages](https://squidfunk.github.io/mkdocs-material/setup/changing-the-language/#site-language).
required: true
- label: I assure that the translations are accurate to my best knowledge.
required: true