Skip to content

Commit 093c678

Browse files
committed
Added Mongolian translations
1 parent 3cea992 commit 093c678

File tree

8 files changed

+88
-5
lines changed

8 files changed

+88
-5
lines changed

Diff for: docs/setup/changing-the-language.md

+1
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ The following languages are supported:
5353
- `ja` – Japanese
5454
- `ka` – Georgian
5555
- `kr` – Korean
56+
- `mn` – Mongolian
5657
- `my` – Burmese
5758
- `nl` – Dutch
5859
- `nn` – Norwegian (Nynorsk)

Diff for: material/assets/javascripts/bundle.70ffd0a1.min.js renamed to material/assets/javascripts/bundle.34eae1b6.min.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: material/assets/javascripts/bundle.70ffd0a1.min.js.map renamed to material/assets/javascripts/bundle.34eae1b6.min.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: material/base.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ <h1>{{ page.title | d(config.site_name, true)}}</h1>
223223
</script>
224224
{% endblock %}
225225
{% block scripts %}
226-
<script src="{{ 'assets/javascripts/bundle.70ffd0a1.min.js' | url }}"></script>
226+
<script src="{{ 'assets/javascripts/bundle.34eae1b6.min.js' | url }}"></script>
227227
{% for path in config["extra_javascript"] %}
228228
<script src="{{ path | url }}"></script>
229229
{% endfor %}

Diff for: material/partials/languages/mn.html

+31
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
{#-
2+
This file was automatically generated - do not edit
3+
-#}
4+
{% macro t(key) %}{{ {
5+
"language": "mn",
6+
"clipboard.copy": "Хуулах",
7+
"clipboard.copied": "Санах ойд хуулах",
8+
"edit.link.title": "Хуудас засварлах",
9+
"footer.previous": "Өмнөх",
10+
"footer.next": "Дараах",
11+
"footer.title": "Хөл",
12+
"header.title": "Толгой",
13+
"meta.comments": "Сэтгэгдэл",
14+
"meta.source": "Эх үүсвэр",
15+
"nav.title": "Чиглүүлэгч",
16+
"search.config.lang": "ru",
17+
"search.placeholder": "Хайлт",
18+
"search.reset": "Цэвэрлэх",
19+
"search.result.placeholder": "Хайлтын үгээ бичнэ үү",
20+
"search.result.none": "Таарц илэрсэнгүй",
21+
"search.result.one": "1 таарц илэрлээ",
22+
"search.result.other": "# Тохирох баримт бичиг",
23+
"search.result.more.one": "1 илүү хуудас байна",
24+
"search.result.more.other": "# илүү хуудас байна",
25+
"skip.link.title": "Агуулгыг алгасах",
26+
"source.link.title": "Хадгалах сан руу очих",
27+
"source.file.date.updated": "Сүүлийн шинэчлэлт",
28+
"source.file.date.created": "Үүсгэсэн",
29+
"tabs.title": "Табууд",
30+
"toc.title": "Агуулга"
31+
}[key] }}{% endmacro %}

Diff for: material/partials/languages/zh.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,6 @@
2323
"source.link.title": "前往 GitHub 仓库",
2424
"source.revision.date": "最后更新",
2525
"source.file.date.updated": "最后更新",
26-
"source.file.date.created": "已建立",
26+
"source.file.date.created": "创建日期",
2727
"toc.title": "目录"
2828
}[key] }}{% endmacro %}

Diff for: mkdocs.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ theme:
4949
search_index_only: true
5050

5151
# Default values, taken from mkdocs_theme.yml
52-
language: en
52+
language: mn
5353
features:
5454
# - navigation.instant
5555
- navigation.sections

Diff for: src/partials/languages/mn.html

+51
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
<!--
2+
Copyright (c) 2016-2021 Martin Donath <[email protected]>
3+
4+
Permission is hereby granted, free of charge, to any person obtaining a copy
5+
of this software and associated documentation files (the "Software"), to
6+
deal in the Software without restriction, including without limitation the
7+
rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
8+
sell copies of the Software, and to permit persons to whom the Software is
9+
furnished to do so, subject to the following conditions:
10+
11+
The above copyright notice and this permission notice shall be included in
12+
all copies or substantial portions of the Software.
13+
14+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16+
FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE
17+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
19+
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
20+
IN THE SOFTWARE.
21+
-->
22+
23+
<!-- Translations: Mongolian -->
24+
{% macro t(key) %}{{ {
25+
"language": "mn",
26+
"clipboard.copy": "Хуулах",
27+
"clipboard.copied": "Санах ойд хуулах",
28+
"edit.link.title": "Хуудас засварлах",
29+
"footer.previous": "Өмнөх",
30+
"footer.next": "Дараах",
31+
"footer.title": "Хөл",
32+
"header.title": "Толгой",
33+
"meta.comments": "Сэтгэгдэл",
34+
"meta.source": "Эх үүсвэр",
35+
"nav.title": "Чиглүүлэгч",
36+
"search.config.lang": "ru",
37+
"search.placeholder": "Хайлт",
38+
"search.reset": "Цэвэрлэх",
39+
"search.result.placeholder": "Хайлтын үгээ бичнэ үү",
40+
"search.result.none": "Таарц илэрсэнгүй",
41+
"search.result.one": "1 таарц илэрлээ",
42+
"search.result.other": "# Тохирох баримт бичиг",
43+
"search.result.more.one": "1 илүү хуудас байна",
44+
"search.result.more.other": "# илүү хуудас байна",
45+
"skip.link.title": "Агуулгыг алгасах",
46+
"source.link.title": "Хадгалах сан руу очих",
47+
"source.file.date.updated": "Сүүлийн шинэчлэлт",
48+
"source.file.date.created": "Үүсгэсэн",
49+
"tabs.title": "Табууд",
50+
"toc.title": "Агуулга"
51+
}[key] }}{% endmacro %}

0 commit comments

Comments
 (0)