From 90184ca3e7049188709bb804119833a6bfd263d4 Mon Sep 17 00:00:00 2001 From: Dillon Date: Wed, 15 Apr 2020 15:46:50 +0800 Subject: feat(search): add local search (#231) * feat(search): add local search * docs: add docs for search --- i18n/zh-CN.toml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) (limited to 'i18n/zh-CN.toml') diff --git a/i18n/zh-CN.toml b/i18n/zh-CN.toml index 1ea516b..1037e2b 100644 --- a/i18n/zh-CN.toml +++ b/i18n/zh-CN.toml @@ -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 = "分享到" -- cgit v1.2.3