1
0
mirror of https://github.com/squidfunk/mkdocs-material.git synced 2024-11-28 01:10:58 +01:00

Added Bengali (Bangla) translations

This commit is contained in:
squidfunk 2020-06-24 08:20:07 +02:00
parent 29394eceab
commit 3f4e56157c
5 changed files with 91 additions and 14 deletions

View File

@ -265,46 +265,47 @@ The following language codes are supported:
<ul class="md-language-list">
<li><code>af</code> / Afrikaans</li>
<li><code>ar</code> / Arabic</li>
<li><code>my</code> / Burmese</li>
<li><code>bn</code> / Bengali (Bangla)</li>
<li><code>ca</code> / Catalan</li>
<li><code>zh</code> / Chinese (Simplified)</li>
<li><code>zh-Hant</code> / Chinese (Traditional)</li>
<li><code>zh-TW</code> / Chinese (Taiwanese)</li>
<li><code>hr</code> / Croatian</li>
<li><code>cs</code> / Czech</li>
<li><code>da</code> / Danish</li>
<li><code>nl</code> / Dutch</li>
<li><code>de</code> / German</li>
<li><code>en</code> / English</li>
<li><code>es</code> / Spanish</li>
<li><code>et</code> / Estonian</li>
<li><code>fa</code> / Persian (Farsi)</li>
<li><code>fi</code> / Finnish</li>
<li><code>fr</code> / French</li>
<li><code>gl</code> / Galician</li>
<li><code>de</code> / German</li>
<li><code>gr</code> / Greek</li>
<li><code>he</code> / Hebrew</li>
<li><code>hi</code> / Hindi</li>
<li><code>hr</code> / Croatian</li>
<li><code>hu</code> / Hungarian</li>
<li><code>id</code> / Indonesian</li>
<li><code>it</code> / Italian</li>
<li><code>ja</code> / Japanese</li>
<li><code>kr</code> / Korean</li>
<li><code>no</code> / Norwegian</li>
<li><code>my</code> / Burmese</li>
<li><code>nl</code> / Dutch</li>
<li><code>nn</code> / Norwegian (Nynorsk)</li>
<li><code>fa</code> / Persian</li>
<li><code>no</code> / Norwegian</li>
<li><code>pl</code> / Polish</li>
<li><code>pt</code> / Portuguese</li>
<li><code>ro</code> / Romanian</li>
<li><code>ru</code> / Russian</li>
<li><code>sr</code> / Serbian</li>
<li><code>sh</code> / Serbo-Croatian</li>
<li><code>sk</code> / Slovak</li>
<li><code>si</code> / Slovenian</li>
<li><code>es</code> / Spanish</li>
<li><code>sk</code> / Slovak</li>
<li><code>sr</code> / Serbian</li>
<li><code>sv</code> / Swedish</li>
<li><code>th</code> / Thai</li>
<li><code>tr</code> / Turkish</li>
<li><code>uk</code> / Ukrainian</li>
<li><code>vi</code> / Vietnamese</li>
<li><code>zh</code> / Chinese (Simplified)</li>
<li><code>zh-Hant</code> / Chinese (Traditional)</li>
<li><code>zh-TW</code> / Chinese (Taiwanese)</li>
<li>
<a href="https://bit.ly/38F5RCa">
Add language

View File

@ -4,7 +4,7 @@
{% extends "overrides/main.html" %}
{% block tabs %}
{{ super() }}
<style>.md-header{position:initial}.md-main__inner{margin:0}.md-content{display:none}.tx-container{padding-top:1rem;background:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1123 258'><path d='M1124,2c0,0 0,256 0,256l-1125,0l0,-48c0,0 16,5 55,5c116,0 197,-92 325,-92c121,0 114,46 254,46c140,0 214,-167 572,-166Z' style='fill: white' /></svg>") no-repeat bottom,linear-gradient(to bottom,var(--md-primary-fg-color),hsla(280deg,67%,55%,1) 99%,#fff 99%)}.tx-hero{margin:0 .8rem;color:var(--md-primary-bg-color)}.tx-hero h1{margin-bottom:1rem;color:currentColor;font-weight:700}.tx-hero__content{padding-bottom:6rem}.tx-hero .md-button{margin-top:.5rem;margin-right:.5rem;color:var(--md-primary-bg-color)}.tx-hero .md-button--primary{background-color:var(--md-primary-bg-color);color:hsla(280deg,37%,48%,1);border-color:var(--md-primary-bg-color)}.tx-hero .md-button:focus,.tx-hero .md-button:hover{background-color:var(--md-accent-fg-color);color:var(--md-default-bg-color);border-color:var(--md-accent-fg-color)}@media screen and (max-width:30em){.tx-hero h1{font-size:1.4rem}}@media screen and (min-width:60em){.md-sidebar--secondary{display:none}.tx-hero{display:flex;align-items:stretch}.tx-hero__content{max-width:19rem;margin-top:3.5rem;padding-bottom:14vw}.tx-hero__image{width:38rem;order:1;transform:translateX(4rem)}}@media screen and (min-width:76.25em){.md-sidebar--primary{display:none}.tx-hero__image{transform:translateX(8rem)}}</style>
<style>.md-header{position:initial}.md-main__inner{margin:0}.md-content{display:none}.tx-container{padding-top:1rem;background:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1123 258'><path d='M1124,2c0,0 0,256 0,256l-1125,0l0,-48c0,0 16,5 55,5c116,0 197,-92 325,-92c121,0 114,46 254,46c140,0 214,-167 572,-166Z' style='fill: white' /></svg>") no-repeat bottom,linear-gradient(to bottom,var(--md-primary-fg-color),#a53fd9 99%,#fff 99%)}.tx-hero{margin:0 .8rem;color:var(--md-primary-bg-color)}.tx-hero h1{margin-bottom:1rem;color:currentColor;font-weight:700}.tx-hero__content{padding-bottom:6rem}.tx-hero .md-button{margin-top:.5rem;margin-right:.5rem;color:var(--md-primary-bg-color)}.tx-hero .md-button--primary{background-color:var(--md-primary-bg-color);color:hsla(280deg,37%,48%,1);border-color:var(--md-primary-bg-color)}.tx-hero .md-button:focus,.tx-hero .md-button:hover{background-color:var(--md-accent-fg-color);color:var(--md-default-bg-color);border-color:var(--md-accent-fg-color)}@media screen and (max-width:30em){.tx-hero h1{font-size:1.4rem}}@media screen and (min-width:60em){.md-sidebar--secondary{display:none}.tx-hero{display:flex;align-items:stretch}.tx-hero__content{max-width:19rem;margin-top:3.5rem;padding-bottom:14vw}.tx-hero__image{width:38rem;order:1;transform:translateX(4rem)}}@media screen and (min-width:76.25em){.md-sidebar--primary{display:none}.tx-hero__image{transform:translateX(8rem)}}</style>
<section class="tx-container">
<div class="md-grid md-typeset">
<div class="tx-hero">

View File

@ -0,0 +1,28 @@
{#-
This file was automatically generated - do not edit
-#}
{% macro t(key) %}{{ {
"language": "bn",
"clipboard.copy": "ক্লিপবোর্ডে কপি করুন",
"clipboard.copied": "ক্লিপবোর্ডে কপি হয়েছে",
"edit.link.title": "এই পেজ এডিট করুন",
"footer.previous": "পূর্ববর্তী",
"footer.next": "পরে",
"footer.title": "ফুটার",
"header.title": "হেডার",
"meta.comments": "কমেন্ট",
"meta.source": "সোর্স",
"nav.title": "ন্যাভিগেশন",
"search.config.pipeline": " ",
"search.placeholder": "সার্চ",
"search.reset": "মুছে ফেলুন",
"search.result.placeholder": "সার্চ টাইপ করুন",
"search.result.none": "কিছু পাওয়া যায়নি",
"search.result.one": "১ টা ডকুমেন্ট",
"search.result.other": "# টা ডকুমেন্ট",
"skip.link.title": "কনটেন্টে যান",
"source.link.title": "রিপোজিটরিতে যান",
"source.revision.date": "শেষ আপডেট",
"tabs.title": "ট্যাব",
"toc.title": "টেবিল অফ কনটেন্ট"
}[key] }}{% endmacro %}

View File

@ -0,0 +1,48 @@
<!--
Copyright (c) 2016-2020 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: Bengali (Bangla) -->
{% macro t(key) %}{{ {
"language": "bn",
"clipboard.copy": "ক্লিপবোর্ডে কপি করুন",
"clipboard.copied": "ক্লিপবোর্ডে কপি হয়েছে",
"edit.link.title": "এই পেজ এডিট করুন",
"footer.previous": "পূর্ববর্তী",
"footer.next": "পরে",
"footer.title": "ফুটার",
"header.title": "হেডার",
"meta.comments": "কমেন্ট",
"meta.source": "সোর্স",
"nav.title": "ন্যাভিগেশন",
"search.config.pipeline": " ",
"search.placeholder": "সার্চ",
"search.reset": "মুছে ফেলুন",
"search.result.placeholder": "সার্চ টাইপ করুন",
"search.result.none": "কিছু পাওয়া যায়নি",
"search.result.one": "১ টা ডকুমেন্ট",
"search.result.other": "# টা ডকুমেন্ট",
"skip.link.title": "কনটেন্টে যান",
"source.link.title": "রিপোজিটরিতে যান",
"source.revision.date": "শেষ আপডেট",
"tabs.title": "ট্যাব",
"toc.title": "টেবিল অফ কনটেন্ট"
}[key] }}{% endmacro %}

View File

@ -20,7 +20,7 @@
IN THE SOFTWARE.
-->
<!-- Translations: Persian -->
<!-- Translations: Persian (Farsi) -->
{% macro t(key) %}{{ {
"language": "fa",
"direction": "rtl",