1
0
mirror of https://github.com/squidfunk/mkdocs-material.git synced 2024-11-23 23:21:00 +01:00

Added Finnish translations

This commit is contained in:
squidfunk 2018-04-26 10:38:26 +02:00
parent e5069bb21f
commit 59a208cc64
8 changed files with 76 additions and 10 deletions

View File

@ -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

View File

@ -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;

View File

@ -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">

View File

@ -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;

View File

@ -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 %}

View File

@ -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 %}

View File

@ -1,6 +1,6 @@
{
"name": "mkdocs-material",
"version": "2.7.2",
"version": "2.7.3",
"description": "A Material Design theme for MkDocs",
"keywords": [
"mkdocs",

View File

@ -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 %}