Skip to content

Commit 85551e6

Browse files
author
Pranam
committed
5443: adds support for Kannada language
1 parent 45d0679 commit 85551e6

File tree

5 files changed

+141
-0
lines changed

5 files changed

+141
-0
lines changed

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

+1
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ The following configuration options are supported:
7878
- `hy` – Armenian
7979
- `it` – Italian
8080
- `ja` – Japanese
81+
- `kn` - Kannada
8182
- `ko` – Korean
8283
- `no` – Norwegian
8384
- `pt` – Portuguese

material/.overrides/hooks/translations.py

+1
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,7 @@ def on_page_markdown(markdown: str, *, page: Page, config: MkDocsConfig, files):
151151
"it": "it",
152152
"ja": "jp",
153153
"ka": "ge",
154+
"kn": "in",
154155
"ko": "kr",
155156
"ku-IQ": "iq",
156157
"lt": "lt",

material/partials/languages/kn.html

+59
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
{#-
2+
This file was automatically generated - do not edit
3+
-#}
4+
{% macro t(key) %}{{ {
5+
"language": "kn",
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": "kn",
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 %}
59+

src/.overrides/hooks/translations.py

+1
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,7 @@ def on_page_markdown(markdown: str, *, page: Page, config: MkDocsConfig, files):
151151
"it": "it",
152152
"ja": "jp",
153153
"ka": "ge",
154+
"kn": "in",
154155
"ko": "kr",
155156
"ku-IQ": "iq",
156157
"lt": "lt",

src/partials/languages/kn.html

+79
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,79 @@
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: Kannada -->
24+
{% macro t(key) %}{{ {
25+
"language": "kn",
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": "kn",
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 %}
79+

0 commit comments

Comments
 (0)