Skip to content

Commit 4fc33f6

Browse files
squidfunkkbdharun
andcommitted
Added Tamil translations
Co-authored-by: K.B.Dharun Krishna <[email protected]>
1 parent 1df8e1f commit 4fc33f6

File tree

5 files changed

+138
-0
lines changed

5 files changed

+138
-0
lines changed

docs/schema/theme.json

+4
Original file line numberDiff line numberDiff line change
@@ -248,6 +248,10 @@
248248
"title": "Site language: Swedish",
249249
"const": "sv"
250250
},
251+
{
252+
"title": "Site language: Tamil",
253+
"const": "ta"
254+
},
251255
{
252256
"title": "Site language: Telugu",
253257
"const": "te"

material/overrides/hooks/translations.py

+1
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,7 @@ def on_page_markdown(markdown: str, *, page: Page, config: MkDocsConfig, files):
182182
"sv": "se",
183183
"te": "in",
184184
"th": "th",
185+
"ta": "in",
185186
"tl": "ph",
186187
"tr": "tr",
187188
"uk": "ua",
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
{#-
2+
This file was automatically generated - do not edit
3+
-#}
4+
{% macro t(key) %}{{ {
5+
"language": "ta",
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": "படிப்பதற்கு 1 நிமிடம்",
31+
"readtime.other": "படிப்பதற்கு # நிமிடம்",
32+
"rss.created": "RSS ஊட்டம்",
33+
"rss.updated": "புதுப்பிக்கப்பட்ட உள்ளடக்கத்தின் RSS ஊட்டம்",
34+
"search": "தேடு",
35+
"search.config.pipeline": " ",
36+
"search.placeholder": "தேடு",
37+
"search.share": "பகிரவும்",
38+
"search.reset": "அழிக்கவும்",
39+
"search.result.initializer": "தேடலைத் துவக்குகிறது",
40+
"search.result.placeholder": "தேடலைத் தொடங்க தட்டச்சு செய்யவும்",
41+
"search.result.none": "பொருந்தக்கூடிய ஆவணங்கள் இல்லை",
42+
"search.result.one": "1 பொருந்தும் ஆவணம்",
43+
"search.result.other": "# பொருந்தும் ஆவணங்கள்",
44+
"search.result.more.one": "இந்தப் பக்கத்தில் மேலும் 1",
45+
"search.result.more.other": "இந்தப் பக்கத்தில் மேலும் #",
46+
"search.result.term.missing": "காணவில்லை",
47+
"select.language": "மொழியைத் தேர்ந்தெடுக்கவும்",
48+
"select.version": "பதிப்பைத் தேர்ந்தெடுக்கவும்",
49+
"source": "களஞ்சியத்திற்குச் செல்லவும்",
50+
"source.file.contributors": "பங்களிப்பாளர்கள்",
51+
"source.file.date.created": "உருவாக்கப்பட்டது",
52+
"source.file.date.updated": "கடைசி புதுப்பிப்பு",
53+
"tabs": "தாவல்கள்",
54+
"toc": "உள்ளடக்க அட்டவணை",
55+
"top": "மீண்டும் மேலே"
56+
}[key] }}{% endmacro %}

src/overrides/hooks/translations.py

+1
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,7 @@ def on_page_markdown(markdown: str, *, page: Page, config: MkDocsConfig, files):
182182
"sv": "se",
183183
"te": "in",
184184
"th": "th",
185+
"ta": "in",
185186
"tl": "ph",
186187
"tr": "tr",
187188
"uk": "ua",
+76
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
1+
<!--
2+
Copyright (c) 2016-2024 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: Tamil -->
24+
{% macro t(key) %}{{ {
25+
"language": "ta",
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": "படிப்பதற்கு 1 நிமிடம்",
51+
"readtime.other": "படிப்பதற்கு # நிமிடம்",
52+
"rss.created": "RSS ஊட்டம்",
53+
"rss.updated": "புதுப்பிக்கப்பட்ட உள்ளடக்கத்தின் RSS ஊட்டம்",
54+
"search": "தேடு",
55+
"search.config.pipeline": " ",
56+
"search.placeholder": "தேடு",
57+
"search.share": "பகிரவும்",
58+
"search.reset": "அழிக்கவும்",
59+
"search.result.initializer": "தேடலைத் துவக்குகிறது",
60+
"search.result.placeholder": "தேடலைத் தொடங்க தட்டச்சு செய்யவும்",
61+
"search.result.none": "பொருந்தக்கூடிய ஆவணங்கள் இல்லை",
62+
"search.result.one": "1 பொருந்தும் ஆவணம்",
63+
"search.result.other": "# பொருந்தும் ஆவணங்கள்",
64+
"search.result.more.one": "இந்தப் பக்கத்தில் மேலும் 1",
65+
"search.result.more.other": "இந்தப் பக்கத்தில் மேலும் #",
66+
"search.result.term.missing": "காணவில்லை",
67+
"select.language": "மொழியைத் தேர்ந்தெடுக்கவும்",
68+
"select.version": "பதிப்பைத் தேர்ந்தெடுக்கவும்",
69+
"source": "களஞ்சியத்திற்குச் செல்லவும்",
70+
"source.file.contributors": "பங்களிப்பாளர்கள்",
71+
"source.file.date.created": "உருவாக்கப்பட்டது",
72+
"source.file.date.updated": "கடைசி புதுப்பிப்பு",
73+
"tabs": "தாவல்கள்",
74+
"toc": "உள்ளடக்க அட்டவணை",
75+
"top": "மீண்டும் மேலே"
76+
}[key] }}{% endmacro %}

0 commit comments

Comments
 (0)