From 45d0679fee221f060a4fbe2f3bdd6391294275c2 Mon Sep 17 00:00:00 2001 From: Pranam <68323012+prnam@users.noreply.github.com> Date: Sat, 29 Apr 2023 12:30:19 +0000 Subject: [PATCH 1/6] #5441: adds translations for Sanskrit --- docs/setup/setting-up-site-search.md | 1 + material/.overrides/hooks/translations.py | 1 + material/partials/languages/sa.html | 58 +++++++++++++++++ src/.overrides/hooks/translations.py | 1 + src/partials/languages/sa.html | 78 +++++++++++++++++++++++ 5 files changed, 139 insertions(+) create mode 100644 material/partials/languages/sa.html create mode 100644 src/partials/languages/sa.html diff --git a/docs/setup/setting-up-site-search.md b/docs/setup/setting-up-site-search.md index 6e41e1bb7..d89ef269e 100644 --- a/docs/setup/setting-up-site-search.md +++ b/docs/setup/setting-up-site-search.md @@ -83,6 +83,7 @@ The following configuration options are supported: - `pt` – Portuguese - `ro` – Romanian - `ru` – Russian + - `sa` – Sanskrit - `sv` – Swedish - `ta` – Tamil - `th` – Thai diff --git a/material/.overrides/hooks/translations.py b/material/.overrides/hooks/translations.py index 6650db911..e77892dc8 100644 --- a/material/.overrides/hooks/translations.py +++ b/material/.overrides/hooks/translations.py @@ -167,6 +167,7 @@ countries = dict({ "pt": "pt", "ro": "ro", "ru": "ru", + "sa": "in", "sh": "rs", "si": "lk", "sk": "sk", diff --git a/material/partials/languages/sa.html b/material/partials/languages/sa.html new file mode 100644 index 000000000..4acec1804 --- /dev/null +++ b/material/partials/languages/sa.html @@ -0,0 +1,58 @@ +{#- + This file was automatically generated - do not edit +-#} +{% macro t(key) %}{{ { + "language": "sa", + "action.edit": "एतत् पृष्ठं सम्पादयतु", + "action.skip": "सामग्रीं त्यजन्तु", + "action.view": "अस्य पृष्ठस्य स्रोतः पश्यन्तु", + "announce.dismiss": "एतत् पुनः न दर्शयतु", + "blog.archive": "लेखागार", + "blog.categories": "श्रेणियाँ", + "blog.categories.in": "इत्यस्मिन्‌", + "blog.continue": "पठनं निरन्तरं कुर्वन्तु", + "blog.draft": "प्रारूप", + "blog.index": "अनुक्रमणिकां प्रति पुनः आगच्छन्तु", + "blog.meta": "परिदत्तांश", + "blog.references": "सन्दर्भाः", + "clipboard.copy": "एतत् प्रतिलिख्यताम्", + "clipboard.copied": "प्रतिलिपितः भवति", + "consent.accept": "अहं तत् स्वीकुर्वन् अस्मि", + "consent.manage": "वविन्यासं प्रबन्धयन्तु", + "consent.reject": "अहं तत् निराकरोमि", + "footer": "पादलेखः", + "footer.next": "अग्रिमः", + "footer.previous": "पूर्वकृत", + "header": "शीर्षकम्", + "meta.comments": "विचाराः", + "meta.source": "स्रोतः", + "nav": "मार्गदर्शनम्", + "readtime.one": "१ निमेषं पठितुं", + "readtime.other": "# निमेषं पठितुं", + "rss.created": "आरएसएस सेवा", + "rss.updated": "आरएसएस सेवातः नवीनतमं अद्यतनम्", + "search": "अन्वेषण", + "search.config.lang": "sa", + "search.config.pipeline": "stopWordFilter", + "search.config.separator": "[\\s\\-]+", + "search.placeholder": "अन्वेषण", + "search.share": "साझां कुर्वन्तु", + "search.reset": "तत् स्वच्छं कुर्वन्तु", + "search.result.initializer": "अन्वेषणस्य आरम्भः", + "search.result.placeholder": "अन्वेषणं आरभ्य लिखन्तु", + "search.result.none": "मेलयुक्ताः दस्तावेजाः नास्ति", + "search.result.one": "१ मेलकर्ता दस्तावेजः अस्ति", + "search.result.other": "# मेलनदस्तावेजाः सन्ति", + "search.result.more.one": "अस्मिन् पृष्ठे १ अधिकं अस्ति", + "search.result.more.other": "अस्मिन् पृष्ठे # अधिकाः सन्ति", + "search.result.term.missing": "असमेत", + "select.language": "भाषां चिनोतु", + "select.version": "संस्करणं चिनोतु", + "source": "भण्डारं गच्छन्तु", + "source.file.contributors": "अंशदाता", + "source.file.date.created": "ननिर्माणस्य तिथिः", + "source.file.date.updated": "परिवर्तनस्य तिथिः", + "tabs": "दस्तावेजस्य प्रमुखः", + "toc": "सामग्रीसारणी", + "top": "पुनः उपरिभागं प्रति गच्छन्तु" +}[key] }}{% endmacro %} diff --git a/src/.overrides/hooks/translations.py b/src/.overrides/hooks/translations.py index 6650db911..e77892dc8 100644 --- a/src/.overrides/hooks/translations.py +++ b/src/.overrides/hooks/translations.py @@ -167,6 +167,7 @@ countries = dict({ "pt": "pt", "ro": "ro", "ru": "ru", + "sa": "in", "sh": "rs", "si": "lk", "sk": "sk", diff --git a/src/partials/languages/sa.html b/src/partials/languages/sa.html new file mode 100644 index 000000000..c6038d610 --- /dev/null +++ b/src/partials/languages/sa.html @@ -0,0 +1,78 @@ + + + +{% macro t(key) %}{{ { + "language": "sa", + "action.edit": "एतत् पृष्ठं सम्पादयतु", + "action.skip": "सामग्रीं त्यजन्तु", + "action.view": "अस्य पृष्ठस्य स्रोतः पश्यन्तु", + "announce.dismiss": "एतत् पुनः न दर्शयतु", + "blog.archive": "लेखागार", + "blog.categories": "श्रेणियाँ", + "blog.categories.in": "इत्यस्मिन्‌", + "blog.continue": "पठनं निरन्तरं कुर्वन्तु", + "blog.draft": "प्रारूप", + "blog.index": "अनुक्रमणिकां प्रति पुनः आगच्छन्तु", + "blog.meta": "परिदत्तांश", + "blog.references": "सन्दर्भाः", + "clipboard.copy": "एतत् प्रतिलिख्यताम्", + "clipboard.copied": "प्रतिलिपितः भवति", + "consent.accept": "अहं तत् स्वीकुर्वन् अस्मि", + "consent.manage": "वविन्यासं प्रबन्धयन्तु", + "consent.reject": "अहं तत् निराकरोमि", + "footer": "पादलेखः", + "footer.next": "अग्रिमः", + "footer.previous": "पूर्वकृत", + "header": "शीर्षकम्", + "meta.comments": "विचाराः", + "meta.source": "स्रोतः", + "nav": "मार्गदर्शनम्", + "readtime.one": "१ निमेषं पठितुं", + "readtime.other": "# निमेषं पठितुं", + "rss.created": "आरएसएस सेवा", + "rss.updated": "आरएसएस सेवातः नवीनतमं अद्यतनम्", + "search": "अन्वेषण", + "search.config.lang": "sa", + "search.config.pipeline": "stopWordFilter", + "search.config.separator": "[\\s\\-]+", + "search.placeholder": "अन्वेषण", + "search.share": "साझां कुर्वन्तु", + "search.reset": "तत् स्वच्छं कुर्वन्तु", + "search.result.initializer": "अन्वेषणस्य आरम्भः", + "search.result.placeholder": "अन्वेषणं आरभ्य लिखन्तु", + "search.result.none": "मेलयुक्ताः दस्तावेजाः नास्ति", + "search.result.one": "१ मेलकर्ता दस्तावेजः अस्ति", + "search.result.other": "# मेलनदस्तावेजाः सन्ति", + "search.result.more.one": "अस्मिन् पृष्ठे १ अधिकं अस्ति", + "search.result.more.other": "अस्मिन् पृष्ठे # अधिकाः सन्ति", + "search.result.term.missing": "असमेत", + "select.language": "भाषां चिनोतु", + "select.version": "संस्करणं चिनोतु", + "source": "भण्डारं गच्छन्तु", + "source.file.contributors": "अंशदाता", + "source.file.date.created": "ननिर्माणस्य तिथिः", + "source.file.date.updated": "परिवर्तनस्य तिथिः", + "tabs": "दस्तावेजस्य प्रमुखः", + "toc": "सामग्रीसारणी", + "top": "पुनः उपरिभागं प्रति गच्छन्तु" +}[key] }}{% endmacro %} From 85551e658f1982623beb24b4bb71890857910f59 Mon Sep 17 00:00:00 2001 From: Pranam <68323012+prnam@users.noreply.github.com> Date: Sat, 29 Apr 2023 14:00:54 +0000 Subject: [PATCH 2/6] 5443: adds support for Kannada language --- docs/setup/setting-up-site-search.md | 1 + material/.overrides/hooks/translations.py | 1 + material/partials/languages/kn.html | 59 +++++++++++++++++ src/.overrides/hooks/translations.py | 1 + src/partials/languages/kn.html | 79 +++++++++++++++++++++++ 5 files changed, 141 insertions(+) create mode 100644 material/partials/languages/kn.html create mode 100644 src/partials/languages/kn.html diff --git a/docs/setup/setting-up-site-search.md b/docs/setup/setting-up-site-search.md index d89ef269e..c50af93e0 100644 --- a/docs/setup/setting-up-site-search.md +++ b/docs/setup/setting-up-site-search.md @@ -78,6 +78,7 @@ The following configuration options are supported: - `hy` – Armenian - `it` – Italian - `ja` – Japanese + - `kn` - Kannada - `ko` – Korean - `no` – Norwegian - `pt` – Portuguese diff --git a/material/.overrides/hooks/translations.py b/material/.overrides/hooks/translations.py index e77892dc8..b97d7d621 100644 --- a/material/.overrides/hooks/translations.py +++ b/material/.overrides/hooks/translations.py @@ -151,6 +151,7 @@ countries = dict({ "it": "it", "ja": "jp", "ka": "ge", + "kn": "in", "ko": "kr", "ku-IQ": "iq", "lt": "lt", diff --git a/material/partials/languages/kn.html b/material/partials/languages/kn.html new file mode 100644 index 000000000..d1b25c903 --- /dev/null +++ b/material/partials/languages/kn.html @@ -0,0 +1,59 @@ +{#- + This file was automatically generated - do not edit +-#} +{% macro t(key) %}{{ { + "language": "kn", + "action.edit": "ಈ ಪುಟವನ್ನು ತಿದ್ದುಪಡಿ ಮಾಡಿ", + "action.skip": "ವಿಷಯಕ್ಕೆ ತೆರಳಿ", + "action.view": "ಈ ಪುಟದ ಮೂಲವನ್ನು ವೀಕ್ಷಿಸಿ", + "announce.dismiss": "ಇದನ್ನು ಮತ್ತೊಮ್ಮೆ ತೋರಿಸಬೇಡಿ", + "blog.archive": "ಹಳೆಯ ಲೇಖನ", + "blog.categories": "ವರ್ಗಗಳು", + "blog.categories.in": "ರಲ್ಲಿ", + "blog.continue": "ಓದು ಮುಂದುವರೆಸಿ", + "blog.draft": "ಆರಂಭಿಕ ಬರವಣಿಗೆ", + "blog.index": "ಸೂಚ್ಯಂಕಕ್ಕೆ ಹಿಂತಿರುಗಿ", + "blog.meta": "ಮಾಹಿತಿಯ ಬಗ್ಗೆ ಮಾಹಿತಿ", + "blog.references": "ಸಂಬಂಧಿತ ಉಲ್ಲೇಖಗಳು", + "clipboard.copy": "ಇದನ್ನು ನಕಲಿಸಿ", + "clipboard.copied": "ಇದನ್ನು ನಕಲು ಮಾಡಿದೆ", + "consent.accept": "ನಾನು ಇದನ್ನು ಒಪ್ಪಿಕೊಳ್ಳುತ್ತೇನೆ", + "consent.manage": "ಸಂರಚನೆಯನ್ನು ನಿರ್ವಹಿಸಿ", + "consent.reject": "ನಾನು ಇದನ್ನು ತಿರಸ್ಕರಿಸುತ್ತೇನೆ", + "footer": "ಅಡಿಟಿಪ್ಪಣಿ", + "footer.next": "ಮುಂದಿನ ಸಂಚಿಕೆ", + "footer.previous": "ಹಿಂದಿನ ಸಂಚಿಕೆ", + "header": "ಮೇಲ್ಟಿಪ್ಪಣಿ", + "meta.comments": "ಪ್ರತಿಕ್ರಿಯೆಗಳು", + "meta.source": "ಮೂಲ", + "nav": "ಸಂಚರಣೆ", + "readtime.one": "ಓದಲು ೧ ನಿಮಿಷ ತೆಗೆದುಕೊಳ್ಳುತ್ತದೆ", + "readtime.other": "ಓದಲು # ನಿಮಿಷಗಳನ್ನು ತೆಗೆದುಕೊಳ್ಳುತ್ತದೆ", + "rss.created": "ಆರ್ಎಸ್ಎಸ್ ಸೇವೆ", + "rss.updated": "ಆರ್ಎಸ್ಎಸ್ ಸೇವೆಯಿಂದ ಇತ್ತೀಚಿನ ನವೀಕರಣ", + "search": "ಹುಡುಕಿ", + "search.config.lang": "kn", + "search.config.pipeline": "stopWordFilter", + "search.config.separator": "[\\s\\-]+", + "search.placeholder": "ಹುಡುಕಿ", + "search.share": "ಹಂಚಿಕೊಳ್ಳಿ", + "search.reset": "ಅಳಿಸು", + "search.result.initializer": "ಹುಡುಕಾಟವನ್ನು ಪ್ರಾರಂಭಿಸಲಾಗುತ್ತಿದೆ", + "search.result.placeholder": "ಬರೆಯುವ ಮೂಲಕ ಹುಡುಕಲು ಪ್ರಾರಂಭಿಸಿ", + "search.result.none": "ಹೊಂದಾಣಿಕೆಯಾಗುವ ದಾಖಲೆಗಳಿಲ್ಲ", + "search.result.one": "೧ ಹೊಂದಾಣಿಕೆಯ ದಾಖಲೆಯಿದೆ", + "search.result.other": "# ಹೊಂದಾಣಿಕೆಯ ದಾಖಲೆಗಳಿವೆ", + "search.result.more.one": "ಈ ಪುಟದಲ್ಲಿ ಇನ್ನೂ ಒಂದು ಕಂಡುಬಂದಿದೆ", + "search.result.more.other": "ಈ ಪುಟದಲ್ಲಿ ಇನ್ನೂ # ಇವೆ", + "search.result.term.missing": "ಕಾಣೆಯಾಗಿದೆ", + "select.language": "ಭಾಷೆಯನ್ನು ಆಯ್ಕೆಮಾಡಿ", + "select.version": "ಆವೃತ್ತಿಯನ್ನು ಆಯ್ಕೆಮಾಡಿ", + "source": "ಭಂಡಾರಕ್ಕೆ ಹೋಗಿ", + "source.file.contributors": "ಕೊಡುಗೆದಾರರು", + "source.file.date.created": "ರಚಿಸಿದ ದಿನಾಂಕ", + "source.file.date.updated": "ಕೊನೆಯ ನವೀಕರಣ ದಿನಾಂಕ", + "tabs": "ವಿವಿಧ ಕಿಟಕಿಗಳು", + "toc": "ವಿಷಯಗಳ ಪಟ್ಟಿ", + "top": "ಮೇಲಕ್ಕೆ ಹಿಂತಿರುಗಿ" + }[key] }}{% endmacro %} + \ No newline at end of file diff --git a/src/.overrides/hooks/translations.py b/src/.overrides/hooks/translations.py index e77892dc8..b97d7d621 100644 --- a/src/.overrides/hooks/translations.py +++ b/src/.overrides/hooks/translations.py @@ -151,6 +151,7 @@ countries = dict({ "it": "it", "ja": "jp", "ka": "ge", + "kn": "in", "ko": "kr", "ku-IQ": "iq", "lt": "lt", diff --git a/src/partials/languages/kn.html b/src/partials/languages/kn.html new file mode 100644 index 000000000..0dcb5c204 --- /dev/null +++ b/src/partials/languages/kn.html @@ -0,0 +1,79 @@ + + + +{% macro t(key) %}{{ { + "language": "kn", + "action.edit": "ಈ ಪುಟವನ್ನು ತಿದ್ದುಪಡಿ ಮಾಡಿ", + "action.skip": "ವಿಷಯಕ್ಕೆ ತೆರಳಿ", + "action.view": "ಈ ಪುಟದ ಮೂಲವನ್ನು ವೀಕ್ಷಿಸಿ", + "announce.dismiss": "ಇದನ್ನು ಮತ್ತೊಮ್ಮೆ ತೋರಿಸಬೇಡಿ", + "blog.archive": "ಹಳೆಯ ಲೇಖನ", + "blog.categories": "ವರ್ಗಗಳು", + "blog.categories.in": "ರಲ್ಲಿ", + "blog.continue": "ಓದು ಮುಂದುವರೆಸಿ", + "blog.draft": "ಆರಂಭಿಕ ಬರವಣಿಗೆ", + "blog.index": "ಸೂಚ್ಯಂಕಕ್ಕೆ ಹಿಂತಿರುಗಿ", + "blog.meta": "ಮಾಹಿತಿಯ ಬಗ್ಗೆ ಮಾಹಿತಿ", + "blog.references": "ಸಂಬಂಧಿತ ಉಲ್ಲೇಖಗಳು", + "clipboard.copy": "ಇದನ್ನು ನಕಲಿಸಿ", + "clipboard.copied": "ಇದನ್ನು ನಕಲು ಮಾಡಿದೆ", + "consent.accept": "ನಾನು ಇದನ್ನು ಒಪ್ಪಿಕೊಳ್ಳುತ್ತೇನೆ", + "consent.manage": "ಸಂರಚನೆಯನ್ನು ನಿರ್ವಹಿಸಿ", + "consent.reject": "ನಾನು ಇದನ್ನು ತಿರಸ್ಕರಿಸುತ್ತೇನೆ", + "footer": "ಅಡಿಟಿಪ್ಪಣಿ", + "footer.next": "ಮುಂದಿನ ಸಂಚಿಕೆ", + "footer.previous": "ಹಿಂದಿನ ಸಂಚಿಕೆ", + "header": "ಮೇಲ್ಟಿಪ್ಪಣಿ", + "meta.comments": "ಪ್ರತಿಕ್ರಿಯೆಗಳು", + "meta.source": "ಮೂಲ", + "nav": "ಸಂಚರಣೆ", + "readtime.one": "ಓದಲು ೧ ನಿಮಿಷ ತೆಗೆದುಕೊಳ್ಳುತ್ತದೆ", + "readtime.other": "ಓದಲು # ನಿಮಿಷಗಳನ್ನು ತೆಗೆದುಕೊಳ್ಳುತ್ತದೆ", + "rss.created": "ಆರ್ಎಸ್ಎಸ್ ಸೇವೆ", + "rss.updated": "ಆರ್ಎಸ್ಎಸ್ ಸೇವೆಯಿಂದ ಇತ್ತೀಚಿನ ನವೀಕರಣ", + "search": "ಹುಡುಕಿ", + "search.config.lang": "kn", + "search.config.pipeline": "stopWordFilter", + "search.config.separator": "[\\s\\-]+", + "search.placeholder": "ಹುಡುಕಿ", + "search.share": "ಹಂಚಿಕೊಳ್ಳಿ", + "search.reset": "ಅಳಿಸು", + "search.result.initializer": "ಹುಡುಕಾಟವನ್ನು ಪ್ರಾರಂಭಿಸಲಾಗುತ್ತಿದೆ", + "search.result.placeholder": "ಬರೆಯುವ ಮೂಲಕ ಹುಡುಕಲು ಪ್ರಾರಂಭಿಸಿ", + "search.result.none": "ಹೊಂದಾಣಿಕೆಯಾಗುವ ದಾಖಲೆಗಳಿಲ್ಲ", + "search.result.one": "೧ ಹೊಂದಾಣಿಕೆಯ ದಾಖಲೆಯಿದೆ", + "search.result.other": "# ಹೊಂದಾಣಿಕೆಯ ದಾಖಲೆಗಳಿವೆ", + "search.result.more.one": "ಈ ಪುಟದಲ್ಲಿ ಇನ್ನೂ ಒಂದು ಕಂಡುಬಂದಿದೆ", + "search.result.more.other": "ಈ ಪುಟದಲ್ಲಿ ಇನ್ನೂ # ಇವೆ", + "search.result.term.missing": "ಕಾಣೆಯಾಗಿದೆ", + "select.language": "ಭಾಷೆಯನ್ನು ಆಯ್ಕೆಮಾಡಿ", + "select.version": "ಆವೃತ್ತಿಯನ್ನು ಆಯ್ಕೆಮಾಡಿ", + "source": "ಭಂಡಾರಕ್ಕೆ ಹೋಗಿ", + "source.file.contributors": "ಕೊಡುಗೆದಾರರು", + "source.file.date.created": "ರಚಿಸಿದ ದಿನಾಂಕ", + "source.file.date.updated": "ಕೊನೆಯ ನವೀಕರಣ ದಿನಾಂಕ", + "tabs": "ವಿವಿಧ ಕಿಟಕಿಗಳು", + "toc": "ವಿಷಯಗಳ ಪಟ್ಟಿ", + "top": "ಮೇಲಕ್ಕೆ ಹಿಂತಿರುಗಿ" + }[key] }}{% endmacro %} + \ No newline at end of file From 889d51461a948a018ca9f94a2310bd27da2aa626 Mon Sep 17 00:00:00 2001 From: Pranam <68323012+prnam@users.noreply.github.com> Date: Sat, 29 Apr 2023 18:06:24 +0000 Subject: [PATCH 3/6] #5445: adds translations for Telugu languages --- docs/setup/setting-up-site-search.md | 1 + material/.overrides/hooks/translations.py | 1 + material/partials/languages/te.html | 58 +++++++++++++++++ src/.overrides/hooks/translations.py | 1 + src/partials/languages/te.html | 78 +++++++++++++++++++++++ 5 files changed, 139 insertions(+) create mode 100644 material/partials/languages/te.html create mode 100644 src/partials/languages/te.html diff --git a/docs/setup/setting-up-site-search.md b/docs/setup/setting-up-site-search.md index c50af93e0..d7a50dd32 100644 --- a/docs/setup/setting-up-site-search.md +++ b/docs/setup/setting-up-site-search.md @@ -87,6 +87,7 @@ The following configuration options are supported: - `sa` – Sanskrit - `sv` – Swedish - `ta` – Tamil + - `te` – Telugu - `th` – Thai - `tr` – Turkish - `vi` – Vietnamese diff --git a/material/.overrides/hooks/translations.py b/material/.overrides/hooks/translations.py index b97d7d621..663a01c1f 100644 --- a/material/.overrides/hooks/translations.py +++ b/material/.overrides/hooks/translations.py @@ -175,6 +175,7 @@ countries = dict({ "sl": "si", "sr": "rs", "sv": "se", + "te": "in", "th": "th", "tl": "ph", "tr": "tr", diff --git a/material/partials/languages/te.html b/material/partials/languages/te.html new file mode 100644 index 000000000..5c09d698b --- /dev/null +++ b/material/partials/languages/te.html @@ -0,0 +1,58 @@ +{#- + This file was automatically generated - do not edit +-#} +{% macro t(key) %}{{ { + "language": "te", + "action.edit": "ఈ పేజీలో దిద్దుబాట్లు చేయండి", + "action.skip": "సమాచారానికి వెళ్లండి", + "action.view": "నేను ఈ పేజీ యొక్క మూలాన్ని చూడాలనుకుంటున్నాను", + "announce.dismiss": "దీన్ని మళ్లీ చూపవద్దు", + "blog.archive": "పాత వ్యాసం", + "blog.categories": "వర్గాలు", + "blog.categories.in": "లో", + "blog.continue": "చదవడం కొనసాగించండి", + "blog.draft": "ప్రారంభ రచన", + "blog.index": "సూచికకు తిరిగి వెళ్ళు", + "blog.meta": "సమాచారం గురించి సమాచారం", + "blog.references": "సంబంధిత సూచనలు", + "clipboard.copy": "దీనిని అనుకరించు", + "clipboard.copied": "దీనిని అతికించు", + "consent.accept": "నేను దీనిని అంగీకరిస్తున్నాను", + "consent.manage": "ఆకృతీకరణను నిర్వహించండి", + "consent.reject": "నేను దీనిని తిరస్కరిస్తున్నాను", + "footer": "అడిటిప్పణి", + "footer.next": "తదుపరి భాగం", + "footer.previous": "మునుపటి భాగం", + "header": "శీర్షిక విభాగం", + "meta.comments": "అభిప్రాయాలు", + "meta.source": "మూలం", + "nav": "మార్గదర్శక పట్టీ", + "readtime.one": "చదవడానికి ఒక నిమిషం పడుతుంది", + "readtime.other": "చదవడానికి # నిమిషాలు పడుతుంది", + "rss.created": "ఆర్ఎస్ఎస్ సేవ", + "rss.updated": "ఆర్ఎస్ఎస్ సేవ నుండి తాజా నవీకరణ", + "search": "వెతకండి", + "search.config.lang": "te", + "search.config.pipeline": "stopWordFilter", + "search.config.separator": "[\\s\\-]+", + "search.placeholder": "వెతకండి", + "search.share": "పంచుకోండి", + "search.reset": "తుడిచివేయు", + "search.result.initializer": "శోధనను ప్రారంభిస్తోంది", + "search.result.placeholder": "రాయడం ద్వారా వెతకడం ప్రారంభించండి", + "search.result.none": "సరిపోలే పత్రాలు లేవు", + "search.result.one": "ఒక సరిపోలే పత్రం", + "search.result.other": "# సరిపోలే పత్రాలు", + "search.result.more.one": "ఈ పేజీలో మరొకటి", + "search.result.more.other": "ఈ పేజీలో ఇంకా # ఉన్నాయి", + "search.result.term.missing": "తప్పిపోయింది", + "select.language": "భాషను ఎంచుకోండి", + "select.version": "సంస్కరణను ఎంచుకోండి", + "source": "భండారానికి వెళ్ళండి", + "source.file.contributors": "సహకారులు", + "source.file.date.created": "సృష్టించబడింది", + "source.file.date.updated": "చివరి నవీకరణ", + "tabs": "వివిధ కిటికీలు", + "toc": "విషయ సూచిక", + "top": "పైకి తిరిగి వెళ్ళు" +}[key] }}{% endmacro %} diff --git a/src/.overrides/hooks/translations.py b/src/.overrides/hooks/translations.py index b97d7d621..663a01c1f 100644 --- a/src/.overrides/hooks/translations.py +++ b/src/.overrides/hooks/translations.py @@ -175,6 +175,7 @@ countries = dict({ "sl": "si", "sr": "rs", "sv": "se", + "te": "in", "th": "th", "tl": "ph", "tr": "tr", diff --git a/src/partials/languages/te.html b/src/partials/languages/te.html new file mode 100644 index 000000000..3f3c756a2 --- /dev/null +++ b/src/partials/languages/te.html @@ -0,0 +1,78 @@ + + + +{% macro t(key) %}{{ { + "language": "te", + "action.edit": "ఈ పేజీలో దిద్దుబాట్లు చేయండి", + "action.skip": "సమాచారానికి వెళ్లండి", + "action.view": "నేను ఈ పేజీ యొక్క మూలాన్ని చూడాలనుకుంటున్నాను", + "announce.dismiss": "దీన్ని మళ్లీ చూపవద్దు", + "blog.archive": "పాత వ్యాసం", + "blog.categories": "వర్గాలు", + "blog.categories.in": "లో", + "blog.continue": "చదవడం కొనసాగించండి", + "blog.draft": "ప్రారంభ రచన", + "blog.index": "సూచికకు తిరిగి వెళ్ళు", + "blog.meta": "సమాచారం గురించి సమాచారం", + "blog.references": "సంబంధిత సూచనలు", + "clipboard.copy": "దీనిని అనుకరించు", + "clipboard.copied": "దీనిని అతికించు", + "consent.accept": "నేను దీనిని అంగీకరిస్తున్నాను", + "consent.manage": "ఆకృతీకరణను నిర్వహించండి", + "consent.reject": "నేను దీనిని తిరస్కరిస్తున్నాను", + "footer": "అడిటిప్పణి", + "footer.next": "తదుపరి భాగం", + "footer.previous": "మునుపటి భాగం", + "header": "శీర్షిక విభాగం", + "meta.comments": "అభిప్రాయాలు", + "meta.source": "మూలం", + "nav": "మార్గదర్శక పట్టీ", + "readtime.one": "చదవడానికి ఒక నిమిషం పడుతుంది", + "readtime.other": "చదవడానికి # నిమిషాలు పడుతుంది", + "rss.created": "ఆర్ఎస్ఎస్ సేవ", + "rss.updated": "ఆర్ఎస్ఎస్ సేవ నుండి తాజా నవీకరణ", + "search": "వెతకండి", + "search.config.lang": "te", + "search.config.pipeline": "stopWordFilter", + "search.config.separator": "[\\s\\-]+", + "search.placeholder": "వెతకండి", + "search.share": "పంచుకోండి", + "search.reset": "తుడిచివేయు", + "search.result.initializer": "శోధనను ప్రారంభిస్తోంది", + "search.result.placeholder": "రాయడం ద్వారా వెతకడం ప్రారంభించండి", + "search.result.none": "సరిపోలే పత్రాలు లేవు", + "search.result.one": "ఒక సరిపోలే పత్రం", + "search.result.other": "# సరిపోలే పత్రాలు", + "search.result.more.one": "ఈ పేజీలో మరొకటి", + "search.result.more.other": "ఈ పేజీలో ఇంకా # ఉన్నాయి", + "search.result.term.missing": "తప్పిపోయింది", + "select.language": "భాషను ఎంచుకోండి", + "select.version": "సంస్కరణను ఎంచుకోండి", + "source": "భండారానికి వెళ్ళండి", + "source.file.contributors": "సహకారులు", + "source.file.date.created": "సృష్టించబడింది", + "source.file.date.updated": "చివరి నవీకరణ", + "tabs": "వివిధ కిటికీలు", + "toc": "విషయ సూచిక", + "top": "పైకి తిరిగి వెళ్ళు" +}[key] }}{% endmacro %} From 1819739928b0c5022a1f74c42f8e2500f8d85cb9 Mon Sep 17 00:00:00 2001 From: Pranam <68323012+prnam@users.noreply.github.com> Date: Sat, 29 Apr 2023 18:26:13 +0000 Subject: [PATCH 4/6] #5443 fix whitespace --- material/partials/languages/kn.html | 1 - src/partials/languages/kn.html | 1 - 2 files changed, 2 deletions(-) diff --git a/material/partials/languages/kn.html b/material/partials/languages/kn.html index d1b25c903..c45d3f423 100644 --- a/material/partials/languages/kn.html +++ b/material/partials/languages/kn.html @@ -56,4 +56,3 @@ "toc": "ವಿಷಯಗಳ ಪಟ್ಟಿ", "top": "ಮೇಲಕ್ಕೆ ಹಿಂತಿರುಗಿ" }[key] }}{% endmacro %} - \ No newline at end of file diff --git a/src/partials/languages/kn.html b/src/partials/languages/kn.html index 0dcb5c204..47bd875e6 100644 --- a/src/partials/languages/kn.html +++ b/src/partials/languages/kn.html @@ -76,4 +76,3 @@ "toc": "ವಿಷಯಗಳ ಪಟ್ಟಿ", "top": "ಮೇಲಕ್ಕೆ ಹಿಂತಿರುಗಿ" }[key] }}{% endmacro %} - \ No newline at end of file From 2ce3d7bc0d61859841a3cdf5ac209de344e402bf Mon Sep 17 00:00:00 2001 From: squidfunk Date: Tue, 2 May 2023 08:36:53 +0200 Subject: [PATCH 5/6] Fixed search for new Indian translations --- material/partials/languages/kn.html | 3 --- material/partials/languages/sa.html | 3 --- material/partials/languages/te.html | 3 --- src/partials/languages/kn.html | 3 --- src/partials/languages/sa.html | 3 --- src/partials/languages/te.html | 3 --- 6 files changed, 18 deletions(-) diff --git a/material/partials/languages/kn.html b/material/partials/languages/kn.html index c45d3f423..0c73cf423 100644 --- a/material/partials/languages/kn.html +++ b/material/partials/languages/kn.html @@ -32,9 +32,6 @@ "rss.created": "ಆರ್ಎಸ್ಎಸ್ ಸೇವೆ", "rss.updated": "ಆರ್ಎಸ್ಎಸ್ ಸೇವೆಯಿಂದ ಇತ್ತೀಚಿನ ನವೀಕರಣ", "search": "ಹುಡುಕಿ", - "search.config.lang": "kn", - "search.config.pipeline": "stopWordFilter", - "search.config.separator": "[\\s\\-]+", "search.placeholder": "ಹುಡುಕಿ", "search.share": "ಹಂಚಿಕೊಳ್ಳಿ", "search.reset": "ಅಳಿಸು", diff --git a/material/partials/languages/sa.html b/material/partials/languages/sa.html index 4acec1804..eff71cee2 100644 --- a/material/partials/languages/sa.html +++ b/material/partials/languages/sa.html @@ -32,9 +32,6 @@ "rss.created": "आरएसएस सेवा", "rss.updated": "आरएसएस सेवातः नवीनतमं अद्यतनम्", "search": "अन्वेषण", - "search.config.lang": "sa", - "search.config.pipeline": "stopWordFilter", - "search.config.separator": "[\\s\\-]+", "search.placeholder": "अन्वेषण", "search.share": "साझां कुर्वन्तु", "search.reset": "तत् स्वच्छं कुर्वन्तु", diff --git a/material/partials/languages/te.html b/material/partials/languages/te.html index 5c09d698b..2bd6036d6 100644 --- a/material/partials/languages/te.html +++ b/material/partials/languages/te.html @@ -32,9 +32,6 @@ "rss.created": "ఆర్ఎస్ఎస్ సేవ", "rss.updated": "ఆర్ఎస్ఎస్ సేవ నుండి తాజా నవీకరణ", "search": "వెతకండి", - "search.config.lang": "te", - "search.config.pipeline": "stopWordFilter", - "search.config.separator": "[\\s\\-]+", "search.placeholder": "వెతకండి", "search.share": "పంచుకోండి", "search.reset": "తుడిచివేయు", diff --git a/src/partials/languages/kn.html b/src/partials/languages/kn.html index 47bd875e6..ba5e43f5d 100644 --- a/src/partials/languages/kn.html +++ b/src/partials/languages/kn.html @@ -52,9 +52,6 @@ "rss.created": "ಆರ್ಎಸ್ಎಸ್ ಸೇವೆ", "rss.updated": "ಆರ್ಎಸ್ಎಸ್ ಸೇವೆಯಿಂದ ಇತ್ತೀಚಿನ ನವೀಕರಣ", "search": "ಹುಡುಕಿ", - "search.config.lang": "kn", - "search.config.pipeline": "stopWordFilter", - "search.config.separator": "[\\s\\-]+", "search.placeholder": "ಹುಡುಕಿ", "search.share": "ಹಂಚಿಕೊಳ್ಳಿ", "search.reset": "ಅಳಿಸು", diff --git a/src/partials/languages/sa.html b/src/partials/languages/sa.html index c6038d610..e3d06ac5e 100644 --- a/src/partials/languages/sa.html +++ b/src/partials/languages/sa.html @@ -52,9 +52,6 @@ "rss.created": "आरएसएस सेवा", "rss.updated": "आरएसएस सेवातः नवीनतमं अद्यतनम्", "search": "अन्वेषण", - "search.config.lang": "sa", - "search.config.pipeline": "stopWordFilter", - "search.config.separator": "[\\s\\-]+", "search.placeholder": "अन्वेषण", "search.share": "साझां कुर्वन्तु", "search.reset": "तत् स्वच्छं कुर्वन्तु", diff --git a/src/partials/languages/te.html b/src/partials/languages/te.html index 3f3c756a2..7529a47cc 100644 --- a/src/partials/languages/te.html +++ b/src/partials/languages/te.html @@ -52,9 +52,6 @@ "rss.created": "ఆర్ఎస్ఎస్ సేవ", "rss.updated": "ఆర్ఎస్ఎస్ సేవ నుండి తాజా నవీకరణ", "search": "వెతకండి", - "search.config.lang": "te", - "search.config.pipeline": "stopWordFilter", - "search.config.separator": "[\\s\\-]+", "search.placeholder": "వెతకండి", "search.share": "పంచుకోండి", "search.reset": "తుడిచివేయు", From 9bb5d77f7d390ca75490846ecd729cc2a438cbfe Mon Sep 17 00:00:00 2001 From: squidfunk Date: Tue, 2 May 2023 08:41:24 +0200 Subject: [PATCH 6/6] Updated JSON schema --- docs/schema/theme.json | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/docs/schema/theme.json b/docs/schema/theme.json index e1f37b42d..ec0123598 100644 --- a/docs/schema/theme.json +++ b/docs/schema/theme.json @@ -214,6 +214,12 @@ "ka" ] }, + { + "title": "Site language: Kannada", + "enum": [ + "kn" + ] + }, { "title": "Site language: Korean", "enum": [ @@ -304,6 +310,12 @@ "ru" ] }, + { + "title": "Site language: Sanskrit", + "enum": [ + "sa" + ] + }, { "title": "Site language: Serbo-Croatian", "enum": [ @@ -340,6 +352,12 @@ "sv" ] }, + { + "title": "Site language: Telugu", + "enum": [ + "te" + ] + }, { "title": "Site language: Thai", "enum": [