1
0
mirror of https://github.com/squidfunk/mkdocs-material.git synced 2024-11-12 01:50:52 +01:00

Refactored search configuration via localization

This commit is contained in:
squidfunk 2020-03-05 11:35:19 +01:00
parent bef1ac4923
commit ef3dc7fdc4
38 changed files with 46 additions and 48 deletions

View File

@ -351,13 +351,13 @@
{%- for key in [
"clipboard.copy",
"clipboard.copied",
"search.language",
"search.pipeline",
"search.config.lang",
"search.config.pipeline",
"search.config.separator",
"search.result.placeholder",
"search.result.none",
"search.result.one",
"search.result.other",
"search.tokenizer"
"search.result.other"
] -%}
{%- set _ = translations.update({ key: lang.t(key) }) -%}
{%- endfor -%}

View File

@ -30,7 +30,7 @@
"footer.next": "Volgende",
"meta.comments": "Kommentaar",
"meta.source": "Bron",
"search.language": "nl",
"search.config.lang": "nl",
"search.placeholder": "Soek",
"search.result.placeholder": "Tik om te begin soek",
"search.result.none": "Geen ooreenstemmende dokumente",

View File

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

View File

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

View File

@ -30,7 +30,7 @@
"footer.next": "Næste",
"meta.comments": "Kommentarer",
"meta.source": "Kilde",
"search.language": "da",
"search.config.lang": "da",
"search.placeholder": "Søg",
"search.result.placeholder": "Indtast søgeord",
"search.result.none": "Ingen resultater fundet",

View File

@ -30,7 +30,7 @@
"footer.next": "Weiter",
"meta.comments": "Kommentare",
"meta.source": "Quellcode",
"search.language": "de",
"search.config.lang": "de",
"search.placeholder": "Suche",
"search.result.placeholder": "Suchbegriff eingeben",
"search.result.none": "Keine Suchergebnisse",

View File

@ -31,14 +31,14 @@
"footer.next": "Next",
"meta.comments": "Comments",
"meta.source": "Source",
"search.language": "en",
"search.pipeline": "trimmer, stopWordFilter",
"search.config.lang": "en",
"search.config.pipeline": "trimmer, stopWordFilter",
"search.config.separator": "[\s\-]+",
"search.placeholder": "Search",
"search.result.placeholder": "Type to start searching",
"search.result.none": "No matching documents",
"search.result.one": "1 matching document",
"search.result.other": "# matching documents",
"search.tokenizer": "[\s\-]+",
"skip.link.title": "Skip to content",
"source.link.title": "Go to repository",
"source.revision.date": "Last update",

View File

@ -30,7 +30,7 @@
"footer.next": "Siguiente",
"meta.comments": "Comentarios",
"meta.source": "Fuente",
"search.language": "es",
"search.config.lang": "es",
"search.placeholder": "Búsqueda",
"search.result.placeholder": "Teclee para comenzar búsqueda",
"search.result.none": "No se encontraron documentos",

View File

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

View File

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

View File

@ -30,7 +30,7 @@
"footer.next": "Seuraava",
"meta.comments": "Kommentit",
"meta.source": "Lähdekodi",
"search.language": "fi",
"search.config.lang": "fi",
"search.placeholder": "Hae",
"search.result.placeholder": "Kirjoita aloittaaksesi haun",
"search.result.none": "Ei täsmääviä dokumentteja",

View File

@ -30,7 +30,7 @@
"footer.next": "Suivant",
"meta.comments": "Commentaires",
"meta.source": "Source",
"search.language": "fr",
"search.config.lang": "fr",
"search.placeholder": "Rechercher",
"search.result.placeholder": "Taper pour démarrer la recherche",
"search.result.none": "Aucun document trouvé",

View File

@ -30,7 +30,7 @@
"footer.next": "Seguinte",
"meta.comments": "Comentarios",
"meta.source": "Fonte",
"search.language": "es",
"search.config.lang": "es",
"search.placeholder": "Busca",
"search.result.placeholder": "Insira un termo",
"search.result.none": "Sen resultados",

View File

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

View File

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

View File

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

View File

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

View File

@ -30,7 +30,7 @@
"footer.next": "Következő",
"meta.comments": "Hozzászólások",
"meta.source": "Forrás",
"search.language": "hu",
"search.config.lang": "hu",
"search.placeholder": "Keresés",
"search.result.placeholder": "Kereséshez írj ide valamit",
"search.result.none": "Nincs találat",

View File

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

View File

@ -30,7 +30,7 @@
"footer.next": "Prossimo",
"meta.comments": "Commenti",
"meta.source": "Sorgente",
"search.language": "it",
"search.config.lang": "it",
"search.placeholder": "Cerca",
"search.result.placeholder": "Scrivi per iniziare a cercare",
"search.result.none": "Nessun documento trovato",

View File

@ -30,13 +30,13 @@
"footer.next": "次",
"meta.comments": "コメント",
"meta.source": "ソース",
"search.language": "ja",
"search.config.lang": "ja",
"search.config.separator": "[\s\- 、。,.]+",
"search.placeholder": "検索",
"search.result.placeholder": "検索キーワードを入力してください",
"search.result.none": "何も見つかりませんでした",
"search.result.one": "1件見つかりました",
"search.result.other": "#件見つかりました",
"search.tokenizer": "[\s\- 、。,.]+",
"source.link.title": "リポジトリへ",
"source.revision.date": "最終更新日",
"toc.title": "目次"

View File

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

View File

@ -30,7 +30,7 @@
"footer.next": "Volgende",
"meta.comments": "Reacties",
"meta.source": "Bron",
"search.language": "nl",
"search.config.lang": "nl",
"search.placeholder": "Zoeken",
"search.result.placeholder": "Typ om te beginnen met zoeken",
"search.result.none": "Geen overeenkomende documenten",

View File

@ -30,7 +30,7 @@
"footer.next": "Neste",
"meta.comments": "Kommentarar",
"meta.source": "Kjelde",
"search.language": "no",
"search.config.lang": "no",
"search.placeholder": "Søk",
"search.result.placeholder": "Skriv søkeord",
"search.result.none": "Ingen treff",

View File

@ -30,7 +30,7 @@
"footer.next": "Neste",
"meta.comments": "Kommentarer",
"meta.source": "Kilde",
"search.language": "no",
"search.config.lang": "no",
"search.placeholder": "Søk",
"search.result.placeholder": "Skriv søkeord",
"search.result.none": "Ingen treff",

View File

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

View File

@ -30,7 +30,7 @@
"footer.next": "Próximo",
"meta.comments": "Comentários",
"meta.source": "Fonte",
"search.language": "pt",
"search.config.lang": "pt",
"search.placeholder": "Buscar",
"search.result.placeholder": "Digite para iniciar a busca",
"search.result.none": "Nenhum resultado encontrado",

View File

@ -30,7 +30,7 @@
"footer.next": "Următor",
"meta.comments": "Comentarii",
"meta.source": "Sursă",
"search.language": "ro",
"search.config.lang": "ro",
"search.placeholder": "Căutare",
"search.result.placeholder": "Tastează pentru a începe căutarea",
"search.result.none": "Nu a fost găsit niciun document",

View File

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

View File

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

View File

@ -30,7 +30,7 @@
"footer.next": "Следеће",
"meta.comments": "Коментари",
"meta.source": "Извор",
"search.pipeline": "",
"search.config.pipeline": "",
"search.placeholder": "Претрага",
"search.result.placeholder": "Унесите појам претраге",
"search.result.none": "Нису пронађени документи",

View File

@ -30,7 +30,7 @@
"footer.next": "Nästa",
"meta.comments": "Kommentarer",
"meta.source": "Källa",
"search.language": "sv",
"search.config.lang": "sv",
"search.placeholder": "Sök",
"search.result.placeholder": "Skriv sökord",
"search.result.none": "Inga sökresultat",

View File

@ -30,13 +30,11 @@
"footer.next": "ต่อไป",
"meta.comments": "ความคิดเห็น",
"meta.source": "แหล่งที่มา",
"search.language": "th",
"search.placeholder": "ค้นหา",
"search.result.placeholder": "พิมพ์เพื่อเริ่มค้นหา",
"search.result.none": "ไม่พบเอกสารที่ตรงกัน",
"search.result.one": "พบเอกสารที่ตรงกัน",
"search.result.other": "พบ # เอกสารที่ตรงกัน",
"search.tokenizer": "[\s\-]+",
"skip.link.title": "ข้ามไปที่เนื้อหา",
"source.link.title": "ไปที่ Repository",
"toc.title": "สารบัญ"

View File

@ -30,7 +30,7 @@
"footer.next": "Sonraki",
"meta.comments": "Yorumlar",
"meta.source": "Kaynak",
"search.language": "tr",
"search.config.lang": "tr",
"search.placeholder": "Ara",
"search.result.placeholder": "Aramaya başlamak için yazın",
"search.result.none": "Eşleşen doküman bulunamadı",

View File

@ -30,7 +30,7 @@
"footer.next": "Вперед",
"meta.comments": "Коментарі",
"meta.source": "Вихідний код",
"search.language": "ru",
"search.config.lang": "ru",
"search.placeholder": "Пошук",
"search.result.placeholder": "Розпочніть писати для пошуку",
"search.result.none": "Збігів не знайдено",

View File

@ -30,13 +30,13 @@
"footer.next": "下一頁",
"meta.comments": "評論",
"meta.source": "來源",
"search.language": "ja",
"search.config.lang": "ja",
"search.config.separator": "[\\。]+",
"search.placeholder": "搜尋",
"search.result.placeholder": "鍵入以開始檢索",
"search.result.none": "沒有找到符合條件的結果",
"search.result.one": "找到 1 个符合條件的結果",
"search.result.other": "# 個符合條件的結果",
"search.tokenizer": "[\\。]+",
"skip.link.title": "跳轉至",
"source.link.title": "前往 Github 倉庫",
"source.revision.date": "最後更新",

View File

@ -30,13 +30,13 @@
"footer.next": "下一頁",
"meta.comments": "留言",
"meta.source": "來源",
"search.language": "ja",
"search.config.lang": "ja",
"search.config.separator": "[\\。]+",
"search.placeholder": "搜尋",
"search.result.placeholder": "打字進行搜尋",
"search.result.none": "沒有符合的項目",
"search.result.one": "找到 1 個符合的項目",
"search.result.other": "找到 # 個符合的項目",
"search.tokenizer": "[\\。]+",
"skip.link.title": "跳轉到",
"source.link.title": "前往倉庫",
"toc.title": "本頁目錄"

View File

@ -30,13 +30,13 @@
"footer.next": "下一页",
"meta.comments": "评论",
"meta.source": "来源",
"search.language": "ja",
"search.config.lang": "ja",
"search.config.separator": "[\\。]+",
"search.placeholder": "搜索",
"search.result.placeholder": "键入以开始搜索",
"search.result.none": "没有找到符合条件的结果",
"search.result.one": "找到 1 个符合条件的结果",
"search.result.other": "# 个符合条件的结果",
"search.tokenizer": "[\\。]+",
"skip.link.title": "跳转至",
"source.link.title": "前往 Github 仓库",
"source.revision.date": "最后更新",