From 2457d37216a0efb05681e7730054f4e5dc74ae5e Mon Sep 17 00:00:00 2001
From: gleb-kun <94681073+gleb-kun@users.noreply.github.com>
Date: Wed, 5 Jul 2023 19:07:29 +0000
Subject: [PATCH 1/3] fix(i18n): added Russian translation for "Categories"
---
.gitignore | 3 ++-
i18n/ru.yaml | 3 +++
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/.gitignore b/.gitignore
index 9ff142d..3eb3911 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,4 +1,5 @@
public
resources
assets/jsconfig.json
-.hugo_build.lock
\ No newline at end of file
+.hugo_build.lock
+.idea
\ No newline at end of file
diff --git a/i18n/ru.yaml b/i18n/ru.yaml
index b1f1e51..2dc72d5 100644
--- a/i18n/ru.yaml
+++ b/i18n/ru.yaml
@@ -47,6 +47,9 @@ widget:
tagCloud:
title:
other: Теги
+ categoriesCloud:
+ title:
+ other: Категории
search:
title:
From d3858205807079564a2d7a2f3bdbf2d67b205229 Mon Sep 17 00:00:00 2001
From: gleb-kun <94681073+gleb-kun@users.noreply.github.com>
Date: Thu, 6 Jul 2023 18:10:48 +0000
Subject: [PATCH 2/3] fix(page): fix display of block name "categories" for
multilanguage
---
layouts/_default/archives.html | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/layouts/_default/archives.html b/layouts/_default/archives.html
index 5d5243c..7347040 100644
--- a/layouts/_default/archives.html
+++ b/layouts/_default/archives.html
@@ -4,7 +4,7 @@
{{- $taxonomy := $.Site.GetPage "taxonomyTerm" "categories" -}}
{{- $terms := $taxonomy.Pages -}}
{{ if $terms }}
-
{{ $taxonomy.Title }}
+ {{ T "widget.categoriesCloud.title" }}
{{ range $terms }}
From 5ec369d0289177983670c0e974d4a4f90fbe8654 Mon Sep 17 00:00:00 2001
From: gleb-kun <94681073+gleb-kun@users.noreply.github.com>
Date: Thu, 6 Jul 2023 18:23:37 +0000
Subject: [PATCH 3/3] fix(i18n): add Greek, French, Thai, Turkish, Ukrainian
translation for "Categories"
---
i18n/el.yaml | 5 +++++
i18n/fr.yaml | 5 +++++
i18n/ru.yaml | 11 +++++++++++
i18n/th.yaml | 4 ++++
i18n/tr.yaml | 10 ++++++++++
i18n/uk.yaml | 4 ++++
6 files changed, 39 insertions(+)
diff --git a/i18n/el.yaml b/i18n/el.yaml
index 27a147d..c1875ea 100644
--- a/i18n/el.yaml
+++ b/i18n/el.yaml
@@ -37,6 +37,7 @@ article:
notFound:
title:
other: Δε βρέθηκε
+
subtitle:
other: Η σελίδα δε βρέθηκε.
@@ -52,6 +53,10 @@ widget:
title:
other: Tags
+ categoriesCloud:
+ title:
+ other: Κατηγορίες
+
search:
title:
other: Αναζήτηση
diff --git a/i18n/fr.yaml b/i18n/fr.yaml
index c3feb1d..b3c5064 100644
--- a/i18n/fr.yaml
+++ b/i18n/fr.yaml
@@ -36,6 +36,7 @@ article:
notFound:
title:
other: Page non trouvée
+
subtitle:
other: Cette page n'existe pas.
@@ -51,6 +52,10 @@ widget:
title:
other: Mots clés
+ categoriesCloud:
+ title:
+ other: Catégories
+
search:
title:
other: Rechercher
diff --git a/i18n/ru.yaml b/i18n/ru.yaml
index 2dc72d5..9ac4521 100644
--- a/i18n/ru.yaml
+++ b/i18n/ru.yaml
@@ -23,18 +23,23 @@ list:
article:
back:
other: Назад
+
relatedContent:
other: Также рекомендуем
+
lastUpdatedOn:
other: Обновлено
+
tableOfContents:
other: Содержание
+
readingTime:
other: "Время чтения: {{ .Count }} мин."
notFound:
title:
other: Не найдено
+
subtitle:
other: Запрашиваемая страница не существует
@@ -42,11 +47,14 @@ widget:
archives:
title:
other: Архивы
+
more:
other: Ещё
+
tagCloud:
title:
other: Теги
+
categoriesCloud:
title:
other: Категории
@@ -54,13 +62,16 @@ widget:
search:
title:
other: Поиск
+
placeholder:
other: Введите что-нибудь...
+
resultTitle:
other: "Найдено #PAGES_COUNT страниц (за #TIME_SECONDS с.)"
footer:
builtWith:
other: Создано при помощи {{ .Generator }}
+
designedBy:
other: Тема {{ .Theme }}, дизайн {{ .DesignedBy }}
diff --git a/i18n/th.yaml b/i18n/th.yaml
index 9982c06..3c87f80 100644
--- a/i18n/th.yaml
+++ b/i18n/th.yaml
@@ -52,6 +52,10 @@ widget:
title:
other: แท็ก
+ categoriesCloud:
+ title:
+ other: หมวดหมู่
+
search:
title:
other: ค้นหา
diff --git a/i18n/tr.yaml b/i18n/tr.yaml
index 2dbb9d5..97debb8 100644
--- a/i18n/tr.yaml
+++ b/i18n/tr.yaml
@@ -19,12 +19,14 @@ list:
article:
relatedContent:
other: Alakalı içerikler
+
lastUpdatedOn:
other: Son güncelleme
notFound:
title:
other: Bulunamadı
+
subtitle:
other: Aradığınız sayfa mevcut değil.
@@ -34,20 +36,28 @@ widget:
other: Arşiv
more:
other: Daha fazla
+
tagCloud:
title:
other: Etiketler
+ categoriesCloud:
+ title:
+ other: Kategoriler
+
search:
title:
other: Arama
+
placeholder:
other: Birşeyler yazın...
+
resultTitle:
other: "#PAGES_COUNT sayfa (#TIME_SECONDS saniye)"
footer:
builtWith:
other: "{{ .Generator }} ile oluşturuldu."
+
designedBy:
other: "{{ .Theme }} teması {{ .DesignedBy }} tarafından tasarlandı"
diff --git a/i18n/uk.yaml b/i18n/uk.yaml
index 3bd4f71..d566b50 100644
--- a/i18n/uk.yaml
+++ b/i18n/uk.yaml
@@ -53,6 +53,10 @@ widget:
title:
other: Теґи
+ categoriesCloud:
+ title:
+ other: Категорії
+
search:
title:
other: Пошук