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>
This commit is contained in:
Jan 2022-02-13 15:48:04 +01:00 committed by GitHub
parent 1e951589ef
commit 2c5f991275
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
22 changed files with 52 additions and 8 deletions

View file

@ -118,3 +118,6 @@ other = "নোট সমূহ"
[disclaimer_text]
other = "দায় বিজ্ঞপ্তি"
[search]
other = "অনুসন্ধান করুন"

View file

@ -121,3 +121,6 @@ other = "Notizen"
[disclaimer_text]
other = "Haftungshinweis"
[search]
other = "Suche"

View file

@ -121,3 +121,6 @@ other = "Notes"
[disclaimer_text]
other = "Liability Notice"
[search]
other = "Search"

View file

@ -121,3 +121,6 @@ other = "Notas"
[disclaimer_text]
other = "Aviso de responsabilidad"
[search]
other = "Búsqueda"

View file

@ -121,3 +121,6 @@ other = "Remarques"
[disclaimer_text]
other = "Avis de responsabilité"
[search]
other = "Chercher"

View file

@ -121,3 +121,6 @@ other = "टिप्पणियाँ"
[disclaimer_text]
other = "दायित्व सूचना"
[search]
other = "खोज"

View file

@ -121,3 +121,6 @@ other = "Catatan"
[disclaimer_text]
other = "Pemberitahuan Kewajiban"
[search]
other = "Mencari"

View file

@ -121,3 +121,6 @@ other = "Appunti"
[disclaimer_text]
other = "Avviso di responsabilità"
[search]
other = "Ricerca"

View file

@ -118,3 +118,6 @@ other = "ノート"
[disclaimer_text]
other = "責任通知"
[search]
other = "検索"

View file

@ -121,3 +121,6 @@ other = "메모"
[disclaimer_text]
other = "책임 고지"
[search]
other = "찾다"

View file

@ -119,4 +119,6 @@ other = "Bekijk certificaat"
other = "Opmerkingen"
[disclaimer_text]
other = "Haftungshinweis"
other = "Haftungshinweis"
[search]
other = "Zoekopdracht"

View file

@ -121,3 +121,6 @@ other = "Ноты"
[disclaimer_text]
other = "Уведомление об ответственности"
[search]
other = "Поиск"

View file

@ -121,3 +121,6 @@ other = "Ghi chú"
[disclaimer_text]
other = "Thông báo trách nhiệm"
[search]
other = "Tìm kiếm"

View file

@ -121,3 +121,6 @@ other = "笔记"
[disclaimer_text]
other = "免责声明"
[search]
other = "搜索"

View file

@ -121,3 +121,6 @@ other = "筆記"
[disclaimer_text]
other = "免責聲明"
[search]
other = "搜索"

View file

@ -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">

View file

@ -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">

View file

@ -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">

View file

@ -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">

View file

@ -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">

View file

@ -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">

View file

@ -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">