Improved search experience in many languages

This commit is contained in:
squidfunk 2020-06-21 13:22:48 +02:00
parent c75fca5105
commit e6e7536356
53 changed files with 80 additions and 64 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1,10 +1,10 @@
{ {
"assets/javascripts/bundle.js": "assets/javascripts/bundle.565e6875.min.js", "assets/javascripts/bundle.js": "assets/javascripts/bundle.dd72b84b.min.js",
"assets/javascripts/bundle.js.map": "assets/javascripts/bundle.565e6875.min.js.map", "assets/javascripts/bundle.js.map": "assets/javascripts/bundle.dd72b84b.min.js.map",
"assets/javascripts/vendor.js": "assets/javascripts/vendor.de50e36d.min.js", "assets/javascripts/vendor.js": "assets/javascripts/vendor.de50e36d.min.js",
"assets/javascripts/vendor.js.map": "assets/javascripts/vendor.de50e36d.min.js.map", "assets/javascripts/vendor.js.map": "assets/javascripts/vendor.de50e36d.min.js.map",
"assets/javascripts/worker/search.js": "assets/javascripts/worker/search.7a2ea5ba.min.js", "assets/javascripts/worker/search.js": "assets/javascripts/worker/search.9b3611bd.min.js",
"assets/javascripts/worker/search.js.map": "assets/javascripts/worker/search.7a2ea5ba.min.js.map", "assets/javascripts/worker/search.js.map": "assets/javascripts/worker/search.9b3611bd.min.js.map",
"assets/stylesheets/main.css": "assets/stylesheets/main.545621a7.min.css", "assets/stylesheets/main.css": "assets/stylesheets/main.545621a7.min.css",
"assets/stylesheets/main.css.map": "assets/stylesheets/main.545621a7.min.css.map", "assets/stylesheets/main.css.map": "assets/stylesheets/main.545621a7.min.css.map",
"assets/stylesheets/palette.css": "assets/stylesheets/palette.36d1b78f.min.css", "assets/stylesheets/palette.css": "assets/stylesheets/palette.36d1b78f.min.css",

View File

@ -183,7 +183,7 @@
</div> </div>
{% block scripts %} {% block scripts %}
<script src="{{ 'assets/javascripts/vendor.de50e36d.min.js' | url }}"></script> <script src="{{ 'assets/javascripts/vendor.de50e36d.min.js' | url }}"></script>
<script src="{{ 'assets/javascripts/bundle.565e6875.min.js' | url }}"></script> <script src="{{ 'assets/javascripts/bundle.dd72b84b.min.js' | url }}"></script>
{%- set translations = {} -%} {%- set translations = {} -%}
{%- for key in [ {%- for key in [
"clipboard.copy", "clipboard.copy",
@ -207,7 +207,7 @@
base: "{{ base_url }}", base: "{{ base_url }}",
features: {{ config.theme.features | tojson }}, features: {{ config.theme.features | tojson }},
search: Object.assign({ search: Object.assign({
worker: "{{ 'assets/javascripts/worker/search.7a2ea5ba.min.js' | url }}" worker: "{{ 'assets/javascripts/worker/search.9b3611bd.min.js' | url }}"
}, typeof search !== "undefined" && search) }, typeof search !== "undefined" && search)
}) })
</script> </script>

View File

@ -11,8 +11,7 @@
"footer.next": "التالية", "footer.next": "التالية",
"meta.comments": "التعليقات", "meta.comments": "التعليقات",
"meta.source": "المصدر", "meta.source": "المصدر",
"search.config.lang": "ar", "search.config.pipeline": " ",
"search.config.pipeline": "stemmer",
"search.placeholder": "بحث", "search.placeholder": "بحث",
"search.result.placeholder": "اكتب لبدء البحث", "search.result.placeholder": "اكتب لبدء البحث",
"search.result.none": "لا توجد نتائج", "search.result.none": "لا توجد نتائج",

View File

@ -10,7 +10,6 @@
"footer.next": "Další", "footer.next": "Další",
"meta.comments": "Komentáře", "meta.comments": "Komentáře",
"meta.source": "Zdroj", "meta.source": "Zdroj",
"search.config.lang": "ro",
"search.placeholder": "Hledat", "search.placeholder": "Hledat",
"search.result.placeholder": "Pište co se má vyhledat", "search.result.placeholder": "Pište co se má vyhledat",
"search.result.none": "Nenalezeny žádné dokumenty", "search.result.none": "Nenalezeny žádné dokumenty",

View File

@ -10,7 +10,6 @@
"footer.next": "Järgmine", "footer.next": "Järgmine",
"meta.comments": "Kommentaarid", "meta.comments": "Kommentaarid",
"meta.source": "Lähtekood", "meta.source": "Lähtekood",
"search.config.pipeline": "",
"search.placeholder": "Otsi", "search.placeholder": "Otsi",
"search.result.placeholder": "Otsimiseks kirjuta siia", "search.result.placeholder": "Otsimiseks kirjuta siia",
"search.result.none": "Otsingule ei leitud ühtegi vastet", "search.result.none": "Otsingule ei leitud ühtegi vastet",

View File

@ -11,7 +11,7 @@
"footer.next": "بعدی", "footer.next": "بعدی",
"meta.comments": "نظرات", "meta.comments": "نظرات",
"meta.source": "منبع", "meta.source": "منبع",
"search.config.pipeline": "", "search.config.pipeline": " ",
"search.placeholder": "جستجو", "search.placeholder": "جستجو",
"search.result.placeholder": "برای شروع جستجو تایپ کنید", "search.result.placeholder": "برای شروع جستجو تایپ کنید",
"search.result.none": "سندی یافت نشد", "search.result.none": "سندی یافت نشد",

View File

@ -10,6 +10,7 @@
"footer.next": "Προηγούμενη", "footer.next": "Προηγούμενη",
"meta.comments": "Σχόλια", "meta.comments": "Σχόλια",
"meta.source": "Πηγή", "meta.source": "Πηγή",
"search.config.pipeline": " ",
"search.placeholder": "Αναζήτηση", "search.placeholder": "Αναζήτηση",
"search.result.placeholder": "Πληκτρολογήστε για να αρχίσει η αναζήτηση", "search.result.placeholder": "Πληκτρολογήστε για να αρχίσει η αναζήτηση",
"search.result.none": "Δε βρέθηκαν αντίστοιχα αρχεία", "search.result.none": "Δε βρέθηκαν αντίστοιχα αρχεία",

View File

@ -11,8 +11,7 @@
"footer.next": "הַבָּא", "footer.next": "הַבָּא",
"meta.comments": "הערות", "meta.comments": "הערות",
"meta.source": "מָקוֹר", "meta.source": "מָקוֹר",
"search.config.lang": "ar", "search.config.pipeline": " ",
"search.config.pipeline": "stemmer",
"search.placeholder": "לחפש", "search.placeholder": "לחפש",
"search.result.placeholder": "הקלד כדי להתחיל לחפש", "search.result.placeholder": "הקלד כדי להתחיל לחפש",
"search.result.none": "אין מסמכים תואמים", "search.result.none": "אין מסמכים תואמים",

View File

@ -10,8 +10,7 @@
"footer.next": "आगामी", "footer.next": "आगामी",
"meta.comments": "टिप्पणियाँ", "meta.comments": "टिप्पणियाँ",
"meta.source": "स्रोत", "meta.source": "स्रोत",
"search.config.lang": "ar" "search.config.pipeline": " ",
"search.config.pipeline": "stemmer",
"search.placeholder": "खोज", "search.placeholder": "खोज",
"search.result.placeholder": "खोज शुरू करने के लिए टाइप करें", "search.result.placeholder": "खोज शुरू करने के लिए टाइप करें",
"search.result.none": "कोई मिलान डॉक्यूमेंट नहीं", "search.result.none": "कोई मिलान डॉक्यूमेंट नहीं",

View File

@ -10,7 +10,6 @@
"footer.next": "Sljedeće", "footer.next": "Sljedeće",
"meta.comments": "Komentari", "meta.comments": "Komentari",
"meta.source": "Izvor", "meta.source": "Izvor",
"search.config.pipeline": "",
"search.placeholder": "Pretraživanje", "search.placeholder": "Pretraživanje",
"search.result.placeholder": "Unesite pojam pretraživanja", "search.result.placeholder": "Unesite pojam pretraživanja",
"search.result.none": "Ništa nije pronađeno", "search.result.none": "Ništa nije pronađeno",

View File

@ -10,7 +10,7 @@
"footer.next": "Selanjutnya", "footer.next": "Selanjutnya",
"meta.comments": "Komentar", "meta.comments": "Komentar",
"meta.source": "Sumber", "meta.source": "Sumber",
"search.config.pipeline": "", "search.config.pipeline": " ",
"search.placeholder": "Cari", "search.placeholder": "Cari",
"search.result.placeholder": "Ketik untuk mulai pencarian", "search.result.placeholder": "Ketik untuk mulai pencarian",
"search.result.none": "Tidak ada dokumen yang sesuai", "search.result.none": "Tidak ada dokumen yang sesuai",

View File

@ -11,6 +11,7 @@
"meta.comments": "コメント", "meta.comments": "コメント",
"meta.source": "ソース", "meta.source": "ソース",
"search.config.lang": "ja", "search.config.lang": "ja",
"search.config.pipeline": "trimmer, stemmer",
"search.config.separator": "[\s\- 、。,.]+", "search.config.separator": "[\s\- 、。,.]+",
"search.placeholder": "検索", "search.placeholder": "検索",
"search.result.placeholder": "検索キーワードを入力してください", "search.result.placeholder": "検索キーワードを入力してください",

View File

@ -10,8 +10,7 @@
"footer.next": "다음", "footer.next": "다음",
"meta.comments": "댓글", "meta.comments": "댓글",
"meta.source": "출처", "meta.source": "출처",
"search.config.lang": "ja", "search.config.pipeline": " ",
"search.config.pipeline": "",
"search.placeholder": "검색", "search.placeholder": "검색",
"search.result.placeholder": "검색어를 입력하세요", "search.result.placeholder": "검색어를 입력하세요",
"search.result.none": "검색어와 일치하는 문서가 없습니다", "search.result.none": "검색어와 일치하는 문서가 없습니다",

View File

@ -13,8 +13,7 @@
"meta.comments": "မှတ်ချက်များ", "meta.comments": "မှတ်ချက်များ",
"meta.source": "ရင်းမြစ်", "meta.source": "ရင်းမြစ်",
"nav.title": "လမ်းညွှန်", "nav.title": "လမ်းညွှန်",
"search.config.lang": "ar", "search.config.pipeline": " ",
"search.config.pipeline": "stemmer",
"search.placeholder": "ရှာရန်", "search.placeholder": "ရှာရန်",
"search.reset": "ရှင်းလင်း", "search.reset": "ရှင်းလင်း",
"search.result.placeholder": "ရှာဖွေခြင်းစရန် စာရိုက်ပါ", "search.result.placeholder": "ရှာဖွေခြင်းစရန် စာရိုက်ပါ",

View File

@ -10,7 +10,7 @@
"footer.next": "Następna strona", "footer.next": "Następna strona",
"meta.comments": "Komentarze", "meta.comments": "Komentarze",
"meta.source": "Kod źródłowy", "meta.source": "Kod źródłowy",
"search.config.pipeline": "", "search.config.pipeline": " ",
"search.placeholder": "Szukaj", "search.placeholder": "Szukaj",
"search.result.placeholder": "Zacznij pisać, aby szukać", "search.result.placeholder": "Zacznij pisać, aby szukać",
"search.result.none": "Brak wyników wyszukiwania", "search.result.none": "Brak wyników wyszukiwania",

View File

@ -11,7 +11,6 @@
"meta.comments": "Комментарии", "meta.comments": "Комментарии",
"meta.source": "Исходный код", "meta.source": "Исходный код",
"search.config.lang": "ru", "search.config.lang": "ru",
"search.config.pipeline": "stemmer",
"search.placeholder": "Поиск", "search.placeholder": "Поиск",
"search.result.placeholder": "Начните печатать для поиска", "search.result.placeholder": "Начните печатать для поиска",
"search.result.none": "Совпадений не найдено", "search.result.none": "Совпадений не найдено",

View File

@ -10,7 +10,6 @@
"footer.next": "Sledeće", "footer.next": "Sledeće",
"meta.comments": "Komentari", "meta.comments": "Komentari",
"meta.source": "Izvor", "meta.source": "Izvor",
"search.config.lang": "ro",
"search.placeholder": "Pretraga", "search.placeholder": "Pretraga",
"search.result.placeholder": "Unesite pojam pretrage", "search.result.placeholder": "Unesite pojam pretrage",
"search.result.none": "Ništa nije pronađeno", "search.result.none": "Ništa nije pronađeno",

View File

@ -11,7 +11,6 @@
"meta.comments": "Коментари", "meta.comments": "Коментари",
"meta.source": "Извор", "meta.source": "Извор",
"search.config.lang": "ru", "search.config.lang": "ru",
"search.config.pipeline": "stemmer",
"search.placeholder": "Претрага", "search.placeholder": "Претрага",
"search.result.placeholder": "Унесите појам претраге", "search.result.placeholder": "Унесите појам претраге",
"search.result.none": "Нису пронађени документи", "search.result.none": "Нису пронађени документи",

View File

@ -10,6 +10,7 @@
"footer.next": "ต่อไป", "footer.next": "ต่อไป",
"meta.comments": "ความคิดเห็น", "meta.comments": "ความคิดเห็น",
"meta.source": "แหล่งที่มา", "meta.source": "แหล่งที่มา",
"search.config.pipeline": " ",
"search.placeholder": "ค้นหา", "search.placeholder": "ค้นหา",
"search.result.placeholder": "พิมพ์เพื่อเริ่มค้นหา", "search.result.placeholder": "พิมพ์เพื่อเริ่มค้นหา",
"search.result.none": "ไม่พบเอกสารที่ตรงกัน", "search.result.none": "ไม่พบเอกสารที่ตรงกัน",

View File

@ -10,6 +10,7 @@
"footer.next": "Sau", "footer.next": "Sau",
"meta.comments": "Bình luận", "meta.comments": "Bình luận",
"meta.source": "Mã nguồn", "meta.source": "Mã nguồn",
"search.config.lang": "vi",
"search.placeholder": "Tìm kiếm", "search.placeholder": "Tìm kiếm",
"search.result.placeholder": "Nhập để bắt đầu tìm kiếm", "search.result.placeholder": "Nhập để bắt đầu tìm kiếm",
"search.result.none": "Không tìm thấy tài liệu liên quan", "search.result.none": "Không tìm thấy tài liệu liên quan",

View File

@ -11,6 +11,7 @@
"meta.comments": "評論", "meta.comments": "評論",
"meta.source": "來源", "meta.source": "來源",
"search.config.lang": "ja", "search.config.lang": "ja",
"search.config.pipeline": "trimmer, stemmer",
"search.config.separator": "[\\。]+", "search.config.separator": "[\\。]+",
"search.placeholder": "搜尋", "search.placeholder": "搜尋",
"search.result.placeholder": "鍵入以開始檢索", "search.result.placeholder": "鍵入以開始檢索",

View File

@ -11,6 +11,7 @@
"meta.comments": "留言", "meta.comments": "留言",
"meta.source": "來源", "meta.source": "來源",
"search.config.lang": "ja", "search.config.lang": "ja",
"search.config.pipeline": "trimmer, stemmer",
"search.config.separator": "[\s\- 、。,.?;]+", "search.config.separator": "[\s\- 、。,.?;]+",
"search.placeholder": "搜尋", "search.placeholder": "搜尋",
"search.result.placeholder": "打字進行搜尋", "search.result.placeholder": "打字進行搜尋",

View File

@ -11,6 +11,7 @@
"meta.comments": "评论", "meta.comments": "评论",
"meta.source": "来源", "meta.source": "来源",
"search.config.lang": "ja", "search.config.lang": "ja",
"search.config.pipeline": "trimmer, stemmer",
"search.config.separator": "[\\。]+", "search.config.separator": "[\\。]+",
"search.placeholder": "搜索", "search.placeholder": "搜索",
"search.result.placeholder": "键入以开始搜索", "search.result.placeholder": "键入以开始搜索",

View File

@ -58,9 +58,9 @@ export interface SearchIndexDocument {
* Search index pipeline function * Search index pipeline function
*/ */
export type SearchIndexPipelineFn = export type SearchIndexPipelineFn =
| "stemmer" /* Stemmer */
| "stopWordFilter" /* Stop word filter */
| "trimmer" /* Trimmer */ | "trimmer" /* Trimmer */
| "stopWordFilter" /* Stop word filter */
| "stemmer" /* Stemmer */
/** /**
* Search index pipeline * Search index pipeline
@ -92,6 +92,25 @@ export interface SearchResult {
sections: SectionDocument[] /* Section documents */ sections: SectionDocument[] /* Section documents */
} }
/* ----------------------------------------------------------------------------
* Functions
* ------------------------------------------------------------------------- */
/**
* Compute the difference of two lists of strings
*
* @param a - 1st list of strings
* @param b - 2nd list of strings
*
* @return Difference
*/
function difference(a: string[], b: string[]): string[] {
const [x, y] = [new Set(a), new Set(b)]
return [
...new Set([...x].filter(value => !y.has(value)))
]
}
/* ---------------------------------------------------------------------------- /* ----------------------------------------------------------------------------
* Class * Class
* ------------------------------------------------------------------------- */ * ------------------------------------------------------------------------- */
@ -147,15 +166,20 @@ export class Search {
this.use((lunr as any).multiLanguage(...config.lang)) this.use((lunr as any).multiLanguage(...config.lang))
} }
/* Set up pipeline according to configuration */ /* Compute functions to be removed from the pipeline */
this.pipeline.reset() const fns = difference([
for (const fn of pipeline!) "trimmer", "stopWordFilter", "stemmer"
this.pipeline.add(lunr[fn]) ], pipeline!)
/* Set up search pipeline according to configuration */ /* Remove functions from the pipeline for every language */
this.searchPipeline.reset() for (const lang of config.lang.map(language => (
for (const fn of pipeline!) language === "en" ? lunr : (lunr as any)[language]
this.searchPipeline.add(lunr[fn]) ))) {
for (const fn of fns) {
this.pipeline.remove(lang[fn])
this.searchPipeline.remove(lang[fn])
}
}
/* Set up fields and reference */ /* Set up fields and reference */
this.field("title", { boost: 1000 }) this.field("title", { boost: 1000 })

View File

@ -51,5 +51,5 @@ export function defaultTransform(value: string): string {
return value return value
.replace(/(?:^|\s+)[*+-:^~]+(?=\s+|$)/g, "") .replace(/(?:^|\s+)[*+-:^~]+(?=\s+|$)/g, "")
.trim() .trim()
.replace(/\s+|\b$/g, "* ") .replace(/\s+|(?![^\x00-\x7F]|^)$|\b$/g, "* ")
} }

View File

@ -31,8 +31,7 @@
"footer.next": "التالية", "footer.next": "التالية",
"meta.comments": "التعليقات", "meta.comments": "التعليقات",
"meta.source": "المصدر", "meta.source": "المصدر",
"search.config.lang": "ar", "search.config.pipeline": " ",
"search.config.pipeline": "stemmer",
"search.placeholder": "بحث", "search.placeholder": "بحث",
"search.result.placeholder": "اكتب لبدء البحث", "search.result.placeholder": "اكتب لبدء البحث",
"search.result.none": "لا توجد نتائج", "search.result.none": "لا توجد نتائج",

View File

@ -30,7 +30,6 @@
"footer.next": "Další", "footer.next": "Další",
"meta.comments": "Komentáře", "meta.comments": "Komentáře",
"meta.source": "Zdroj", "meta.source": "Zdroj",
"search.config.lang": "ro",
"search.placeholder": "Hledat", "search.placeholder": "Hledat",
"search.result.placeholder": "Pište co se má vyhledat", "search.result.placeholder": "Pište co se má vyhledat",
"search.result.none": "Nenalezeny žádné dokumenty", "search.result.none": "Nenalezeny žádné dokumenty",

View File

@ -30,7 +30,6 @@
"footer.next": "Järgmine", "footer.next": "Järgmine",
"meta.comments": "Kommentaarid", "meta.comments": "Kommentaarid",
"meta.source": "Lähtekood", "meta.source": "Lähtekood",
"search.config.pipeline": "",
"search.placeholder": "Otsi", "search.placeholder": "Otsi",
"search.result.placeholder": "Otsimiseks kirjuta siia", "search.result.placeholder": "Otsimiseks kirjuta siia",
"search.result.none": "Otsingule ei leitud ühtegi vastet", "search.result.none": "Otsingule ei leitud ühtegi vastet",

View File

@ -31,7 +31,7 @@
"footer.next": "بعدی", "footer.next": "بعدی",
"meta.comments": "نظرات", "meta.comments": "نظرات",
"meta.source": "منبع", "meta.source": "منبع",
"search.config.pipeline": "", "search.config.pipeline": " ",
"search.placeholder": "جستجو", "search.placeholder": "جستجو",
"search.result.placeholder": "برای شروع جستجو تایپ کنید", "search.result.placeholder": "برای شروع جستجو تایپ کنید",
"search.result.none": "سندی یافت نشد", "search.result.none": "سندی یافت نشد",

View File

@ -30,6 +30,7 @@
"footer.next": "Προηγούμενη", "footer.next": "Προηγούμενη",
"meta.comments": "Σχόλια", "meta.comments": "Σχόλια",
"meta.source": "Πηγή", "meta.source": "Πηγή",
"search.config.pipeline": " ",
"search.placeholder": "Αναζήτηση", "search.placeholder": "Αναζήτηση",
"search.result.placeholder": "Πληκτρολογήστε για να αρχίσει η αναζήτηση", "search.result.placeholder": "Πληκτρολογήστε για να αρχίσει η αναζήτηση",
"search.result.none": "Δε βρέθηκαν αντίστοιχα αρχεία", "search.result.none": "Δε βρέθηκαν αντίστοιχα αρχεία",

View File

@ -31,8 +31,7 @@
"footer.next": "הַבָּא", "footer.next": "הַבָּא",
"meta.comments": "הערות", "meta.comments": "הערות",
"meta.source": "מָקוֹר", "meta.source": "מָקוֹר",
"search.config.lang": "ar", "search.config.pipeline": " ",
"search.config.pipeline": "stemmer",
"search.placeholder": "לחפש", "search.placeholder": "לחפש",
"search.result.placeholder": "הקלד כדי להתחיל לחפש", "search.result.placeholder": "הקלד כדי להתחיל לחפש",
"search.result.none": "אין מסמכים תואמים", "search.result.none": "אין מסמכים תואמים",

View File

@ -30,8 +30,7 @@
"footer.next": "आगामी", "footer.next": "आगामी",
"meta.comments": "टिप्पणियाँ", "meta.comments": "टिप्पणियाँ",
"meta.source": "स्रोत", "meta.source": "स्रोत",
"search.config.lang": "ar" "search.config.pipeline": " ",
"search.config.pipeline": "stemmer",
"search.placeholder": "खोज", "search.placeholder": "खोज",
"search.result.placeholder": "खोज शुरू करने के लिए टाइप करें", "search.result.placeholder": "खोज शुरू करने के लिए टाइप करें",
"search.result.none": "कोई मिलान डॉक्यूमेंट नहीं", "search.result.none": "कोई मिलान डॉक्यूमेंट नहीं",

View File

@ -30,7 +30,6 @@
"footer.next": "Sljedeće", "footer.next": "Sljedeće",
"meta.comments": "Komentari", "meta.comments": "Komentari",
"meta.source": "Izvor", "meta.source": "Izvor",
"search.config.pipeline": "",
"search.placeholder": "Pretraživanje", "search.placeholder": "Pretraživanje",
"search.result.placeholder": "Unesite pojam pretraživanja", "search.result.placeholder": "Unesite pojam pretraživanja",
"search.result.none": "Ništa nije pronađeno", "search.result.none": "Ništa nije pronađeno",

View File

@ -30,7 +30,7 @@
"footer.next": "Selanjutnya", "footer.next": "Selanjutnya",
"meta.comments": "Komentar", "meta.comments": "Komentar",
"meta.source": "Sumber", "meta.source": "Sumber",
"search.config.pipeline": "", "search.config.pipeline": " ",
"search.placeholder": "Cari", "search.placeholder": "Cari",
"search.result.placeholder": "Ketik untuk mulai pencarian", "search.result.placeholder": "Ketik untuk mulai pencarian",
"search.result.none": "Tidak ada dokumen yang sesuai", "search.result.none": "Tidak ada dokumen yang sesuai",

View File

@ -31,6 +31,7 @@
"meta.comments": "コメント", "meta.comments": "コメント",
"meta.source": "ソース", "meta.source": "ソース",
"search.config.lang": "ja", "search.config.lang": "ja",
"search.config.pipeline": "trimmer, stemmer",
"search.config.separator": "[\s\- 、。,.]+", "search.config.separator": "[\s\- 、。,.]+",
"search.placeholder": "検索", "search.placeholder": "検索",
"search.result.placeholder": "検索キーワードを入力してください", "search.result.placeholder": "検索キーワードを入力してください",

View File

@ -30,8 +30,7 @@
"footer.next": "다음", "footer.next": "다음",
"meta.comments": "댓글", "meta.comments": "댓글",
"meta.source": "출처", "meta.source": "출처",
"search.config.lang": "ja", "search.config.pipeline": " ",
"search.config.pipeline": "",
"search.placeholder": "검색", "search.placeholder": "검색",
"search.result.placeholder": "검색어를 입력하세요", "search.result.placeholder": "검색어를 입력하세요",
"search.result.none": "검색어와 일치하는 문서가 없습니다", "search.result.none": "검색어와 일치하는 문서가 없습니다",

View File

@ -33,8 +33,7 @@
"meta.comments": "မှတ်ချက်များ", "meta.comments": "မှတ်ချက်များ",
"meta.source": "ရင်းမြစ်", "meta.source": "ရင်းမြစ်",
"nav.title": "လမ်းညွှန်", "nav.title": "လမ်းညွှန်",
"search.config.lang": "ar", "search.config.pipeline": " ",
"search.config.pipeline": "stemmer",
"search.placeholder": "ရှာရန်", "search.placeholder": "ရှာရန်",
"search.reset": "ရှင်းလင်း", "search.reset": "ရှင်းလင်း",
"search.result.placeholder": "ရှာဖွေခြင်းစရန် စာရိုက်ပါ", "search.result.placeholder": "ရှာဖွေခြင်းစရန် စာရိုက်ပါ",

View File

@ -30,7 +30,7 @@
"footer.next": "Następna strona", "footer.next": "Następna strona",
"meta.comments": "Komentarze", "meta.comments": "Komentarze",
"meta.source": "Kod źródłowy", "meta.source": "Kod źródłowy",
"search.config.pipeline": "", "search.config.pipeline": " ",
"search.placeholder": "Szukaj", "search.placeholder": "Szukaj",
"search.result.placeholder": "Zacznij pisać, aby szukać", "search.result.placeholder": "Zacznij pisać, aby szukać",
"search.result.none": "Brak wyników wyszukiwania", "search.result.none": "Brak wyników wyszukiwania",

View File

@ -31,7 +31,6 @@
"meta.comments": "Комментарии", "meta.comments": "Комментарии",
"meta.source": "Исходный код", "meta.source": "Исходный код",
"search.config.lang": "ru", "search.config.lang": "ru",
"search.config.pipeline": "stemmer",
"search.placeholder": "Поиск", "search.placeholder": "Поиск",
"search.result.placeholder": "Начните печатать для поиска", "search.result.placeholder": "Начните печатать для поиска",
"search.result.none": "Совпадений не найдено", "search.result.none": "Совпадений не найдено",

View File

@ -30,7 +30,6 @@
"footer.next": "Sledeće", "footer.next": "Sledeće",
"meta.comments": "Komentari", "meta.comments": "Komentari",
"meta.source": "Izvor", "meta.source": "Izvor",
"search.config.lang": "ro",
"search.placeholder": "Pretraga", "search.placeholder": "Pretraga",
"search.result.placeholder": "Unesite pojam pretrage", "search.result.placeholder": "Unesite pojam pretrage",
"search.result.none": "Ništa nije pronađeno", "search.result.none": "Ništa nije pronađeno",

View File

@ -31,7 +31,6 @@
"meta.comments": "Коментари", "meta.comments": "Коментари",
"meta.source": "Извор", "meta.source": "Извор",
"search.config.lang": "ru", "search.config.lang": "ru",
"search.config.pipeline": "stemmer",
"search.placeholder": "Претрага", "search.placeholder": "Претрага",
"search.result.placeholder": "Унесите појам претраге", "search.result.placeholder": "Унесите појам претраге",
"search.result.none": "Нису пронађени документи", "search.result.none": "Нису пронађени документи",

View File

@ -30,6 +30,7 @@
"footer.next": "ต่อไป", "footer.next": "ต่อไป",
"meta.comments": "ความคิดเห็น", "meta.comments": "ความคิดเห็น",
"meta.source": "แหล่งที่มา", "meta.source": "แหล่งที่มา",
"search.config.pipeline": " ",
"search.placeholder": "ค้นหา", "search.placeholder": "ค้นหา",
"search.result.placeholder": "พิมพ์เพื่อเริ่มค้นหา", "search.result.placeholder": "พิมพ์เพื่อเริ่มค้นหา",
"search.result.none": "ไม่พบเอกสารที่ตรงกัน", "search.result.none": "ไม่พบเอกสารที่ตรงกัน",

View File

@ -30,6 +30,7 @@
"footer.next": "Sau", "footer.next": "Sau",
"meta.comments": "Bình luận", "meta.comments": "Bình luận",
"meta.source": "Mã nguồn", "meta.source": "Mã nguồn",
"search.config.lang": "vi",
"search.placeholder": "Tìm kiếm", "search.placeholder": "Tìm kiếm",
"search.result.placeholder": "Nhập để bắt đầu tìm kiếm", "search.result.placeholder": "Nhập để bắt đầu tìm kiếm",
"search.result.none": "Không tìm thấy tài liệu liên quan", "search.result.none": "Không tìm thấy tài liệu liên quan",

View File

@ -31,6 +31,7 @@
"meta.comments": "評論", "meta.comments": "評論",
"meta.source": "來源", "meta.source": "來源",
"search.config.lang": "ja", "search.config.lang": "ja",
"search.config.pipeline": "trimmer, stemmer",
"search.config.separator": "[\\。]+", "search.config.separator": "[\\。]+",
"search.placeholder": "搜尋", "search.placeholder": "搜尋",
"search.result.placeholder": "鍵入以開始檢索", "search.result.placeholder": "鍵入以開始檢索",

View File

@ -31,6 +31,7 @@
"meta.comments": "留言", "meta.comments": "留言",
"meta.source": "來源", "meta.source": "來源",
"search.config.lang": "ja", "search.config.lang": "ja",
"search.config.pipeline": "trimmer, stemmer",
"search.config.separator": "[\s\- 、。,.?;]+", "search.config.separator": "[\s\- 、。,.?;]+",
"search.placeholder": "搜尋", "search.placeholder": "搜尋",
"search.result.placeholder": "打字進行搜尋", "search.result.placeholder": "打字進行搜尋",

View File

@ -31,6 +31,7 @@
"meta.comments": "评论", "meta.comments": "评论",
"meta.source": "来源", "meta.source": "来源",
"search.config.lang": "ja", "search.config.lang": "ja",
"search.config.pipeline": "trimmer, stemmer",
"search.config.separator": "[\\。]+", "search.config.separator": "[\\。]+",
"search.placeholder": "搜索", "search.placeholder": "搜索",
"search.result.placeholder": "键入以开始搜索", "search.result.placeholder": "键入以开始搜索",