Skip to content

Commit 889d514

Browse files
author
Pranam
committed
#5445: adds translations for Telugu languages
1 parent 85551e6 commit 889d514

File tree

5 files changed

+139
-0
lines changed

5 files changed

+139
-0
lines changed

docs/setup/setting-up-site-search.md

+1
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@ The following configuration options are supported:
8787
- `sa` – Sanskrit
8888
- `sv` – Swedish
8989
- `ta` – Tamil
90+
- `te` – Telugu
9091
- `th` – Thai
9192
- `tr` – Turkish
9293
- `vi` – Vietnamese

material/.overrides/hooks/translations.py

+1
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,7 @@ def on_page_markdown(markdown: str, *, page: Page, config: MkDocsConfig, files):
175175
"sl": "si",
176176
"sr": "rs",
177177
"sv": "se",
178+
"te": "in",
178179
"th": "th",
179180
"tl": "ph",
180181
"tr": "tr",

material/partials/languages/te.html

+58
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
{#-
2+
This file was automatically generated - do not edit
3+
-#}
4+
{% macro t(key) %}{{ {
5+
"language": "te",
6+
"action.edit": "ఈ పేజీలో దిద్దుబాట్లు చేయండి",
7+
"action.skip": "సమాచారానికి వెళ్లండి",
8+
"action.view": "నేను ఈ పేజీ యొక్క మూలాన్ని చూడాలనుకుంటున్నాను",
9+
"announce.dismiss": "దీన్ని మళ్లీ చూపవద్దు",
10+
"blog.archive": "పాత వ్యాసం",
11+
"blog.categories": "వర్గాలు",
12+
"blog.categories.in": "లో",
13+
"blog.continue": "చదవడం కొనసాగించండి",
14+
"blog.draft": "ప్రారంభ రచన",
15+
"blog.index": "సూచికకు తిరిగి వెళ్ళు",
16+
"blog.meta": "సమాచారం గురించి సమాచారం",
17+
"blog.references": "సంబంధిత సూచనలు",
18+
"clipboard.copy": "దీనిని అనుకరించు",
19+
"clipboard.copied": "దీనిని అతికించు",
20+
"consent.accept": "నేను దీనిని అంగీకరిస్తున్నాను",
21+
"consent.manage": "ఆకృతీకరణను నిర్వహించండి",
22+
"consent.reject": "నేను దీనిని తిరస్కరిస్తున్నాను",
23+
"footer": "అడిటిప్పణి",
24+
"footer.next": "తదుపరి భాగం",
25+
"footer.previous": "మునుపటి భాగం",
26+
"header": "శీర్షిక విభాగం",
27+
"meta.comments": "అభిప్రాయాలు",
28+
"meta.source": "మూలం",
29+
"nav": "మార్గదర్శక పట్టీ",
30+
"readtime.one": "చదవడానికి ఒక నిమిషం పడుతుంది",
31+
"readtime.other": "చదవడానికి # నిమిషాలు పడుతుంది",
32+
"rss.created": "ఆర్ఎస్ఎస్ సేవ",
33+
"rss.updated": "ఆర్ఎస్ఎస్ సేవ నుండి తాజా నవీకరణ",
34+
"search": "వెతకండి",
35+
"search.config.lang": "te",
36+
"search.config.pipeline": "stopWordFilter",
37+
"search.config.separator": "[\\s\\-]+",
38+
"search.placeholder": "వెతకండి",
39+
"search.share": "పంచుకోండి",
40+
"search.reset": "తుడిచివేయు",
41+
"search.result.initializer": "శోధనను ప్రారంభిస్తోంది",
42+
"search.result.placeholder": "రాయడం ద్వారా వెతకడం ప్రారంభించండి",
43+
"search.result.none": "సరిపోలే పత్రాలు లేవు",
44+
"search.result.one": "ఒక సరిపోలే పత్రం",
45+
"search.result.other": "# సరిపోలే పత్రాలు",
46+
"search.result.more.one": "ఈ పేజీలో మరొకటి",
47+
"search.result.more.other": "ఈ పేజీలో ఇంకా # ఉన్నాయి",
48+
"search.result.term.missing": "తప్పిపోయింది",
49+
"select.language": "భాషను ఎంచుకోండి",
50+
"select.version": "సంస్కరణను ఎంచుకోండి",
51+
"source": "భండారానికి వెళ్ళండి",
52+
"source.file.contributors": "సహకారులు",
53+
"source.file.date.created": "సృష్టించబడింది",
54+
"source.file.date.updated": "చివరి నవీకరణ",
55+
"tabs": "వివిధ కిటికీలు",
56+
"toc": "విషయ సూచిక",
57+
"top": "పైకి తిరిగి వెళ్ళు"
58+
}[key] }}{% endmacro %}

src/.overrides/hooks/translations.py

+1
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,7 @@ def on_page_markdown(markdown: str, *, page: Page, config: MkDocsConfig, files):
175175
"sl": "si",
176176
"sr": "rs",
177177
"sv": "se",
178+
"te": "in",
178179
"th": "th",
179180
"tl": "ph",
180181
"tr": "tr",

src/partials/languages/te.html

+78
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,78 @@
1+
<!--
2+
Copyright (c) 2016-2023 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: Telugu -->
24+
{% macro t(key) %}{{ {
25+
"language": "te",
26+
"action.edit": "ఈ పేజీలో దిద్దుబాట్లు చేయండి",
27+
"action.skip": "సమాచారానికి వెళ్లండి",
28+
"action.view": "నేను ఈ పేజీ యొక్క మూలాన్ని చూడాలనుకుంటున్నాను",
29+
"announce.dismiss": "దీన్ని మళ్లీ చూపవద్దు",
30+
"blog.archive": "పాత వ్యాసం",
31+
"blog.categories": "వర్గాలు",
32+
"blog.categories.in": "లో",
33+
"blog.continue": "చదవడం కొనసాగించండి",
34+
"blog.draft": "ప్రారంభ రచన",
35+
"blog.index": "సూచికకు తిరిగి వెళ్ళు",
36+
"blog.meta": "సమాచారం గురించి సమాచారం",
37+
"blog.references": "సంబంధిత సూచనలు",
38+
"clipboard.copy": "దీనిని అనుకరించు",
39+
"clipboard.copied": "దీనిని అతికించు",
40+
"consent.accept": "నేను దీనిని అంగీకరిస్తున్నాను",
41+
"consent.manage": "ఆకృతీకరణను నిర్వహించండి",
42+
"consent.reject": "నేను దీనిని తిరస్కరిస్తున్నాను",
43+
"footer": "అడిటిప్పణి",
44+
"footer.next": "తదుపరి భాగం",
45+
"footer.previous": "మునుపటి భాగం",
46+
"header": "శీర్షిక విభాగం",
47+
"meta.comments": "అభిప్రాయాలు",
48+
"meta.source": "మూలం",
49+
"nav": "మార్గదర్శక పట్టీ",
50+
"readtime.one": "చదవడానికి ఒక నిమిషం పడుతుంది",
51+
"readtime.other": "చదవడానికి # నిమిషాలు పడుతుంది",
52+
"rss.created": "ఆర్ఎస్ఎస్ సేవ",
53+
"rss.updated": "ఆర్ఎస్ఎస్ సేవ నుండి తాజా నవీకరణ",
54+
"search": "వెతకండి",
55+
"search.config.lang": "te",
56+
"search.config.pipeline": "stopWordFilter",
57+
"search.config.separator": "[\\s\\-]+",
58+
"search.placeholder": "వెతకండి",
59+
"search.share": "పంచుకోండి",
60+
"search.reset": "తుడిచివేయు",
61+
"search.result.initializer": "శోధనను ప్రారంభిస్తోంది",
62+
"search.result.placeholder": "రాయడం ద్వారా వెతకడం ప్రారంభించండి",
63+
"search.result.none": "సరిపోలే పత్రాలు లేవు",
64+
"search.result.one": "ఒక సరిపోలే పత్రం",
65+
"search.result.other": "# సరిపోలే పత్రాలు",
66+
"search.result.more.one": "ఈ పేజీలో మరొకటి",
67+
"search.result.more.other": "ఈ పేజీలో ఇంకా # ఉన్నాయి",
68+
"search.result.term.missing": "తప్పిపోయింది",
69+
"select.language": "భాషను ఎంచుకోండి",
70+
"select.version": "సంస్కరణను ఎంచుకోండి",
71+
"source": "భండారానికి వెళ్ళండి",
72+
"source.file.contributors": "సహకారులు",
73+
"source.file.date.created": "సృష్టించబడింది",
74+
"source.file.date.updated": "చివరి నవీకరణ",
75+
"tabs": "వివిధ కిటికీలు",
76+
"toc": "విషయ సూచిక",
77+
"top": "పైకి తిరిగి వెళ్ళు"
78+
}[key] }}{% endmacro %}

0 commit comments

Comments
 (0)