From 330229fdbcdc652099972d49707b05a1efed3ede Mon Sep 17 00:00:00 2001 From: squidfunk Date: Tue, 23 Oct 2018 08:47:09 +0200 Subject: [PATCH] Added Croatian translations --- CHANGELOG | 1 + material/partials/language/hr.html | 22 +++++++++++++++ src/partials/language/hr.html | 45 ++++++++++++++++++++++++++++++ 3 files changed, 68 insertions(+) create mode 100644 material/partials/language/hr.html create mode 100644 src/partials/language/hr.html diff --git a/CHANGELOG b/CHANGELOG index 70c73a89a..ef35eb7f2 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,5 +1,6 @@ mkdocs-material-3.x.x (2018-xx-xx) + * Added Croatian translations * Fixed #899: Skip-to-content link invalid from 2nd level on * Fixed #902: Missing URL filter in footer for FontAwesome link diff --git a/material/partials/language/hr.html b/material/partials/language/hr.html new file mode 100644 index 000000000..8cdd42f98 --- /dev/null +++ b/material/partials/language/hr.html @@ -0,0 +1,22 @@ +{% macro t(key) %}{{ { + "language": "hr", + "clipboard.copy": "Kopirajte u međuspremnik", + "clipboard.copied": "Kopirano u međuspremnik", + "edit.link.title": "Uredi stranicu", + "footer.previous": "Prethodno", + "footer.next": "Sljedeće", + "meta.comments": "Komentari", + "meta.source": "Izvor", + "search.language": "", + "search.pipeline.stopwords": false, + "search.pipeline.trimmer": false, + "search.placeholder": "Pretraživanje", + "search.result.placeholder": "Unesite pojam pretraživanja", + "search.result.none": "Ništa nije pronađeno", + "search.result.one": "1 rezultat pretraživanja", + "search.result.other": "# rezultata pretraživanja", + "search.tokenizer": "[\s\-]+", + "skip.link.title": "Preskočite na sadržaj", + "source.link.title": "Idite u repozitorij", + "toc.title": "Sadržaj" +}[key] }}{% endmacro %} diff --git a/src/partials/language/hr.html b/src/partials/language/hr.html new file mode 100644 index 000000000..e47ba5b91 --- /dev/null +++ b/src/partials/language/hr.html @@ -0,0 +1,45 @@ + + + +{% macro t(key) %}{{ { + "language": "hr", + "clipboard.copy": "Kopirajte u međuspremnik", + "clipboard.copied": "Kopirano u međuspremnik", + "edit.link.title": "Uredi stranicu", + "footer.previous": "Prethodno", + "footer.next": "Sljedeće", + "meta.comments": "Komentari", + "meta.source": "Izvor", + "search.language": "", + "search.pipeline.stopwords": false, + "search.pipeline.trimmer": false, + "search.placeholder": "Pretraživanje", + "search.result.placeholder": "Unesite pojam pretraživanja", + "search.result.none": "Ništa nije pronađeno", + "search.result.one": "1 rezultat pretraživanja", + "search.result.other": "# rezultata pretraživanja", + "search.tokenizer": "[\s\-]+", + "skip.link.title": "Preskočite na sadržaj", + "source.link.title": "Idite u repozitorij", + "toc.title": "Sadržaj" +}[key] }}{% endmacro %}