mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
Added Ukrainian translations
This commit is contained in:
parent
104f2b1c24
commit
3132cee3dd
@ -1,3 +1,7 @@
|
||||
mkdocs-material-2.5.3 (2017-01-25)
|
||||
|
||||
* Added Ukrainian translations
|
||||
|
||||
mkdocs-material-2.5.2 (2017-01-22)
|
||||
|
||||
* Added default search language mappings for all localizations
|
||||
|
@ -305,8 +305,8 @@ Material for MkDocs supports internationalization (i18n) and provides
|
||||
translations for all template variables and labels in English `en`, French `fr`,
|
||||
German `de`, Spanish `es`, Italian `it`, Danish `da`, Portugese `pt`,
|
||||
Polish `pl`, Norwegian `no`, Dutch `nl`, Swedish `sv`, Korean `kr`,
|
||||
Russian `ru`, Japanese `ja`, Chinese (Simplified) `zh` and Chinese (Traditional)
|
||||
`zh-Hant`. Specify the language with:
|
||||
Russian `ru`, Ukranian `uk`, Japanese `ja`, Chinese (Simplified) `zh` and
|
||||
Chinese (Traditional) `zh-Hant`. Specify the language with:
|
||||
|
||||
``` yaml
|
||||
theme:
|
||||
|
@ -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 17
|
||||
designed to serve your project documentation in a user-friendly way in 18
|
||||
languages with optimal readability.
|
||||
|
||||
* Easily customizable primary and accent color, fonts, favicon and logo;
|
||||
|
@ -12,7 +12,7 @@ To determine the currently installed version, use the following command:
|
||||
|
||||
``` sh
|
||||
pip show mkdocs-material | grep -E ^Version
|
||||
# Version 2.5.2
|
||||
# Version 2.5.3
|
||||
```
|
||||
|
||||
### Material 1.x to 2.x
|
||||
@ -38,6 +38,10 @@ pip show mkdocs-material | grep -E ^Version
|
||||
|
||||
## Changelog
|
||||
|
||||
### 2.5.3 <small>_ January 25, 2018</small>
|
||||
|
||||
* Added Ukrainian translations
|
||||
|
||||
### 2.5.2 <small>_ January 22, 2018</small>
|
||||
|
||||
* Added default search language mappings for all localizations
|
||||
|
@ -34,7 +34,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.5.2">
|
||||
<meta name="generator" content="mkdocs-{{ mkdocs_version }}, mkdocs-material-2.5.3">
|
||||
{% endblock %}
|
||||
{% block htmltitle %}
|
||||
{% if page and page.meta and page.meta.title %}
|
||||
|
20
material/partials/language/uk.html
Normal file
20
material/partials/language/uk.html
Normal file
@ -0,0 +1,20 @@
|
||||
{% macro t(key) %}{{ {
|
||||
"language": "uk",
|
||||
"clipboard.copy": "Скопіювати в буфер",
|
||||
"clipboard.copied": "Скопійовано в буфер",
|
||||
"edit.link.title": "Редагувати сторінку",
|
||||
"footer.previous": "Назад",
|
||||
"footer.next": "Вперед",
|
||||
"meta.comments": "Коментарі",
|
||||
"meta.source": "Вихідний код",
|
||||
"search.language": "ru",
|
||||
"search.placeholder": "Пошук",
|
||||
"search.result.placeholder": "Розпочніть писати для пошуку",
|
||||
"search.result.none": "Збігів не знайдено",
|
||||
"search.result.one": "Знайдено 1 збіг",
|
||||
"search.result.other": "Знайдено # збігів",
|
||||
"search.tokenizer": "[\s\-]+",
|
||||
"skip.link.title": "Перейти до змісту",
|
||||
"source.link.title": "Перейти до репозиторію",
|
||||
"toc.title": "Зміст"
|
||||
}[key] }}{% endmacro %}
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "mkdocs-material",
|
||||
"version": "2.5.2",
|
||||
"version": "2.5.3",
|
||||
"description": "A Material Design theme for MkDocs",
|
||||
"keywords": [
|
||||
"mkdocs",
|
||||
|
43
src/partials/language/uk.html
Normal file
43
src/partials/language/uk.html
Normal file
@ -0,0 +1,43 @@
|
||||
<!--
|
||||
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.
|
||||
-->
|
||||
|
||||
<!-- Translation: Ukrainian -->
|
||||
{% macro t(key) %}{{ {
|
||||
"language": "uk",
|
||||
"clipboard.copy": "Скопіювати в буфер",
|
||||
"clipboard.copied": "Скопійовано в буфер",
|
||||
"edit.link.title": "Редагувати сторінку",
|
||||
"footer.previous": "Назад",
|
||||
"footer.next": "Вперед",
|
||||
"meta.comments": "Коментарі",
|
||||
"meta.source": "Вихідний код",
|
||||
"search.language": "ru",
|
||||
"search.placeholder": "Пошук",
|
||||
"search.result.placeholder": "Розпочніть писати для пошуку",
|
||||
"search.result.none": "Збігів не знайдено",
|
||||
"search.result.one": "Знайдено 1 збіг",
|
||||
"search.result.other": "Знайдено # збігів",
|
||||
"search.tokenizer": "[\s\-]+",
|
||||
"skip.link.title": "Перейти до змісту",
|
||||
"source.link.title": "Перейти до репозиторію",
|
||||
"toc.title": "Зміст"
|
||||
}[key] }}{% endmacro %}
|
Loading…
Reference in New Issue
Block a user