Skip to content

Commit cffb403

Browse files
committed
Added Bahasa Malaysian translations
1 parent 24c8519 commit cffb403

File tree

4 files changed

+93
-2
lines changed

4 files changed

+93
-2
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
<p align="center">
4040
Create a branded static site from a set of Markdown files to host the
4141
documentation of your Open Source or commercial project – customizable,
42-
searchable, mobile-friendly, 40+ languages. Set up in 5 minutes.
42+
searchable, mobile-friendly, 50+ languages. Set up in 5 minutes.
4343
</p>
4444

4545
<p align="center">

docs/setup/changing-the-language.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ template: overrides/main.html
55
# Changing the language
66

77
Material for MkDocs supports internationalization (i18n) and provides
8-
translations for template variables and labels in 40+ languages. Additionally,
8+
translations for template variables and labels in 50+ languages. Additionally,
99
the site search can be configured to use a language-specific stemmer, if
1010
available.
1111

@@ -55,6 +55,7 @@ The following languages are supported:
5555
- `ka` – Georgian
5656
- `kr` – Korean
5757
- `mn` – Mongolian
58+
- `ms` – Bahasa Malaysia
5859
- `my` – Burmese
5960
- `nl` – Dutch
6061
- `nn` – Norwegian (Nynorsk)

material/partials/languages/ms.html

+35
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
{#-
2+
This file was automatically generated - do not edit
3+
-#}
4+
{% macro t(key) %}{{ {
5+
"language": "ms",
6+
"clipboard.copy": "Salin ke papan keratan",
7+
"clipboard.copied": "Disalin ke papan keratan",
8+
"edit.link.title": "Edit halaman ini",
9+
"footer.previous": "Sebelumnya",
10+
"footer.next" : "Seterusnya",
11+
"footer.title": "Pengaki",
12+
"header.title": "Pengepala",
13+
"meta.comments": "Komen",
14+
"meta.source": "Sumber",
15+
"nav.title": "Navigasi",
16+
"search.placeholder": "Cari",
17+
"search.reset": "Padam",
18+
"search.result.initializer": "Siap carian",
19+
"search.result.placeholder": "Taip untuk mula mencari",
20+
"search.result.none": "Tiada dokumen yang sepadan",
21+
"search.result.one": "1 dokumen yang sepadan",
22+
"search.result.other": "# dokumen yang sepadan",
23+
"search.result.more.one": "1 lagi di halaman ini",
24+
"search.result.more.other": "# lagi di halaman ini",
25+
"search.result.term.missing": "Hilang",
26+
"select.language.title": "Pilih bahasa",
27+
"select.version.title": "Pilih versi",
28+
"skip.link.title": "Langkau tajuk talian",
29+
"source.link.title": "tajuk talian asal",
30+
"source.file.date.updated": "Tarikh fil dikemas kini",
31+
"source.file.date.created": "tarikh fil asal dicipta",
32+
"tabs.title": "Tab",
33+
"toc.title": "Jadual kandungan",
34+
"top.title": "Kembali ke atas"
35+
}[key] }}{% endmacro %}

src/partials/languages/ms.html

+55
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
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: Bahasa Malaysia -->
24+
{% macro t(key) %}{{ {
25+
"language": "ms",
26+
"clipboard.copy": "Salin ke papan keratan",
27+
"clipboard.copied": "Disalin ke papan keratan",
28+
"edit.link.title": "Edit halaman ini",
29+
"footer.previous": "Sebelumnya",
30+
"footer.next" : "Seterusnya",
31+
"footer.title": "Pengaki",
32+
"header.title": "Pengepala",
33+
"meta.comments": "Komen",
34+
"meta.source": "Sumber",
35+
"nav.title": "Navigasi",
36+
"search.placeholder": "Cari",
37+
"search.reset": "Padam",
38+
"search.result.initializer": "Siap carian",
39+
"search.result.placeholder": "Taip untuk mula mencari",
40+
"search.result.none": "Tiada dokumen yang sepadan",
41+
"search.result.one": "1 dokumen yang sepadan",
42+
"search.result.other": "# dokumen yang sepadan",
43+
"search.result.more.one": "1 lagi di halaman ini",
44+
"search.result.more.other": "# lagi di halaman ini",
45+
"search.result.term.missing": "Hilang",
46+
"select.language.title": "Pilih bahasa",
47+
"select.version.title": "Pilih versi",
48+
"skip.link.title": "Langkau tajuk talian",
49+
"source.link.title": "tajuk talian asal",
50+
"source.file.date.updated": "Tarikh fil dikemas kini",
51+
"source.file.date.created": "tarikh fil asal dicipta",
52+
"tabs.title": "Tab",
53+
"toc.title": "Jadual kandungan",
54+
"top.title": "Kembali ke atas"
55+
}[key] }}{% endmacro %}

0 commit comments

Comments
 (0)