Added Bahasa Malaysian translations

This commit is contained in:
squidfunk 2022-01-09 14:20:09 +01:00
parent 24c851948f
commit cffb403435
4 changed files with 93 additions and 2 deletions

View File

@ -39,7 +39,7 @@
<p align="center"> <p align="center">
Create a branded static site from a set of Markdown files to host the Create a branded static site from a set of Markdown files to host the
documentation of your Open Source or commercial project customizable, documentation of your Open Source or commercial project customizable,
searchable, mobile-friendly, 40+ languages. Set up in 5 minutes. searchable, mobile-friendly, 50+ languages. Set up in 5 minutes.
</p> </p>
<p align="center"> <p align="center">

View File

@ -5,7 +5,7 @@ template: overrides/main.html
# Changing the language # Changing the language
Material for MkDocs supports internationalization (i18n) and provides Material for MkDocs supports internationalization (i18n) and provides
translations for template variables and labels in 40+ languages. Additionally, translations for template variables and labels in 50+ languages. Additionally,
the site search can be configured to use a language-specific stemmer, if the site search can be configured to use a language-specific stemmer, if
available. available.
@ -55,6 +55,7 @@ The following languages are supported:
- `ka` Georgian - `ka` Georgian
- `kr` Korean - `kr` Korean
- `mn` Mongolian - `mn` Mongolian
- `ms` Bahasa Malaysia
- `my` Burmese - `my` Burmese
- `nl` Dutch - `nl` Dutch
- `nn` Norwegian (Nynorsk) - `nn` Norwegian (Nynorsk)

View File

@ -0,0 +1,35 @@
{#-
This file was automatically generated - do not edit
-#}
{% macro t(key) %}{{ {
"language": "ms",
"clipboard.copy": "Salin ke papan keratan",
"clipboard.copied": "Disalin ke papan keratan",
"edit.link.title": "Edit halaman ini",
"footer.previous": "Sebelumnya",
"footer.next" : "Seterusnya",
"footer.title": "Pengaki",
"header.title": "Pengepala",
"meta.comments": "Komen",
"meta.source": "Sumber",
"nav.title": "Navigasi",
"search.placeholder": "Cari",
"search.reset": "Padam",
"search.result.initializer": "Siap carian",
"search.result.placeholder": "Taip untuk mula mencari",
"search.result.none": "Tiada dokumen yang sepadan",
"search.result.one": "1 dokumen yang sepadan",
"search.result.other": "# dokumen yang sepadan",
"search.result.more.one": "1 lagi di halaman ini",
"search.result.more.other": "# lagi di halaman ini",
"search.result.term.missing": "Hilang",
"select.language.title": "Pilih bahasa",
"select.version.title": "Pilih versi",
"skip.link.title": "Langkau tajuk talian",
"source.link.title": "tajuk talian asal",
"source.file.date.updated": "Tarikh fil dikemas kini",
"source.file.date.created": "tarikh fil asal dicipta",
"tabs.title": "Tab",
"toc.title": "Jadual kandungan",
"top.title": "Kembali ke atas"
}[key] }}{% endmacro %}

View File

@ -0,0 +1,55 @@
<!--
Copyright (c) 2016-2021 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: Bahasa Malaysia -->
{% macro t(key) %}{{ {
"language": "ms",
"clipboard.copy": "Salin ke papan keratan",
"clipboard.copied": "Disalin ke papan keratan",
"edit.link.title": "Edit halaman ini",
"footer.previous": "Sebelumnya",
"footer.next" : "Seterusnya",
"footer.title": "Pengaki",
"header.title": "Pengepala",
"meta.comments": "Komen",
"meta.source": "Sumber",
"nav.title": "Navigasi",
"search.placeholder": "Cari",
"search.reset": "Padam",
"search.result.initializer": "Siap carian",
"search.result.placeholder": "Taip untuk mula mencari",
"search.result.none": "Tiada dokumen yang sepadan",
"search.result.one": "1 dokumen yang sepadan",
"search.result.other": "# dokumen yang sepadan",
"search.result.more.one": "1 lagi di halaman ini",
"search.result.more.other": "# lagi di halaman ini",
"search.result.term.missing": "Hilang",
"select.language.title": "Pilih bahasa",
"select.version.title": "Pilih versi",
"skip.link.title": "Langkau tajuk talian",
"source.link.title": "tajuk talian asal",
"source.file.date.updated": "Tarikh fil dikemas kini",
"source.file.date.created": "tarikh fil asal dicipta",
"tabs.title": "Tab",
"toc.title": "Jadual kandungan",
"top.title": "Kembali ke atas"
}[key] }}{% endmacro %}