diff --git a/CHANGELOG b/CHANGELOG index 21af1cbf2..2588f96f8 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,10 @@ +mkdocs-material-4.4.2 (2019-08-27) + + * Added Afrikaans translations + * Fixed broken page title when h1 contained HTML tags + * Improved accessibility for IE users + * Removed unnecessary title attributes from links in navigation + mkdocs-material-4.4.1 (2019-08-22) * Added support for black as a primary color diff --git a/README.md b/README.md index 5e54ceeb5..0026f028f 100644 --- a/README.md +++ b/README.md @@ -42,7 +42,7 @@ theme: ## What to expect * Responsive design and fluid layout for all kinds of screens and devices, - designed to serve your project documentation in a user-friendly way in 37 + designed to serve your project documentation in a user-friendly way in 38 languages with optimal readability. * Easily customizable primary and accent color, fonts, favicon and logo; diff --git a/docs/getting-started.md b/docs/getting-started.md index dc691927f..7a01edf13 100644 --- a/docs/getting-started.md +++ b/docs/getting-started.md @@ -318,66 +318,65 @@ translations for all template variables and labels in the following languages: + af / Afrikaans ar / Arabic ca / Catalan cs / Czech - da / Danish + da / Danish nl / Dutch en / English fi / Finnish - fr / French + fr / French gl / Galician de / German gr / Greek - he / Hebrew + he / Hebrew hi / Hindi hr / Croatian hu / Hungarian - id / Indonesian + id / Indonesian it / Italian ja / Japanese kr / Korean - no / Norwegian + no / Norwegian nn / Norwegian (Nynorsk) fa / Persian - pl / Polish + pl / Polish pt / Portugese ru / Russian sr / Serbian - sh / Serbo-Croatian + sh / Serbo-Croatian sk / Slovak si / Slovenian es / Spanish - sv / Swedish + sv / Swedish tr / Turkish uk / Ukrainian vi / Vietnamese - zh / Chinese (Simplified) - - zh-Hant / Chinese (Traditional) - + zh / Chinese (Simplified) + zh-Hant / Chinese (Traditional) + + zh-TW / Chinese (Taiwanese) - - - + Submit a new language diff --git a/docs/index.md b/docs/index.md index 669108bb4..a0fba4466 100644 --- a/docs/index.md +++ b/docs/index.md @@ -29,7 +29,7 @@ theme: ## What to expect * Responsive design and fluid layout for all kinds of screens and devices, - designed to serve your project documentation in a user-friendly way in 37 + designed to serve your project documentation in a user-friendly way in 38 languages with optimal readability. * Easily customizable primary and accent color, fonts, favicon and logo; diff --git a/docs/release-notes.md b/docs/release-notes.md index 6c84149b1..45e45bd8a 100644 --- a/docs/release-notes.md +++ b/docs/release-notes.md @@ -64,7 +64,14 @@ pip show mkdocs-material ## Changelog -### 4.4.1 _ August 8, 2019 +### 4.4.2 _ August 27, 2019 + +* Added Afrikaans translations +* Fixed broken page title when `h1` contained HTML tags +* Improved accessibility for IE users +* Removed unnecessary `title` attributes from links in navigation + +### 4.4.1 _ August 22, 2019 * Added support for `black` as a primary color * Fixed broken footer bar when `h1` contained HTML tags diff --git a/material/base.html b/material/base.html index bc259111b..7bf9fd559 100644 --- a/material/base.html +++ b/material/base.html @@ -44,7 +44,7 @@ {% endfor %} - + {% endblock %} {% block htmltitle %} {% if page and page.meta and page.meta.title %} diff --git a/material/partials/language/af.html b/material/partials/language/af.html new file mode 100644 index 000000000..64aecad8b --- /dev/null +++ b/material/partials/language/af.html @@ -0,0 +1,22 @@ +{#- + This file was automatically generated - do not edit +-#} +{% macro t(key) %}{{ { + "language": "af", + "clipboard.copy": "Kopieer na knipbord", + "clipboard.copied": "gekopieer na knipbord", + "edit.link.title": "Wysig hierdie bladsy", + "footer.previous": "Vorige", + "footer.next": "Volgende", + "meta.comments": "Kommentaar", + "meta.source": "Bron", + "search.language": "nl", + "search.placeholder": "Soek", + "search.result.placeholder": "Tik om te begin soek", + "search.result.none": "Geen ooreenstemmende dokumente", + "search.result.one": "1 ooreenstemmende dokument", + "search.result.other": "# ooreenstemmende dokumente", + "skip.link.title": "Slaan oor na inhoud", + "source.link.title": "Slaan oor na inhoud", + "toc.title": "Inhoudsopgawe" +}[key] }}{% endmacro %} diff --git a/package.json b/package.json index 3092516e8..848368086 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "mkdocs-material", - "version": "4.4.1", + "version": "4.4.2", "description": "A Material Design theme for MkDocs", "keywords": [ "mkdocs", diff --git a/src/partials/language/af.html b/src/partials/language/af.html new file mode 100644 index 000000000..96f5dae32 --- /dev/null +++ b/src/partials/language/af.html @@ -0,0 +1,42 @@ + + + +{% macro t(key) %}{{ { + "language": "af", + "clipboard.copy": "Kopieer na knipbord", + "clipboard.copied": "gekopieer na knipbord", + "edit.link.title": "Wysig hierdie bladsy", + "footer.previous": "Vorige", + "footer.next": "Volgende", + "meta.comments": "Kommentaar", + "meta.source": "Bron", + "search.language": "nl", + "search.placeholder": "Soek", + "search.result.placeholder": "Tik om te begin soek", + "search.result.none": "Geen ooreenstemmende dokumente", + "search.result.one": "1 ooreenstemmende dokument", + "search.result.other": "# ooreenstemmende dokumente", + "skip.link.title": "Slaan oor na inhoud", + "source.link.title": "Slaan oor na inhoud", + "toc.title": "Inhoudsopgawe" +}[key] }}{% endmacro %}