Skip to content

Commit

Permalink
Added Tamil translations
Browse files Browse the repository at this point in the history
Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
  • Loading branch information
squidfunk and kbdharun committed Feb 5, 2024
1 parent 1df8e1f commit 4fc33f6
Show file tree
Hide file tree
Showing 5 changed files with 138 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/schema/theme.json
Expand Up @@ -248,6 +248,10 @@
"title": "Site language: Swedish",
"const": "sv"
},
{
"title": "Site language: Tamil",
"const": "ta"
},
{
"title": "Site language: Telugu",
"const": "te"
Expand Down
1 change: 1 addition & 0 deletions material/overrides/hooks/translations.py
Expand Up @@ -182,6 +182,7 @@ def on_page_markdown(markdown: str, *, page: Page, config: MkDocsConfig, files):
"sv": "se",
"te": "in",
"th": "th",
"ta": "in",
"tl": "ph",
"tr": "tr",
"uk": "ua",
Expand Down
56 changes: 56 additions & 0 deletions material/templates/partials/languages/ta.html
@@ -0,0 +1,56 @@
{#-
This file was automatically generated - do not edit
-#}
{% macro t(key) %}{{ {
"language": "ta",
"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": "படிப்பதற்கு 1 நிமிடம்",
"readtime.other": "படிப்பதற்கு # நிமிடம்",
"rss.created": "RSS ஊட்டம்",
"rss.updated": "புதுப்பிக்கப்பட்ட உள்ளடக்கத்தின் RSS ஊட்டம்",
"search": "தேடு",
"search.config.pipeline": " ",
"search.placeholder": "தேடு",
"search.share": "பகிரவும்",
"search.reset": "அழிக்கவும்",
"search.result.initializer": "தேடலைத் துவக்குகிறது",
"search.result.placeholder": "தேடலைத் தொடங்க தட்டச்சு செய்யவும்",
"search.result.none": "பொருந்தக்கூடிய ஆவணங்கள் இல்லை",
"search.result.one": "1 பொருந்தும் ஆவணம்",
"search.result.other": "# பொருந்தும் ஆவணங்கள்",
"search.result.more.one": "இந்தப் பக்கத்தில் மேலும் 1",
"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 %}
1 change: 1 addition & 0 deletions src/overrides/hooks/translations.py
Expand Up @@ -182,6 +182,7 @@ def on_page_markdown(markdown: str, *, page: Page, config: MkDocsConfig, files):
"sv": "se",
"te": "in",
"th": "th",
"ta": "in",
"tl": "ph",
"tr": "tr",
"uk": "ua",
Expand Down
76 changes: 76 additions & 0 deletions src/templates/partials/languages/ta.html
@@ -0,0 +1,76 @@
<!--
Copyright (c) 2016-2024 Martin Donath <martin.donath@squidfunk.com>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to
deal in the Software without restriction, including without limitation the
rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
sell copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
IN THE SOFTWARE.
-->

<!-- Translations: Tamil -->
{% macro t(key) %}{{ {
"language": "ta",
"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": "படிப்பதற்கு 1 நிமிடம்",
"readtime.other": "படிப்பதற்கு # நிமிடம்",
"rss.created": "RSS ஊட்டம்",
"rss.updated": "புதுப்பிக்கப்பட்ட உள்ளடக்கத்தின் RSS ஊட்டம்",
"search": "தேடு",
"search.config.pipeline": " ",
"search.placeholder": "தேடு",
"search.share": "பகிரவும்",
"search.reset": "அழிக்கவும்",
"search.result.initializer": "தேடலைத் துவக்குகிறது",
"search.result.placeholder": "தேடலைத் தொடங்க தட்டச்சு செய்யவும்",
"search.result.none": "பொருந்தக்கூடிய ஆவணங்கள் இல்லை",
"search.result.one": "1 பொருந்தும் ஆவணம்",
"search.result.other": "# பொருந்தும் ஆவணங்கள்",
"search.result.more.one": "இந்தப் பக்கத்தில் மேலும் 1",
"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 %}

0 comments on commit 4fc33f6

Please sign in to comment.