From b093490b0260d839995e47e5b711b72f7dc768df Mon Sep 17 00:00:00 2001
From: squidfunk <martin.donath@squidfunk.com>
Date: Thu, 26 Oct 2017 21:51:37 +0200
Subject: [PATCH] Prepare 1.12.2 release

---
 CHANGELOG                               |  4 ++++
 docs/getting-started.md                 |  7 ++++---
 docs/release-notes.md                   |  6 +++++-
 material/base.html                      |  2 +-
 material/partials/hero.html             |  2 ++
 material/partials/language/fr.html      | 18 ++++++++++++++++++
 material/partials/language/it.html      | 18 ++++++++++++++++++
 material/partials/language/no.html      | 18 ++++++++++++++++++
 material/partials/language/zh-Hant.html | 18 ++++++++++++++++++
 material/partials/language/zh.html      | 18 ++++++++++++++++++
 package.json                            |  2 +-
 11 files changed, 107 insertions(+), 6 deletions(-)
 create mode 100644 material/partials/hero.html
 create mode 100644 material/partials/language/fr.html
 create mode 100644 material/partials/language/it.html
 create mode 100644 material/partials/language/no.html
 create mode 100644 material/partials/language/zh-Hant.html
 create mode 100644 material/partials/language/zh.html

diff --git a/CHANGELOG b/CHANGELOG
index 04d4b514..12ff2671 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,3 +1,7 @@
+mkdocs-material-1.12.2 (2017-10-26)
+
+  * Added Italian, Norwegian, French and Chinese translations
+
 mkdocs-material-1.12.1 (2017-10-22)
 
   * Added Polish, Swedish and Spanish translations
diff --git a/docs/getting-started.md b/docs/getting-started.md
index 18d77521..744628af 100644
--- a/docs/getting-started.md
+++ b/docs/getting-started.md
@@ -379,9 +379,10 @@ automatically included.
 #### Translations
 
 Material for MkDocs supports internationalization (i18n) and provides
-translations for all template variables and labels in English `en`, Danish `da`,
-German `de`, Polish `pl`, Swedish `sv` and Spanish `es`. Specify the language
-with:
+translations for all template variables and labels in English `en`, French `fr`,
+German `de`, Spanish `es`, Italian `it`, Danish `da`, Polish `pl`, Norwegian
+`no`, Swedish `sv`, Chinese (Simplified) `zh` and Chinese (Traditional)
+`zh-Hant`. Specify the language with:
 
 ``` yaml
 extra:
diff --git a/docs/release-notes.md b/docs/release-notes.md
index c858d059..134ec9a3 100644
--- a/docs/release-notes.md
+++ b/docs/release-notes.md
@@ -12,11 +12,15 @@ To determine the currently installed version, use the following command:
 
 ``` sh
 pip show mkdocs-material | grep -E ^Version
-# Version 1.12.1
+# Version 1.12.2
 ```
 
 ## Changelog
 
+### 1.12.2 <small>_ October 26, 2017</small>
+
+* Added Italian, Norwegian, French and Chinese translations
+
 ### 1.12.1 <small>_ October 22, 2017</small>
 
 * Added Polish, Swedish and Spanish translations
diff --git a/material/base.html b/material/base.html
index 249dc20f..d46ef092 100644
--- a/material/base.html
+++ b/material/base.html
@@ -35,7 +35,7 @@
       {% else %}
         <link rel="shortcut icon" href="{{ base_url }}/assets/images/favicon.png">
       {% endif %}
-      <meta name="generator" content="mkdocs-{{ mkdocs_version }}, mkdocs-material-1.12.1">
+      <meta name="generator" content="mkdocs-{{ mkdocs_version }}, mkdocs-material-1.12.2">
     {% endblock %}
     {% block htmltitle %}
       {% if page and page.meta.title %}
diff --git a/material/partials/hero.html b/material/partials/hero.html
new file mode 100644
index 00000000..fab36444
--- /dev/null
+++ b/material/partials/hero.html
@@ -0,0 +1,2 @@
+<div class="md-hero">
+</div>
diff --git a/material/partials/language/fr.html b/material/partials/language/fr.html
new file mode 100644
index 00000000..87d7faa9
--- /dev/null
+++ b/material/partials/language/fr.html
@@ -0,0 +1,18 @@
+{% macro t(key) %}{{ {
+  "language": "fr",
+  "clipboard.copy": "Copier dans le presse-papier",
+  "clipboard.copied": "Copié dans le presse-papier",
+  "edit.link.title": "Editer cette page",
+  "footer.previous": "Précédent",
+  "footer.next": "Suivant",
+  "meta.comments": "Commentaires",
+  "meta.source": "Source",
+  "search.placeholder": "Rechercher",
+  "search.result.placeholder": "Taper pour démarrer la recherche",
+  "search.result.none": "Aucun document trouvé",
+  "search.result.one": "1 document trouvé",
+  "search.result.other": "# documents trouvés",
+  "search.tokenizer": "[\s\-]+",
+  "source.link.title": "Aller au dépôt",
+  "toc.title": "Table des matières"
+}[key] }}{% endmacro %}
diff --git a/material/partials/language/it.html b/material/partials/language/it.html
new file mode 100644
index 00000000..d9fe6fe7
--- /dev/null
+++ b/material/partials/language/it.html
@@ -0,0 +1,18 @@
+{% macro t(key) %}{{ {
+  "language": "it",
+  "clipboard.copy": "Copia",
+  "clipboard.copied": "Copiato",
+  "edit.link.title": "Modifica",
+  "footer.previous": "Precedente",
+  "footer.next": "Prossimo",
+  "meta.comments": "Commenti",
+  "meta.source": "Sorgente",
+  "search.placeholder": "Cerca",
+  "search.result.placeholder": "Scrivi per iniziare a cercare",
+  "search.result.none": "Nessun documento trovato",
+  "search.result.one": "1 documento trovato",
+  "search.result.other": "# documenti trovati",
+  "search.tokenizer": "[\s\-]+",
+  "source.link.title": "Apri repository",
+  "toc.title": "Indice"
+}[key] }}{% endmacro %}
diff --git a/material/partials/language/no.html b/material/partials/language/no.html
new file mode 100644
index 00000000..63484a97
--- /dev/null
+++ b/material/partials/language/no.html
@@ -0,0 +1,18 @@
+{% macro t(key) %}{{ {
+  "language": "no",
+  "clipboard.copy": "Kopier til utklippstavlen",
+  "clipboard.copied": "Kopiert til utklippstavlen",
+  "edit.link.title": "Rediger denne siden",
+  "footer.previous": "Forrige",
+  "footer.next": "Neste",
+  "meta.comments": "Kommentarer",
+  "meta.source": "Kilde",
+  "search.placeholder": "Søk",
+  "search.result.placeholder": "Skriv søkeord",
+  "search.result.none": "Ingen treff",
+  "search.result.one": "1 treff",
+  "search.result.other": "# treff",
+  "search.tokenizer": "[\s\-]+",
+  "source.link.title": "Gå til kilde",
+  "toc.title": "Innholdsfortegnelse"
+}[key] }}{% endmacro %}
diff --git a/material/partials/language/zh-Hant.html b/material/partials/language/zh-Hant.html
new file mode 100644
index 00000000..f13eca9b
--- /dev/null
+++ b/material/partials/language/zh-Hant.html
@@ -0,0 +1,18 @@
+{% macro t(key) %}{{ {
+  "language": "zh-Hant",
+  "clipboard.copy": "拷貝",
+  "clipboard.copied": "已拷貝",
+  "edit.link.title": "編輯此頁",
+  "footer.previous": "前進",
+  "footer.next": "後退",
+  "meta.comments": "評論",
+  "meta.source": "來源",
+  "search.placeholder": "搜尋",
+  "search.result.placeholder": "鍵入以開始檢索",
+  "search.result.none": "沒有找到符合條件的結果",
+  "search.result.one": "找到 1 个符合條件的結果",
+  "search.result.other": "# 個符合條件的結果",
+  "search.tokenizer": "[\,\。]+",
+  "source.link.title": "前往 Github 倉庫",
+  "toc.title": "目錄"
+}[key] }}{% endmacro %}
diff --git a/material/partials/language/zh.html b/material/partials/language/zh.html
new file mode 100644
index 00000000..84c77d43
--- /dev/null
+++ b/material/partials/language/zh.html
@@ -0,0 +1,18 @@
+{% macro t(key) %}{{ {
+  "language": "zh",
+  "clipboard.copy": "复制",
+  "clipboard.copied": "已复制",
+  "edit.link.title": "编辑此页",
+  "footer.previous": "后退",
+  "footer.next": "前进",
+  "meta.comments": "评论",
+  "meta.source": "来源",
+  "search.placeholder": "搜索",
+  "search.result.placeholder": "键入以开始搜索",
+  "search.result.none": "没有找到符合条件的结果",
+  "search.result.one": "找到 1 个符合条件的结果",
+  "search.result.other": "# 个符合条件的结果",
+  "search.tokenizer": "[\,\。]+",
+  "source.link.title": "前往 Github 仓库",
+  "toc.title": "目录"
+}[key] }}{% endmacro %}
diff --git a/package.json b/package.json
index f9d3ec77..a1a7df3e 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
 {
   "name": "mkdocs-material",
-  "version": "1.12.1",
+  "version": "1.12.2",
   "description": "A Material Design theme for MkDocs",
   "keywords": [
     "mkdocs",
-- 
GitLab