Skip to content

Commit

Permalink
Added Albanian translations
Browse files Browse the repository at this point in the history
Co-authored-by: gerardkraja <[email protected]>
  • Loading branch information
squidfunk and gerardkraja committed Sep 25, 2024
1 parent 84ddbba commit 74ca234
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
Original file line number Diff line number Diff line change
Expand Up @@ -240,6 +240,10 @@
"title": "Site language: Slovenian",
"const": "sl"
},
{
"title": "Site language: Albanian",
"const": "sq"
},
{
"title": "Site language: Serbian",
"const": "sr"
Expand Down
1 change: 1 addition & 0 deletions material/overrides/hooks/translations.py
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,7 @@ def on_page_markdown(markdown: str, *, page: Page, config: MkDocsConfig, files):
"ru": "ru",
"sa": "in",
"sh": "rs",
"sq": "al",
"si": "lk",
"sk": "sk",
"sl": "si",
Expand Down
56 changes: 56 additions & 0 deletions material/templates/partials/languages/sq.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
{#-
This file was automatically generated - do not edit
-#}
{% macro t(key) %}{{ {
"language": "sq",
"direction": "ltr",
"action.edit": "Ndrysho këtë faqe",
"action.skip": "Kalo te përmbajtja",
"action.view": "Shiko burimin e kësaj faqeje",
"announce.dismiss": "Mos e shfaq më këtë",
"blog.archive": "Arkiva",
"blog.categories": "Kategoritë",
"blog.categories.in": "në",
"blog.continue": "Vazhdo leximin",
"blog.draft": "Draft",
"blog.index": "Kthehu te indeksi",
"blog.meta": "Të dhëna",
"blog.references": "Linqe të afërta",
"clipboard.copy": "Kopjo në clipboard",
"clipboard.copied": "U kopjua në clipboard",
"consent.accept": "Prano",
"consent.manage": "Administro parametrat",
"consent.reject": "Refuzo",
"footer": "Fundi i faqes",
"footer.next": "Tjetër",
"footer.previous": "E mëparshme",
"header": "Koka",
"meta.comments": "Komente",
"meta.source": "Burimi",
"nav": "Navigacion",
"readtime.one": "Lexim 1 min",
"readtime.other": "Lexim # min",
"rss.created": "Burim RSS",
"rss.updated": "Burim RSS me përmbajtje të përditësuar",
"search": "Kërko",
"search.placeholder": "Vendmbajtës",
"search.share": "Shpërndaj",
"search.reset": "Zbraz",
"search.result.initializer": "Duke filluar kërkimin",
"search.result.placeholder": "Shkruaj për të filluar kërkimin",
"search.result.none": "Nuk ka dokumente të përputhshme",
"search.result.one": "1 dokument i përputhshëm",
"search.result.other": "# dokumente të përputhshme",
"search.result.more.one": "1 më shumë në këtë faqe",
"search.result.more.other": "# më shumë në këtë faqe",
"search.result.term.missing": "Mungon",
"select.language": "Zgjidh gjuhën",
"select.version": "Zgjidh versionin",
"source": "Shko te burimi",
"source.file.contributors": "Bashkëpunues",
"source.file.date.created": "Krijimi",
"source.file.date.updated": "Përditësimi i fundit",
"tabs": "Skedat",
"toc": "Tabela e përmbajtjes",
"top": "Kthehu në krye"
}[key] }}{% endmacro %}
1 change: 1 addition & 0 deletions src/overrides/hooks/translations.py
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,7 @@ def on_page_markdown(markdown: str, *, page: Page, config: MkDocsConfig, files):
"ru": "ru",
"sa": "in",
"sh": "rs",
"sq": "al",
"si": "lk",
"sk": "sk",
"sl": "si",
Expand Down
76 changes: 76 additions & 0 deletions src/templates/partials/languages/sq.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
<!--
Copyright (c) 2016-2024 Martin Donath <[email protected]>
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: Albanian -->
{% macro t(key) %}{{ {
"language": "sq",
"direction": "ltr",
"action.edit": "Ndrysho këtë faqe",
"action.skip": "Kalo te përmbajtja",
"action.view": "Shiko burimin e kësaj faqeje",
"announce.dismiss": "Mos e shfaq më këtë",
"blog.archive": "Arkiva",
"blog.categories": "Kategoritë",
"blog.categories.in": "në",
"blog.continue": "Vazhdo leximin",
"blog.draft": "Draft",
"blog.index": "Kthehu te indeksi",
"blog.meta": "Të dhëna",
"blog.references": "Linqe të afërta",
"clipboard.copy": "Kopjo në clipboard",
"clipboard.copied": "U kopjua në clipboard",
"consent.accept": "Prano",
"consent.manage": "Administro parametrat",
"consent.reject": "Refuzo",
"footer": "Fundi i faqes",
"footer.next": "Tjetër",
"footer.previous": "E mëparshme",
"header": "Koka",
"meta.comments": "Komente",
"meta.source": "Burimi",
"nav": "Navigacion",
"readtime.one": "Lexim 1 min",
"readtime.other": "Lexim # min",
"rss.created": "Burim RSS",
"rss.updated": "Burim RSS me përmbajtje të përditësuar",
"search": "Kërko",
"search.placeholder": "Vendmbajtës",
"search.share": "Shpërndaj",
"search.reset": "Zbraz",
"search.result.initializer": "Duke filluar kërkimin",
"search.result.placeholder": "Shkruaj për të filluar kërkimin",
"search.result.none": "Nuk ka dokumente të përputhshme",
"search.result.one": "1 dokument i përputhshëm",
"search.result.other": "# dokumente të përputhshme",
"search.result.more.one": "1 më shumë në këtë faqe",
"search.result.more.other": "# më shumë në këtë faqe",
"search.result.term.missing": "Mungon",
"select.language": "Zgjidh gjuhën",
"select.version": "Zgjidh versionin",
"source": "Shko te burimi",
"source.file.contributors": "Bashkëpunues",
"source.file.date.created": "Krijimi",
"source.file.date.updated": "Përditësimi i fundit",
"tabs": "Skedat",
"toc": "Tabela e përmbajtjes",
"top": "Kthehu në krye"
}[key] }}{% endmacro %}

0 comments on commit 74ca234

Please sign in to comment.