diff options
author | Dillon <dillonzq@outlook.com> | 2020-04-15 10:46:50 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-15 10:46:50 +0300 |
commit | 90184ca3e7049188709bb804119833a6bfd263d4 (patch) | |
tree | 4f48cfb2ed40efb7995d7a7db157e0ee1e331efd /i18n | |
parent | b6ce753ae7892839899962b879e2cc5808c60732 (diff) |
feat(search): add local search (#231)
* feat(search): add local search
* docs: add docs for search
Diffstat (limited to 'i18n')
-rw-r--r-- | i18n/en.toml | 15 | ||||
-rw-r--r-- | i18n/fr.toml | 23 | ||||
-rw-r--r-- | i18n/zh-CN.toml | 23 |
3 files changed, 61 insertions, 0 deletions
diff --git a/i18n/en.toml b/i18n/en.toml index 6768b1e..1a62316 100644 --- a/i18n/en.toml +++ b/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 === diff --git a/i18n/fr.toml b/i18n/fr.toml index 89f8295..349d862 100644 --- a/i18n/fr.toml +++ b/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" 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 = "分享到" |