diff --git a/CHANGELOG b/CHANGELOG index 74179514b..122e67431 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,7 @@ +mkdocs-material-2.7.3 (2018-04-26) + + * Added Finnish translations + mkdocs-material-2.7.2 (2018-04-09) * Fixed rendering issue for details on Edge diff --git a/README.md b/README.md index babd4ac3a..080de3634 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 25 + designed to serve your project documentation in a user-friendly way in 26 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 2c1bd85f5..d48c3cdfc 100644 --- a/docs/getting-started.md +++ b/docs/getting-started.md @@ -324,32 +324,33 @@ translations for all template variables and labels in the following languages: en / English + fi / Finnish fr / French - fr / Galician - de / German + gl / Galician + de / German he / Hebrew hu / Hungarian it / Italian - ja / Japanese + ja / Japanese kr / Korean no / Norwegian fa / Persian - pl / Polish + pl / Polish pt / Portugese ru / Russian es / Spanish - sv / Swedish + sv / Swedish tr / Turkish uk / Ukrainian - vi / Vietnamese + vi / Vietnamese diff --git a/docs/index.md b/docs/index.md index a461791c9..982ead1c2 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 25 + designed to serve your project documentation in a user-friendly way in 26 languages with optimal readability. * Easily customizable primary and accent color, fonts, favicon and logo; diff --git a/material/base.html b/material/base.html index ec904794c..7a236fc3b 100644 --- a/material/base.html +++ b/material/base.html @@ -36,7 +36,7 @@ {% endfor %} - + {% endblock %} {% block htmltitle %} {% if page and page.meta and page.meta.title %} diff --git a/material/partials/language/fi.html b/material/partials/language/fi.html new file mode 100644 index 000000000..a5e0d6dae --- /dev/null +++ b/material/partials/language/fi.html @@ -0,0 +1,19 @@ +{% macro t(key) %}{{ { + "language": "fi", + "clipboard.copy": "Kopioi leikepöydälle", + "clipboard.copied": "Kopioitu leikepöydälle", + "edit.link.title": "Muokkaa tätä sivua", + "footer.previous": "Edellinen", + "footer.next": "Seuraava", + "meta.comments": "Kommentit", + "meta.source": "Lähdekodi", + "search.language": "fi", + "search.placeholder": "Hae", + "search.result.placeholder": "Kirjoita aloittaaksesi haun", + "search.result.none": "Ei täsmääviä dokumentteja", + "search.result.one": "1 täsmäävä dokumentti", + "search.result.other": "# täsmäävää dokumenttia", + "skip.link.title": "Hyppää sisältöön", + "source.link.title": "Mene repositoryyn", + "toc.title": "Sisällysluettelo" +}[key] }}{% endmacro %} diff --git a/package.json b/package.json index ed23b674d..0ed52a9a2 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "mkdocs-material", - "version": "2.7.2", + "version": "2.7.3", "description": "A Material Design theme for MkDocs", "keywords": [ "mkdocs", diff --git a/src/partials/language/fi.html b/src/partials/language/fi.html new file mode 100644 index 000000000..a2ab3da28 --- /dev/null +++ b/src/partials/language/fi.html @@ -0,0 +1,42 @@ + + + +{% macro t(key) %}{{ { + "language": "fi", + "clipboard.copy": "Kopioi leikepöydälle", + "clipboard.copied": "Kopioitu leikepöydälle", + "edit.link.title": "Muokkaa tätä sivua", + "footer.previous": "Edellinen", + "footer.next": "Seuraava", + "meta.comments": "Kommentit", + "meta.source": "Lähdekodi", + "search.language": "fi", + "search.placeholder": "Hae", + "search.result.placeholder": "Kirjoita aloittaaksesi haun", + "search.result.none": "Ei täsmääviä dokumentteja", + "search.result.one": "1 täsmäävä dokumentti", + "search.result.other": "# täsmäävää dokumenttia", + "skip.link.title": "Hyppää sisältöön", + "source.link.title": "Mene repositoryyn", + "toc.title": "Sisällysluettelo" +}[key] }}{% endmacro %}