Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/gkmngrgn/hugo-alageek-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGökmen Görgen <gkmngrgn@gmail.com>2019-08-04 00:40:43 +0300
committerGökmen Görgen <gkmngrgn@gmail.com>2019-08-04 00:40:43 +0300
commit0b147de1d70361fa8537f4d9b5d795aa511dbcd1 (patch)
tree4ed58356005d6fa26f227c6d8efa842dd49d6ff4
parentc8ba8c42c7e9f48d4a4309d31496a83ce0a46594 (diff)
translation fixes.
-rw-r--r--i18n/en.yaml24
-rw-r--r--i18n/oc.yaml24
-rw-r--r--i18n/tr.yaml24
-rw-r--r--layouts/_default/terms.html8
-rw-r--r--layouts/index.html2
5 files changed, 47 insertions, 35 deletions
diff --git a/i18n/en.yaml b/i18n/en.yaml
index e6c70e5..01a0336 100644
--- a/i18n/en.yaml
+++ b/i18n/en.yaml
@@ -1,19 +1,21 @@
blog_posts:
- other: "Blog posts"
+ other: "Blog posts"
latest_posts:
- other: "Latest posts"
+ other: "Latest posts"
page_not_found_description:
- other: "The page you were looking for does not exist."
+ other: "The page you were looking for does not exist."
page_not_found_link:
- other: "Visit the home page"
+ other: "Visit the home page"
pinned:
- other: "Pinned"
+ other: "Pinned"
posts_about:
- other: "Posts about {{ .Title }}"
+ other: "Posts about {{ .Title }}"
reading_time:
- one: "{{ .Count }} minute"
- other: "{{ .Count }} minutes"
+ one: "{{ .Count }} minute"
+ other: "{{ .Count }} minutes"
sections:
- other: "Sections"
-see-more:
- other: "See more..."
+ other: "Sections"
+see_more:
+ other: "See more..."
+title_tags:
+ other: "Tags"
diff --git a/i18n/oc.yaml b/i18n/oc.yaml
index c6a621e..0308a3f 100644
--- a/i18n/oc.yaml
+++ b/i18n/oc.yaml
@@ -1,19 +1,21 @@
blog_posts:
- other: "Publicacions Blòg"
+ other: "Publicacions Blòg"
latest_posts:
- other: "Darrièras publicacions"
+ other: "Darrièras publicacions"
page_not_found_description:
- other: "La pagina que cercatz existís pas."
+ other: "La pagina que cercatz existís pas."
page_not_found_link:
- other: "Anar a l’acuèlh"
+ other: "Anar a l’acuèlh"
pinned:
- other: "Penjat"
+ other: "Penjat"
posts_about:
- other: "Publicacions tocant {{ .Title }}"
+ other: "Publicacions tocant {{ .Title }}"
reading_time:
- one: "{{ .Count }} minuta"
- other: "{{ .Count }} minutas"
+ one: "{{ .Count }} minuta"
+ other: "{{ .Count }} minutas"
sections:
- other: "Seccions"
-see-more:
- other: "Ne veire mai..."
+ other: "Seccions"
+see_more:
+ other: "Ne veire mai..."
+title_tags:
+ other: "Tags"
diff --git a/i18n/tr.yaml b/i18n/tr.yaml
index f2ff6ba..39fe0c4 100644
--- a/i18n/tr.yaml
+++ b/i18n/tr.yaml
@@ -1,19 +1,21 @@
blog_posts:
- other: "Blog yazıları"
+ other: "Blog yazıları"
latest_posts:
- other: "Son yazılar"
+ other: "Son yazılar"
page_not_found_description:
- other: "Aradığınız sayfa bulunmuyor."
+ other: "Aradığınız sayfa bulunmuyor."
page_not_found_link:
- other: "Ana sayfaya git"
+ other: "Ana sayfaya git"
pinned:
- other: "Sabitlenmiş"
+ other: "Sabitlenmiş"
posts_about:
- other: "{{.Title}} ile ilgili yazılar"
+ other: "{{.Title}} ile ilgili yazılar"
reading_time:
- one: "{{ .Count }} dakika"
- other: "{{ .Count }} dakika"
+ one: "{{ .Count }} dakika"
+ other: "{{ .Count }} dakika"
sections:
- other: "Bölümler"
-see-more:
- other: "Daha fazlası..."
+ other: "Bölümler"
+see_more:
+ other: "Daha fazlası..."
+title_tags:
+ other: "Etiketler"
diff --git a/layouts/_default/terms.html b/layouts/_default/terms.html
index ccdf2ab..284b70d 100644
--- a/layouts/_default/terms.html
+++ b/layouts/_default/terms.html
@@ -6,7 +6,13 @@
<div class="row justify-content-center">
<div class="col-sm-12 col-md-10">
<div class="markdown">
- <h1 class="mx-0 mx-md-4">{{ .Title }}</h1>
+ <h1 class="mx-0 mx-md-4">
+ {{ if eq .Title "Tags" }}
+ {{ i18n "title_tags" . }}
+ {{ else }}
+ {{ .Title }}
+ {{ end }}
+ </h1>
<p class="h4">
{{ $data := .Data }}
diff --git a/layouts/index.html b/layouts/index.html
index aed1b94..1df8b4a 100644
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -37,7 +37,7 @@
</ul>
{{ if gt $nbPosts .Site.Params.latestpostcount }}
- <a href="./blog/" class="font-italic mt-4 see-more">{{ i18n "see-more" }}</a>
+ <a href="./blog/" class="font-italic mt-4 see-more">{{ i18n "see_more" }}</a>
{{ end }}
{{ end }}
</div>