feat(search): add local search (#231)
* feat(search): add local search * docs: add docs for search
This commit is contained in:
15
i18n/en.toml
15
i18n/en.toml
@@ -40,6 +40,21 @@ other = "More"
|
||||
[selectLanguage]
|
||||
other = "Select Language"
|
||||
|
||||
[search]
|
||||
other = "Search"
|
||||
|
||||
[searchPlaceholder]
|
||||
other = "Search titles or contents..."
|
||||
|
||||
[clear]
|
||||
other = "Clear"
|
||||
|
||||
[cancel]
|
||||
other = "Cancel"
|
||||
|
||||
[noResultsFound]
|
||||
other = "No results found"
|
||||
|
||||
[switchTheme]
|
||||
other = "Switch Theme"
|
||||
# === partials/header.html ===
|
||||
|
||||
23
i18n/fr.toml
23
i18n/fr.toml
@@ -40,6 +40,21 @@ other = "Plus"
|
||||
[selectLanguage]
|
||||
other = "Choisir la langue"
|
||||
|
||||
[search]
|
||||
other = "Chercher"
|
||||
|
||||
[searchPlaceholder]
|
||||
other = "Rechercher des titres, des contenus..."
|
||||
|
||||
[clear]
|
||||
other = "Clair"
|
||||
|
||||
[cancel]
|
||||
other = "Annuler"
|
||||
|
||||
[noResultsFound]
|
||||
other = "Aucun résultat trouvé"
|
||||
|
||||
[switchTheme]
|
||||
other = "Changer de Thème"
|
||||
# === partials/header.html ===
|
||||
@@ -52,6 +67,14 @@ other = "Propulsé par %s"
|
||||
other = "Thème"
|
||||
# === partials/footer.html ===
|
||||
|
||||
# === partials/assets.html ===
|
||||
[lunrLanguageLib]
|
||||
other = "lib/lunr/lunr.fr.js"
|
||||
|
||||
[lunrLanguageCode]
|
||||
other = "fr"
|
||||
# === partials/assets.html ===
|
||||
|
||||
# === partials/plugin/share.html ===
|
||||
[shareOn]
|
||||
other = "Partager sur"
|
||||
|
||||
@@ -40,6 +40,21 @@ other = "更多"
|
||||
[selectLanguage]
|
||||
other = "选择语言"
|
||||
|
||||
[search]
|
||||
other = "搜索"
|
||||
|
||||
[searchPlaceholder]
|
||||
other = "搜索文章标题或内容..."
|
||||
|
||||
[clear]
|
||||
other = "清空"
|
||||
|
||||
[cancel]
|
||||
other = "取消"
|
||||
|
||||
[noResultsFound]
|
||||
other = "没有找到结果"
|
||||
|
||||
[switchTheme]
|
||||
other = "切换主题"
|
||||
# === partials/header.html ===
|
||||
@@ -52,6 +67,14 @@ other = "由 %s 强力驱动"
|
||||
other = "主题"
|
||||
# === partials/footer.html ===
|
||||
|
||||
# === partials/assets.html ===
|
||||
[lunrLanguageLib]
|
||||
other = "lib/lunr/lunr.zh.js"
|
||||
|
||||
[lunrLanguageCode]
|
||||
other = "zh"
|
||||
# === partials/assets.html ===
|
||||
|
||||
# === partials/plugin/share.html ===
|
||||
[shareOn]
|
||||
other = "分享到"
|
||||
|
||||
Reference in New Issue
Block a user