Skip to content

Commit 74ca234

Browse files
Added Albanian translations
Co-authored-by: gerardkraja <[email protected]>
1 parent 84ddbba commit 74ca234

File tree

5 files changed

+138
-0
lines changed

5 files changed

+138
-0
lines changed

Diff for: docs/schema/theme.json

+4
Original file line numberDiff line numberDiff line change
@@ -240,6 +240,10 @@
240240
"title": "Site language: Slovenian",
241241
"const": "sl"
242242
},
243+
{
244+
"title": "Site language: Albanian",
245+
"const": "sq"
246+
},
243247
{
244248
"title": "Site language: Serbian",
245249
"const": "sr"

Diff for: 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
"ru": "ru",
176176
"sa": "in",
177177
"sh": "rs",
178+
"sq": "al",
178179
"si": "lk",
179180
"sk": "sk",
180181
"sl": "si",

Diff for: material/templates/partials/languages/sq.html

+56
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": "sq",
6+
"direction": "ltr",
7+
"action.edit": "Ndrysho këtë faqe",
8+
"action.skip": "Kalo te përmbajtja",
9+
"action.view": "Shiko burimin e kësaj faqeje",
10+
"announce.dismiss": "Mos e shfaq më këtë",
11+
"blog.archive": "Arkiva",
12+
"blog.categories": "Kategoritë",
13+
"blog.categories.in": "në",
14+
"blog.continue": "Vazhdo leximin",
15+
"blog.draft": "Draft",
16+
"blog.index": "Kthehu te indeksi",
17+
"blog.meta": "Të dhëna",
18+
"blog.references": "Linqe të afërta",
19+
"clipboard.copy": "Kopjo në clipboard",
20+
"clipboard.copied": "U kopjua në clipboard",
21+
"consent.accept": "Prano",
22+
"consent.manage": "Administro parametrat",
23+
"consent.reject": "Refuzo",
24+
"footer": "Fundi i faqes",
25+
"footer.next": "Tjetër",
26+
"footer.previous": "E mëparshme",
27+
"header": "Koka",
28+
"meta.comments": "Komente",
29+
"meta.source": "Burimi",
30+
"nav": "Navigacion",
31+
"readtime.one": "Lexim 1 min",
32+
"readtime.other": "Lexim # min",
33+
"rss.created": "Burim RSS",
34+
"rss.updated": "Burim RSS me përmbajtje të përditësuar",
35+
"search": "Kërko",
36+
"search.placeholder": "Vendmbajtës",
37+
"search.share": "Shpërndaj",
38+
"search.reset": "Zbraz",
39+
"search.result.initializer": "Duke filluar kërkimin",
40+
"search.result.placeholder": "Shkruaj për të filluar kërkimin",
41+
"search.result.none": "Nuk ka dokumente të përputhshme",
42+
"search.result.one": "1 dokument i përputhshëm",
43+
"search.result.other": "# dokumente të përputhshme",
44+
"search.result.more.one": "1 më shumë në këtë faqe",
45+
"search.result.more.other": "# më shumë në këtë faqe",
46+
"search.result.term.missing": "Mungon",
47+
"select.language": "Zgjidh gjuhën",
48+
"select.version": "Zgjidh versionin",
49+
"source": "Shko te burimi",
50+
"source.file.contributors": "Bashkëpunues",
51+
"source.file.date.created": "Krijimi",
52+
"source.file.date.updated": "Përditësimi i fundit",
53+
"tabs": "Skedat",
54+
"toc": "Tabela e përmbajtjes",
55+
"top": "Kthehu në krye"
56+
}[key] }}{% endmacro %}

Diff for: 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
"ru": "ru",
176176
"sa": "in",
177177
"sh": "rs",
178+
"sq": "al",
178179
"si": "lk",
179180
"sk": "sk",
180181
"sl": "si",

Diff for: src/templates/partials/languages/sq.html

+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: Albanian -->
24+
{% macro t(key) %}{{ {
25+
"language": "sq",
26+
"direction": "ltr",
27+
"action.edit": "Ndrysho këtë faqe",
28+
"action.skip": "Kalo te përmbajtja",
29+
"action.view": "Shiko burimin e kësaj faqeje",
30+
"announce.dismiss": "Mos e shfaq më këtë",
31+
"blog.archive": "Arkiva",
32+
"blog.categories": "Kategoritë",
33+
"blog.categories.in": "në",
34+
"blog.continue": "Vazhdo leximin",
35+
"blog.draft": "Draft",
36+
"blog.index": "Kthehu te indeksi",
37+
"blog.meta": "Të dhëna",
38+
"blog.references": "Linqe të afërta",
39+
"clipboard.copy": "Kopjo në clipboard",
40+
"clipboard.copied": "U kopjua në clipboard",
41+
"consent.accept": "Prano",
42+
"consent.manage": "Administro parametrat",
43+
"consent.reject": "Refuzo",
44+
"footer": "Fundi i faqes",
45+
"footer.next": "Tjetër",
46+
"footer.previous": "E mëparshme",
47+
"header": "Koka",
48+
"meta.comments": "Komente",
49+
"meta.source": "Burimi",
50+
"nav": "Navigacion",
51+
"readtime.one": "Lexim 1 min",
52+
"readtime.other": "Lexim # min",
53+
"rss.created": "Burim RSS",
54+
"rss.updated": "Burim RSS me përmbajtje të përditësuar",
55+
"search": "Kërko",
56+
"search.placeholder": "Vendmbajtës",
57+
"search.share": "Shpërndaj",
58+
"search.reset": "Zbraz",
59+
"search.result.initializer": "Duke filluar kërkimin",
60+
"search.result.placeholder": "Shkruaj për të filluar kërkimin",
61+
"search.result.none": "Nuk ka dokumente të përputhshme",
62+
"search.result.one": "1 dokument i përputhshëm",
63+
"search.result.other": "# dokumente të përputhshme",
64+
"search.result.more.one": "1 më shumë në këtë faqe",
65+
"search.result.more.other": "# më shumë në këtë faqe",
66+
"search.result.term.missing": "Mungon",
67+
"select.language": "Zgjidh gjuhën",
68+
"select.version": "Zgjidh versionin",
69+
"source": "Shko te burimi",
70+
"source.file.contributors": "Bashkëpunues",
71+
"source.file.date.created": "Krijimi",
72+
"source.file.date.updated": "Përditësimi i fundit",
73+
"tabs": "Skedat",
74+
"toc": "Tabela e përmbajtjes",
75+
"top": "Kthehu në krye"
76+
}[key] }}{% endmacro %}

0 commit comments

Comments
 (0)