Fix translation + navbar CSS (#142)
This commit is contained in:
parent
beb9d55b95
commit
49ba62a9da
9 changed files with 107 additions and 7 deletions
18
i18n/bn.toml
18
i18n/bn.toml
|
@ -5,6 +5,9 @@ other = "হোম"
|
|||
[posts]
|
||||
other = "পোষ্ট সমূহ"
|
||||
|
||||
[toc_heading]
|
||||
other = "সুচিপত্র"
|
||||
|
||||
[resume]
|
||||
other = "আমার জীবনবৃত্তান্ত"
|
||||
|
||||
|
@ -14,6 +17,12 @@ other = "নেভিগেশন"
|
|||
[contact_me]
|
||||
other = "আমার সাথে যোগাযোগ করুনঃ"
|
||||
|
||||
[email]
|
||||
other = "ইমেইল"
|
||||
|
||||
[phone]
|
||||
other = "ফোন"
|
||||
|
||||
[newsletter_text]
|
||||
other = "ইমেইল নোটিফিকেশান এর মাধ্যমে সর্বশেষ তথ্য জানুন"
|
||||
|
||||
|
@ -28,3 +37,12 @@ other = "জমা দিন"
|
|||
|
||||
[hugoAttributionText]
|
||||
other = "পাওয়ারড বাই"
|
||||
|
||||
[prev]
|
||||
other = "পূর্ববর্তী"
|
||||
|
||||
[next]
|
||||
other = "পরবর্তী"
|
||||
|
||||
[improve_this_page]
|
||||
other = "এই পৃষ্ঠাটি উন্নত করুন"
|
18
i18n/de.toml
18
i18n/de.toml
|
@ -5,6 +5,9 @@ other = "Home"
|
|||
[posts]
|
||||
other = "Beiträge"
|
||||
|
||||
[toc_heading]
|
||||
other = "Inhoudsopgave"
|
||||
|
||||
[at]
|
||||
other = "bei"
|
||||
|
||||
|
@ -17,6 +20,12 @@ other = "Navigation"
|
|||
[contact_me]
|
||||
other = "Kontakt aufnehmen"
|
||||
|
||||
[email]
|
||||
other = "E-mail"
|
||||
|
||||
[phone]
|
||||
other = "Telefoon"
|
||||
|
||||
[newsletter_text]
|
||||
other = "Mit dem Newsletter auf dem neuesten Stand bleiben"
|
||||
|
||||
|
@ -31,3 +40,12 @@ other = "Absenden"
|
|||
|
||||
[hugoAttributionText]
|
||||
other = "Powered by"
|
||||
|
||||
[prev]
|
||||
other = "Vorige"
|
||||
|
||||
[next]
|
||||
other = "De volgende"
|
||||
|
||||
[improve_this_page]
|
||||
other = "Verbeter deze pagina"
|
18
i18n/en.toml
18
i18n/en.toml
|
@ -5,6 +5,9 @@ other = "Home"
|
|||
[posts]
|
||||
other = "Posts"
|
||||
|
||||
[toc_heading]
|
||||
other = "Table of Contents"
|
||||
|
||||
[at]
|
||||
other = "at"
|
||||
|
||||
|
@ -17,6 +20,12 @@ other = "Navigation"
|
|||
[contact_me]
|
||||
other = "Contact me:"
|
||||
|
||||
[email]
|
||||
other = "Email"
|
||||
|
||||
[phone]
|
||||
other = "Phone"
|
||||
|
||||
[newsletter_text]
|
||||
other = "Stay up to date with email notification"
|
||||
|
||||
|
@ -31,3 +40,12 @@ other = "Submit"
|
|||
|
||||
[hugoAttributionText]
|
||||
other = "Powered by"
|
||||
|
||||
[prev]
|
||||
other = "Prev"
|
||||
|
||||
[next]
|
||||
other = "Next"
|
||||
|
||||
[improve_this_page]
|
||||
other = "Improve this page"
|
18
i18n/fr.toml
18
i18n/fr.toml
|
@ -5,6 +5,9 @@ other = "Accueil"
|
|||
[posts]
|
||||
other = "Des postes"
|
||||
|
||||
[toc_heading]
|
||||
other = "Table des matières"
|
||||
|
||||
[at]
|
||||
other = "chez"
|
||||
|
||||
|
@ -17,6 +20,12 @@ other = "Naviguation"
|
|||
[contact_me]
|
||||
other = "Contactez moi :"
|
||||
|
||||
[email]
|
||||
other = "Email"
|
||||
|
||||
[phone]
|
||||
other = "Téléphone"
|
||||
|
||||
[newsletter_text]
|
||||
other = "Restez à jour par e-mail"
|
||||
|
||||
|
@ -31,3 +40,12 @@ other = "Envoyer"
|
|||
|
||||
[hugoAttributionText]
|
||||
other = "Alimenté par"
|
||||
|
||||
[prev]
|
||||
other = "Précédent"
|
||||
|
||||
[next]
|
||||
other = "Suivant"
|
||||
|
||||
[improve_this_page]
|
||||
other = "Améliorez cette page"
|
20
i18n/id.toml
20
i18n/id.toml
|
@ -5,6 +5,9 @@ other = "Beranda"
|
|||
[posts]
|
||||
other = "Artikel"
|
||||
|
||||
[toc_heading]
|
||||
other = "Daftar Isi"
|
||||
|
||||
[at]
|
||||
other = "at"
|
||||
|
||||
|
@ -17,6 +20,12 @@ other = "Navigasi"
|
|||
[contact_me]
|
||||
other = "Hubungi saya:"
|
||||
|
||||
[email]
|
||||
other = "Surel"
|
||||
|
||||
[phone]
|
||||
other = "Telepon"
|
||||
|
||||
[newsletter_text]
|
||||
other = "Ingin selalu update dengan notifikasi email"
|
||||
|
||||
|
@ -30,4 +39,13 @@ other = "Kami tidak pernah berbagi data email dengan siapapun."
|
|||
other = "Kirim"
|
||||
|
||||
[hugoAttributionText]
|
||||
other = "Didukung oleh"
|
||||
other = "Didukung oleh"
|
||||
|
||||
[prev]
|
||||
other = "Sebelumnya"
|
||||
|
||||
[next]
|
||||
other = "Lanjut"
|
||||
|
||||
[improve_this_page]
|
||||
other = "Perbaiki halaman ini"
|
|
@ -19,7 +19,7 @@
|
|||
<input type="text" value="" placeholder="Search" data-search="" id="search-box" />
|
||||
<div class="sidebar-tree">
|
||||
<ul class="tree" id="tree">
|
||||
<li id="list-heading"><a href="{{ site.BaseURL | absLangURL }}/posts" data-filter="all">Posts</a></li>
|
||||
<li id="list-heading"><a href="{{ "/posts" | relLangURL }}" data-filter="all">{{ i18n "posts" }}</a></li>
|
||||
<div class="subtree">
|
||||
{{ partial "navigators/sidebar.html" (dict "menus" site.Menus.sidebar "ctx" .) }}
|
||||
</div>
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
<input type="text" value="" placeholder="Search" data-search="" id="search-box" />
|
||||
<div class="sidebar-tree">
|
||||
<ul class="tree" id="tree">
|
||||
<li id="list-heading"><a href="{{ site.BaseURL | absLangURL }}posts" data-filter="all">Posts</a></li>
|
||||
<li id="list-heading"><a href="{{ "/posts" | relLangURL }}" data-filter="all">{{ i18n "posts" }}</a></li>
|
||||
<div class="subtree">
|
||||
{{ partial "navigators/sidebar.html" (dict "menus" site.Menus.sidebar "ctx" .) }}
|
||||
</div>
|
||||
|
@ -59,7 +59,7 @@
|
|||
<div class="btn-improve-page">
|
||||
<a href="{{ site.Params.GitRepo }}/edit/master/content/{{ .File.Path }}">
|
||||
<i class="fas fa-code-branch"></i>
|
||||
Improve This Page
|
||||
{{ i18n "improve_this_page" }}
|
||||
</a>
|
||||
</div>
|
||||
{{ end }}
|
||||
|
@ -85,7 +85,7 @@
|
|||
<section class="toc-section" id="toc-section">
|
||||
{{ if site.Params.enableTOC }}
|
||||
<div class="toc-holder">
|
||||
<h5 class="text-center pl-3">Table of Contents</h5>
|
||||
<h5 class="text-center pl-3">{{ i18n "toc_heading" }}</h5>
|
||||
<hr>
|
||||
<div class="toc">
|
||||
{{ .TableOfContents }}
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
{{ if (in site.Params.mainSections .Next.Type) }}
|
||||
<div class="col-md-6 previous-article">
|
||||
<a href="{{.Next.RelPermalink}}" class="btn btn-outline-info">
|
||||
<span><i class="fas fa-chevron-circle-left"></i> Prev</span>
|
||||
<span><i class="fas fa-chevron-circle-left"></i> {{ i18n "prev" }}</span>
|
||||
<br />
|
||||
<span>{{ .Next.Title }}</span>
|
||||
</a>
|
||||
|
@ -23,7 +23,7 @@
|
|||
{{ end}}
|
||||
<div class="{{ $columnWidth }} next-article">
|
||||
<a href="{{ .Prev.RelPermalink }}" class="btn btn-outline-info">
|
||||
<span>Next <i class="fas fa-chevron-circle-right"></i></span>
|
||||
<span>{{ i18n "next" }} <i class="fas fa-chevron-circle-right"></i></span>
|
||||
<br />
|
||||
<span>{{ .Prev.Title }}</span>
|
||||
</a>
|
||||
|
|
|
@ -66,6 +66,7 @@ body {
|
|||
.toc ul {
|
||||
list-style: none;
|
||||
padding-left: 0.5rem;
|
||||
margin-bottom: 0rem;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
|
@ -308,6 +309,10 @@ mark {
|
|||
text-align: right;
|
||||
}
|
||||
|
||||
.languageSelector{
|
||||
display: none;
|
||||
}
|
||||
|
||||
/* ============= Device specific fixes ======= */
|
||||
|
||||
/* Large screens such as TV */
|
||||
|
@ -371,10 +376,15 @@ mark {
|
|||
.navbar-toggler {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.navbar-collapse.lang-selector {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.languageSelector{
|
||||
display: block;
|
||||
}
|
||||
|
||||
.hero-area {
|
||||
height: 300px;
|
||||
margin-top: 1rem;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue