From 5f360d27711f428e3da8dc33df916e26ee792965 Mon Sep 17 00:00:00 2001 From: squidfunk Date: Sat, 13 Aug 2022 09:19:16 +0200 Subject: [PATCH] Added Tagalog translations --- docs/schema/theme.json | 6 +++ docs/setup/changing-the-language.md | 1 + material/partials/languages/tl.html | 37 +++++++++++++++++++ src/partials/languages/tl.html | 57 +++++++++++++++++++++++++++++ 4 files changed, 101 insertions(+) create mode 100644 material/partials/languages/tl.html create mode 100644 src/partials/languages/tl.html diff --git a/docs/schema/theme.json b/docs/schema/theme.json index 7cf5832e2..f8762aab5 100644 --- a/docs/schema/theme.json +++ b/docs/schema/theme.json @@ -346,6 +346,12 @@ "th" ] }, + { + "title": "Site language: Tagalog", + "enum": [ + "tl" + ] + }, { "title": "Site language: Turkish", "enum": [ diff --git a/docs/setup/changing-the-language.md b/docs/setup/changing-the-language.md index 98b373210..b1eb0a67e 100644 --- a/docs/setup/changing-the-language.md +++ b/docs/setup/changing-the-language.md @@ -84,6 +84,7 @@ The following languages are supported: - `sr` – Serbian - `sv` – Swedish - `th` – Thai +- `tl` – Tagalog - `tr` – Turkish - `uk` – Ukrainian - `ur` – Urdu diff --git a/material/partials/languages/tl.html b/material/partials/languages/tl.html new file mode 100644 index 000000000..39e082270 --- /dev/null +++ b/material/partials/languages/tl.html @@ -0,0 +1,37 @@ +{#- + This file was automatically generated - do not edit +-#} +{% macro t(key) %}{{ { + "language": "tl", + "clipboard.copy": "Kopyahin sa clipboard", + "clipboard.copied": "Nakopya mula sa clipboard", + "edit.link.title": "I-edit ang pahinang ito", + "footer.previous": "Nakaraan", + "footer.next": "Susunod", + "footer.title": "Lagdang Pangwakas", + "header.title": "Pamuhatan", + "meta.comments": "Mga Komento", + "meta.source": "Pinagmulan", + "nav.title": "Nabigasyon", + "search.placeholder": "Hanapin", + "search.share": "Ibahagi", + "search.reset": "Tanggalin", + "search.result.initializer": "Sinisimulan ang paghahanap", + "search.result.placeholder": "Mag-type upang simulan ang paghahanap", + "search.result.none": "Walang nahanap na dokumento", + "search.result.one": "1 magkatugmang dokumento", + "search.result.other": "# magkatugmang mga dokumento", + "search.result.more.one": "1 meron sa pahina na ito", + "search.result.more.other": "# meron sa pahina na ito", + "search.result.term.missing": "Nawawala", + "search.title": "Hanapin", + "select.language.title": "Pumili ng lenguwahe", + "select.version.title": "Pumili ng bersyon", + "skip.link.title": "I-skip tungo sa nilalaman", + "source.link.title": "Pumunta sa repository", + "source.file.date.updated": "Huling update", + "source.file.date.created": "Nagawa", + "tabs.title": "Mga tala", + "toc.title": "Talaan ng nilalaman", + "top.title": "Bumalik sa taas" +}[key] }}{% endmacro %} diff --git a/src/partials/languages/tl.html b/src/partials/languages/tl.html new file mode 100644 index 000000000..7db3b9e5d --- /dev/null +++ b/src/partials/languages/tl.html @@ -0,0 +1,57 @@ + + + +{% macro t(key) %}{{ { + "language": "tl", + "clipboard.copy": "Kopyahin sa clipboard", + "clipboard.copied": "Nakopya mula sa clipboard", + "edit.link.title": "I-edit ang pahinang ito", + "footer.previous": "Nakaraan", + "footer.next": "Susunod", + "footer.title": "Lagdang Pangwakas", + "header.title": "Pamuhatan", + "meta.comments": "Mga Komento", + "meta.source": "Pinagmulan", + "nav.title": "Nabigasyon", + "search.placeholder": "Hanapin", + "search.share": "Ibahagi", + "search.reset": "Tanggalin", + "search.result.initializer": "Sinisimulan ang paghahanap", + "search.result.placeholder": "Mag-type upang simulan ang paghahanap", + "search.result.none": "Walang nahanap na dokumento", + "search.result.one": "1 magkatugmang dokumento", + "search.result.other": "# magkatugmang mga dokumento", + "search.result.more.one": "1 meron sa pahina na ito", + "search.result.more.other": "# meron sa pahina na ito", + "search.result.term.missing": "Nawawala", + "search.title": "Hanapin", + "select.language.title": "Pumili ng lenguwahe", + "select.version.title": "Pumili ng bersyon", + "skip.link.title": "I-skip tungo sa nilalaman", + "source.link.title": "Pumunta sa repository", + "source.file.date.updated": "Huling update", + "source.file.date.created": "Nagawa", + "tabs.title": "Mga tala", + "toc.title": "Talaan ng nilalaman", + "top.title": "Bumalik sa taas" +}[key] }}{% endmacro %}