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

github.com/hossainemruz/toha.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan <jan.stuehler@web.de>2022-02-13 17:48:04 +0300
committerGitHub <noreply@github.com>2022-02-13 17:48:04 +0300
commit2c5f991275c6f795b89b5e36283294079c2efc23 (patch)
tree2544fb8c99643371c5c44390eede162239f3c7d6
parent1e951589ef2020b47997f4e91a6f6f174631a68f (diff)
fix: translated "Search" in search box (#521)
* fix: translated "Search" in search box Implemented i18n for term "Search" in search box. Added translation (mostly "Search") in i18n/*.toml files. * Fix search translation not applied to posts + update translations Co-authored-by: stueja <jan@jbook.js73.de> Co-authored-by: Emruz Hossain <hossainemruz@gmail.com>
-rw-r--r--i18n/bn.toml3
-rw-r--r--i18n/de.toml3
-rw-r--r--i18n/en.toml3
-rw-r--r--i18n/es.toml3
-rw-r--r--i18n/fr.toml3
-rw-r--r--i18n/hi.toml3
-rw-r--r--i18n/id.toml3
-rw-r--r--i18n/it.toml3
-rw-r--r--i18n/jp.toml3
-rw-r--r--i18n/ko.toml3
-rw-r--r--i18n/nl.toml4
-rw-r--r--i18n/ru.toml3
-rw-r--r--i18n/vn.toml3
-rw-r--r--i18n/zh-cn.toml3
-rw-r--r--i18n/zh-tw.toml3
-rw-r--r--layouts/_default/list.html2
-rw-r--r--layouts/_default/search.html2
-rw-r--r--layouts/_default/single.html2
-rw-r--r--layouts/categories/list.html2
-rw-r--r--layouts/notes/list.html2
-rw-r--r--layouts/notes/single.html2
-rw-r--r--layouts/tags/list.html2
22 files changed, 52 insertions, 8 deletions
diff --git a/i18n/bn.toml b/i18n/bn.toml
index b66b430..96b0546 100644
--- a/i18n/bn.toml
+++ b/i18n/bn.toml
@@ -118,3 +118,6 @@ other = "নোট সমূহ"
[disclaimer_text]
other = "দায় বিজ্ঞপ্তি"
+
+[search]
+other = "অনুসন্ধান করুন"
diff --git a/i18n/de.toml b/i18n/de.toml
index 979c7c6..191b73b 100644
--- a/i18n/de.toml
+++ b/i18n/de.toml
@@ -121,3 +121,6 @@ other = "Notizen"
[disclaimer_text]
other = "Haftungshinweis"
+
+[search]
+other = "Suche"
diff --git a/i18n/en.toml b/i18n/en.toml
index e388159..c352868 100644
--- a/i18n/en.toml
+++ b/i18n/en.toml
@@ -121,3 +121,6 @@ other = "Notes"
[disclaimer_text]
other = "Liability Notice"
+
+[search]
+other = "Search"
diff --git a/i18n/es.toml b/i18n/es.toml
index a2ab49b..5265bcd 100644
--- a/i18n/es.toml
+++ b/i18n/es.toml
@@ -121,3 +121,6 @@ other = "Notas"
[disclaimer_text]
other = "Aviso de responsabilidad"
+
+[search]
+other = "Búsqueda"
diff --git a/i18n/fr.toml b/i18n/fr.toml
index 4b9135f..ca9484a 100644
--- a/i18n/fr.toml
+++ b/i18n/fr.toml
@@ -121,3 +121,6 @@ other = "Remarques"
[disclaimer_text]
other = "Avis de responsabilité"
+
+[search]
+other = "Chercher"
diff --git a/i18n/hi.toml b/i18n/hi.toml
index 2b01f97..8348cbd 100644
--- a/i18n/hi.toml
+++ b/i18n/hi.toml
@@ -121,3 +121,6 @@ other = "टिप्पणियाँ"
[disclaimer_text]
other = "दायित्व सूचना"
+
+[search]
+other = "खोज"
diff --git a/i18n/id.toml b/i18n/id.toml
index 20b8d95..c82b940 100644
--- a/i18n/id.toml
+++ b/i18n/id.toml
@@ -121,3 +121,6 @@ other = "Catatan"
[disclaimer_text]
other = "Pemberitahuan Kewajiban"
+
+[search]
+other = "Mencari"
diff --git a/i18n/it.toml b/i18n/it.toml
index b59a57a..4ed987a 100644
--- a/i18n/it.toml
+++ b/i18n/it.toml
@@ -121,3 +121,6 @@ other = "Appunti"
[disclaimer_text]
other = "Avviso di responsabilità"
+
+[search]
+other = "Ricerca"
diff --git a/i18n/jp.toml b/i18n/jp.toml
index f243656..fab32a5 100644
--- a/i18n/jp.toml
+++ b/i18n/jp.toml
@@ -118,3 +118,6 @@ other = "ノート"
[disclaimer_text]
other = "責任通知"
+
+[search]
+other = "検索"
diff --git a/i18n/ko.toml b/i18n/ko.toml
index e9c9f4b..cefdb30 100644
--- a/i18n/ko.toml
+++ b/i18n/ko.toml
@@ -121,3 +121,6 @@ other = "메모"
[disclaimer_text]
other = "책임 고지"
+
+[search]
+other = "찾다"
diff --git a/i18n/nl.toml b/i18n/nl.toml
index 070504e..59ad565 100644
--- a/i18n/nl.toml
+++ b/i18n/nl.toml
@@ -119,4 +119,6 @@ other = "Bekijk certificaat"
other = "Opmerkingen"
[disclaimer_text]
-other = "Haftungshinweis" \ No newline at end of file
+other = "Haftungshinweis"
+[search]
+other = "Zoekopdracht"
diff --git a/i18n/ru.toml b/i18n/ru.toml
index 76fbe25..1b60205 100644
--- a/i18n/ru.toml
+++ b/i18n/ru.toml
@@ -121,3 +121,6 @@ other = "Ноты"
[disclaimer_text]
other = "Уведомление об ответственности"
+
+[search]
+other = "Поиск"
diff --git a/i18n/vn.toml b/i18n/vn.toml
index a88524e..4184752 100644
--- a/i18n/vn.toml
+++ b/i18n/vn.toml
@@ -121,3 +121,6 @@ other = "Ghi chú"
[disclaimer_text]
other = "Thông báo trách nhiệm"
+
+[search]
+other = "Tìm kiếm"
diff --git a/i18n/zh-cn.toml b/i18n/zh-cn.toml
index a186830..8ad597e 100644
--- a/i18n/zh-cn.toml
+++ b/i18n/zh-cn.toml
@@ -121,3 +121,6 @@ other = "笔记"
[disclaimer_text]
other = "免责声明"
+
+[search]
+other = "搜索"
diff --git a/i18n/zh-tw.toml b/i18n/zh-tw.toml
index f1bb3a3..1a2c9aa 100644
--- a/i18n/zh-tw.toml
+++ b/i18n/zh-tw.toml
@@ -121,3 +121,6 @@ other = "筆記"
[disclaimer_text]
other = "免責聲明"
+
+[search]
+other = "搜索"
diff --git a/layouts/_default/list.html b/layouts/_default/list.html
index 8367014..15759d3 100644
--- a/layouts/_default/list.html
+++ b/layouts/_default/list.html
@@ -20,7 +20,7 @@
<div class="sidebar-holder">
<div class="sidebar" id="sidebar">
<form class="mx-auto" method="get" action="{{ "search" | relLangURL }}">
- <input type="text" name="keyword" value="" placeholder="Search" data-search="" id="search-box" />
+ <input type="text" name="keyword" value="" placeholder="{{ i18n "search" }}" data-search="" id="search-box" />
</form>
<div class="sidebar-tree">
<ul class="tree" id="tree">
diff --git a/layouts/_default/search.html b/layouts/_default/search.html
index 42620da..b0d7f86 100644
--- a/layouts/_default/search.html
+++ b/layouts/_default/search.html
@@ -20,7 +20,7 @@
<div class="sidebar-holder">
<div class="sidebar" id="sidebar">
<form class="mx-auto" method="get" action="{{ "search" | relLangURL }}">
- <input type="text" name="keyword" value="" placeholder="Search" data-search="" id="search-box" />
+ <input type="text" name="keyword" value="" placeholder="{{ i18n "search" }}" data-search="" id="search-box" />
</form>
<div class="sidebar-tree">
<ul class="tree" id="tree">
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
index b99dcd4..a417869 100644
--- a/layouts/_default/single.html
+++ b/layouts/_default/single.html
@@ -20,7 +20,7 @@
<div class="sidebar-holder">
<div class="sidebar" id="sidebar">
<form class="mx-auto" method="get" action="{{ "search" | relLangURL }}">
- <input type="text" name="keyword" value="" placeholder="Search" data-search="" id="search-box" />
+ <input type="text" name="keyword" value="" placeholder="{{ i18n "search" }}" data-search="" id="search-box" />
</form>
<div class="sidebar-tree">
<ul class="tree" id="tree">
diff --git a/layouts/categories/list.html b/layouts/categories/list.html
index ac3d8ee..7b85ff4 100644
--- a/layouts/categories/list.html
+++ b/layouts/categories/list.html
@@ -20,7 +20,7 @@
<div class="sidebar-holder">
<div class="sidebar" id="sidebar">
<form class="mx-auto" method="get" action="{{ "search" | relLangURL }}">
- <input type="text" name="keyword" value="" placeholder="Search" data-search="" id="search-box" />
+ <input type="text" name="keyword" value="" placeholder="{{ i18n "search" }}" data-search="" id="search-box" />
</form>
<div class="sidebar-tree">
<ul class="tree" id="tree">
diff --git a/layouts/notes/list.html b/layouts/notes/list.html
index 15c1925..1ca7ca2 100644
--- a/layouts/notes/list.html
+++ b/layouts/notes/list.html
@@ -21,7 +21,7 @@
<div class="sidebar-holder">
<div class="sidebar" id="sidebar">
<form class="mx-auto" method="get" action="{{ "search" | relLangURL }}">
- <input type="text" name="keyword" value="" placeholder="Search" data-search="" id="search-box" />
+ <input type="text" name="keyword" value="" placeholder="{{ i18n "search" }}" data-search="" id="search-box" />
</form>
<div class="sidebar-tree">
<ul class="tree" id="tree">
diff --git a/layouts/notes/single.html b/layouts/notes/single.html
index f59434f..22d71d7 100644
--- a/layouts/notes/single.html
+++ b/layouts/notes/single.html
@@ -21,7 +21,7 @@
<div class="sidebar-holder">
<div class="sidebar" id="sidebar">
<form class="mx-auto" method="get" action="{{ "search" | relLangURL }}">
- <input type="text" name="keyword" value="" placeholder="Search" data-search="" id="search-box" />
+ <input type="text" name="keyword" value="" placeholder="{{ i18n "search" }}" data-search="" id="search-box" />
</form>
<div class="sidebar-tree">
<ul class="tree" id="tree">
diff --git a/layouts/tags/list.html b/layouts/tags/list.html
index fc8af4e..57072a9 100644
--- a/layouts/tags/list.html
+++ b/layouts/tags/list.html
@@ -20,7 +20,7 @@
<div class="sidebar-holder">
<div class="sidebar" id="sidebar">
<form class="mx-auto" method="get" action="{{ "search" | relLangURL }}">
- <input type="text" name="keyword" value="" placeholder="Search" data-search="" id="search-box" />
+ <input type="text" name="keyword" value="" placeholder="{{ i18n "search" }}" data-search="" id="search-box" />
</form>
<div class="sidebar-tree">
<ul class="tree" id="tree">