From 59a208cc6454b3a89eb99eee99e39c6569a3edb6 Mon Sep 17 00:00:00 2001
From: squidfunk <martin.donath@squidfunk.com>
Date: Thu, 26 Apr 2018 10:38:26 +0200
Subject: [PATCH] Added Finnish translations

---
 CHANGELOG                          |  4 +++
 README.md                          |  2 +-
 docs/getting-started.md            | 13 ++++-----
 docs/index.md                      |  2 +-
 material/base.html                 |  2 +-
 material/partials/language/fi.html | 19 ++++++++++++++
 package.json                       |  2 +-
 src/partials/language/fi.html      | 42 ++++++++++++++++++++++++++++++
 8 files changed, 76 insertions(+), 10 deletions(-)
 create mode 100644 material/partials/language/fi.html
 create mode 100644 src/partials/language/fi.html

diff --git a/CHANGELOG b/CHANGELOG
index 74179514..122e6743 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 babd4ac3..080de363 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 2c1bd85f..d48c3cdf 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:
     </tr>
     <tr>
       <td><code>en</code> / English</td>
+      <td><code>fi</code> / Finnish</td>
       <td><code>fr</code> / French</td>
-      <td><code>fr</code> / Galician</td>
-      <td><code>de</code> / German</td>
+      <td><code>gl</code> / Galician</td>
     </tr>
     <tr>
+      <td><code>de</code> / German</td>
       <td><code>he</code> / Hebrew</td>
       <td><code>hu</code> / Hungarian</td>
       <td><code>it</code> / Italian</td>
-      <td><code>ja</code> / Japanese</td>
     </tr>
     <tr>
+      <td><code>ja</code> / Japanese</td>
       <td><code>kr</code> / Korean</td>
       <td><code>no</code> / Norwegian</td>
       <td><code>fa</code> / Persian</td>
-      <td><code>pl</code> / Polish</td>
     </tr>
     <tr>
+      <td><code>pl</code> / Polish</td>
       <td><code>pt</code> / Portugese</td>
       <td><code>ru</code> / Russian</td>
       <td><code>es</code> / Spanish</td>
-      <td><code>sv</code> / Swedish</td>
     </tr>
     <tr>
+      <td><code>sv</code> / Swedish</td>
       <td><code>tr</code> / Turkish</td>
       <td><code>uk</code> / Ukrainian</td>
-      <td colspan="2"><code>vi</code> / Vietnamese</td>
+      <td><code>vi</code> / Vietnamese</td>
     </tr>
     <tr>
       <td colspan="2">
diff --git a/docs/index.md b/docs/index.md
index a461791c..982ead1c 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 ec904794..7a236fc3 100644
--- a/material/base.html
+++ b/material/base.html
@@ -36,7 +36,7 @@
         <meta name="lang:{{ key }}" content="{{ lang.t(key) }}">
       {% endfor %}
       <link rel="shortcut icon" href="{{ base_url }}/{{ config.theme.favicon }}">
-      <meta name="generator" content="mkdocs-{{ mkdocs_version }}, mkdocs-material-2.7.2">
+      <meta name="generator" content="mkdocs-{{ mkdocs_version }}, mkdocs-material-2.7.3">
     {% 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 00000000..a5e0d6da
--- /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 ed23b674..0ed52a9a 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 00000000..a2ab3da2
--- /dev/null
+++ b/src/partials/language/fi.html
@@ -0,0 +1,42 @@
+<!--
+  Copyright (c) 2016-2018 Martin Donath <martin.donath@squidfunk.com>
+
+  Permission is hereby granted, free of charge, to any person obtaining a copy
+  of this software and associated documentation files (the "Software"), to
+  deal in the Software without restriction, including without limitation the
+  rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
+  sell copies of the Software, and to permit persons to whom the Software is
+  furnished to do so, subject to the following conditions:
+
+  The above copyright notice and this permission notice shall be included in
+  all copies or substantial portions of the Software.
+
+  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+  FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE
+  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+  FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
+  IN THE SOFTWARE.
+-->
+
+<!-- Translations: Finnish -->
+{% 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 %}
-- 
GitLab