mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
Added German translation for skip link
This commit is contained in:
parent
9c59f5ebe0
commit
b6fc85f68a
@ -1,3 +1,9 @@
|
||||
mkdocs-material-2.6.0 (2017-xx-xx)
|
||||
|
||||
* Added permalink to main headline
|
||||
* Added English as a fallback for missing translations
|
||||
* Improved accessibility with skip-to-content link
|
||||
|
||||
mkdocs-material-2.5.0 (2017-01-13)
|
||||
|
||||
* Added support for right-to-left languages
|
||||
|
@ -1,4 +1,4 @@
|
||||
hero: Yes, this is set via Metadata
|
||||
hero: Metadata enables hero teaser texts
|
||||
path: tree/master/docs/extensions
|
||||
source: metadata.md
|
||||
|
||||
@ -46,7 +46,7 @@ Material exposes a simple text-only page-local hero via Metadata, as you can
|
||||
see on the current page when you scroll to the top. It's as simple as:
|
||||
|
||||
``` markdown
|
||||
hero: Yes, this is set via Metadata
|
||||
hero: Metadata enables hero teaser texts
|
||||
```
|
||||
|
||||
### Overriding the title
|
||||
|
@ -1,6 +1,6 @@
|
||||
# Material <small>for MkDocs</small>
|
||||
|
||||
## Beautiful project documentation
|
||||
## Create beautiful project documentation
|
||||
|
||||
Material is a theme for [MkDocs][1], an excellent static site generator geared
|
||||
towards project documentation. It is built using Google's [Material Design][2]
|
||||
|
@ -1,4 +1,5 @@
|
||||
{% import "partials/language/" + config.theme.language + ".html" as lang %}
|
||||
{% import "partials/language/en.html" as oops %}
|
||||
{% macro t(key) %}{{ {
|
||||
"search.language": (
|
||||
config.extra.search | default({})
|
||||
@ -6,4 +7,4 @@
|
||||
"search.tokenizer": (
|
||||
config.extra.search | default({})
|
||||
).tokenizer | default("", true),
|
||||
}[key] or lang.t(key) }}{% endmacro %}
|
||||
}[key] or lang.t(key) or oops.t(key) }}{% endmacro %}
|
||||
|
@ -13,6 +13,7 @@
|
||||
"search.result.one": "1 Suchergebnis",
|
||||
"search.result.other": "# Suchergebnisse",
|
||||
"search.tokenizer": "[\s\-]+",
|
||||
"skip.link.title": "Zum Inhalt",
|
||||
"source.link.title": "Quellcode",
|
||||
"toc.title": "Inhaltsverzeichnis"
|
||||
}[key] }}{% endmacro %}
|
||||
|
@ -23,6 +23,9 @@
|
||||
<!-- Import translations for given language -->
|
||||
{% import "partials/language/" + config.theme.language + ".html" as lang %}
|
||||
|
||||
<!-- Import fallback translations -->
|
||||
{% import "partials/language/en.html" as oops %}
|
||||
|
||||
<!-- Re-export translations -->
|
||||
{% macro t(key) %}{{ {
|
||||
"search.language": (
|
||||
@ -31,4 +34,4 @@
|
||||
"search.tokenizer": (
|
||||
config.extra.search | default({})
|
||||
).tokenizer | default("", true),
|
||||
}[key] or lang.t(key) }}{% endmacro %}
|
||||
}[key] or lang.t(key) or oops.t(key) }}{% endmacro %}
|
||||
|
@ -36,6 +36,7 @@
|
||||
"search.result.one": "1 Suchergebnis",
|
||||
"search.result.other": "# Suchergebnisse",
|
||||
"search.tokenizer": "[\s\-]+",
|
||||
"skip.link.title": "Zum Inhalt",
|
||||
"source.link.title": "Quellcode",
|
||||
"toc.title": "Inhaltsverzeichnis"
|
||||
}[key] }}{% endmacro %}
|
||||
|
Loading…
Reference in New Issue
Block a user