From cffb40343591f54e5d8243af87f841a70b010c40 Mon Sep 17 00:00:00 2001 From: squidfunk Date: Sun, 9 Jan 2022 14:20:09 +0100 Subject: [PATCH] Added Bahasa Malaysian translations --- README.md | 2 +- docs/setup/changing-the-language.md | 3 +- material/partials/languages/ms.html | 35 ++++++++++++++++++ src/partials/languages/ms.html | 55 +++++++++++++++++++++++++++++ 4 files changed, 93 insertions(+), 2 deletions(-) create mode 100644 material/partials/languages/ms.html create mode 100644 src/partials/languages/ms.html diff --git a/README.md b/README.md index 4f4334dea..533d781ce 100644 --- a/README.md +++ b/README.md @@ -39,7 +39,7 @@

Create a branded static site from a set of Markdown files to host the 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.

diff --git a/docs/setup/changing-the-language.md b/docs/setup/changing-the-language.md index 930163dae..da0469dc7 100644 --- a/docs/setup/changing-the-language.md +++ b/docs/setup/changing-the-language.md @@ -5,7 +5,7 @@ template: overrides/main.html # Changing the language 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 available. @@ -55,6 +55,7 @@ The following languages are supported: - `ka` – Georgian - `kr` – Korean - `mn` – Mongolian +- `ms` – Bahasa Malaysia - `my` – Burmese - `nl` – Dutch - `nn` – Norwegian (Nynorsk) diff --git a/material/partials/languages/ms.html b/material/partials/languages/ms.html new file mode 100644 index 000000000..2665b1673 --- /dev/null +++ b/material/partials/languages/ms.html @@ -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 %} diff --git a/src/partials/languages/ms.html b/src/partials/languages/ms.html new file mode 100644 index 000000000..222762e7b --- /dev/null +++ b/src/partials/languages/ms.html @@ -0,0 +1,55 @@ + + + +{% 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 %}