From 75d924d4fa30695da19469ccc1a3c584e3fc707e Mon Sep 17 00:00:00 2001 From: squidfunk Date: Wed, 21 Feb 2018 23:08:20 +0100 Subject: [PATCH] Added Catalan translations --- CHANGELOG | 1 + README.md | 2 +- docs/getting-started.md | 13 +++++---- docs/index.md | 2 +- docs/release-notes.md | 8 ++++++ material/partials/language/ca.html | 19 ++++++++++++++ src/partials/language/ca.html | 42 ++++++++++++++++++++++++++++++ 7 files changed, 80 insertions(+), 7 deletions(-) create mode 100644 material/partials/language/ca.html create mode 100644 src/partials/language/ca.html diff --git a/CHANGELOG b/CHANGELOG index c94786647..17156c55a 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,5 +1,6 @@ mkdocs-material-2.6.4 (2018-02-21) + * Added Catalan translations * Fixed incorrect margins for buttons in Firefox and Safari * Replaced package manager yarn with npm 5.6 * Reverted GitHub stars rounding method diff --git a/README.md b/README.md index e2e364c8c..df6a6b2b1 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 22 + designed to serve your project documentation in a user-friendly way in 23 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 8d2b4a198..c56be3ea8 100644 --- a/docs/getting-started.md +++ b/docs/getting-started.md @@ -313,33 +313,36 @@ translations for all template variables and labels in the following languages: ar / Arabic + ca / Catalan da / Danish nl / Dutch - en / English + en / English fr / French de / German hu / Hungarian - it / Italian + it / Italian ja / Japanese kr / Korean no / Norwegian - fa / Persian + fa / Persian pl / Polish pt / Portugese ru / Russian - es / Spanish + es / Spanish sv / Swedish tr / Turkish uk / Ukrainian - vi / Vietnamese + + + vi / Vietnamese diff --git a/docs/index.md b/docs/index.md index 6a4fbb367..33473571e 100644 --- a/docs/index.md +++ b/docs/index.md @@ -34,7 +34,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 22 + designed to serve your project documentation in a user-friendly way in 23 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 34f15d5ff..ea33816fb 100644 --- a/docs/release-notes.md +++ b/docs/release-notes.md @@ -37,6 +37,14 @@ pip show mkdocs-material ## Changelog +### 2.6.4 _ February 21, 2018 + +* Added Catalan translations +* Fixed incorrect margins for buttons in Firefox and Safari +* Replaced package manager `yarn` with `npm 5.6` +* Reverted GitHub stars rounding method +* Removed `--dev-addr` flag from `Dockerfile` for Windows compatibility + ### 2.6.3 _ February 18, 2018 * Added Vietnamese translations diff --git a/material/partials/language/ca.html b/material/partials/language/ca.html new file mode 100644 index 000000000..aa7bccb9e --- /dev/null +++ b/material/partials/language/ca.html @@ -0,0 +1,19 @@ +{% macro t(key) %}{{ { + "language": "ca", + "clipboard.copy": "Còpia al porta-retalls", + "clipboard.copied": "Copiat al porta-retalls", + "edit.link.title": "Edita aquesta pàgina", + "footer.previous": "Anterior", + "footer.next": "Següent", + "meta.comments": "Comentaris", + "meta.source": "Codi font", + "search.language": "", + "search.placeholder": "Cerca", + "search.result.placeholder": "Escriu per a començar a cercar", + "search.result.none": "Cap document coincideix", + "search.result.one": "1 document coincident", + "search.result.other": "# documents coincidents", + "skip.link.title": "Salta el contingut", + "source.link.title": "Ves al repositori", + "toc.title": "Taula de continguts" +}[key] }}{% endmacro %} diff --git a/src/partials/language/ca.html b/src/partials/language/ca.html new file mode 100644 index 000000000..92eb33e3b --- /dev/null +++ b/src/partials/language/ca.html @@ -0,0 +1,42 @@ + + + +{% macro t(key) %}{{ { + "language": "ca", + "clipboard.copy": "Còpia al porta-retalls", + "clipboard.copied": "Copiat al porta-retalls", + "edit.link.title": "Edita aquesta pàgina", + "footer.previous": "Anterior", + "footer.next": "Següent", + "meta.comments": "Comentaris", + "meta.source": "Codi font", + "search.language": "", + "search.placeholder": "Cerca", + "search.result.placeholder": "Escriu per a començar a cercar", + "search.result.none": "Cap document coincideix", + "search.result.one": "1 document coincident", + "search.result.other": "# documents coincidents", + "skip.link.title": "Salta el contingut", + "source.link.title": "Ves al repositori", + "toc.title": "Taula de continguts" +}[key] }}{% endmacro %}