Skip to content

Commit

Permalink
fix: 📝 修复搜索模块国际化语义问题
Browse files Browse the repository at this point in the history
  • Loading branch information
viarotel committed Sep 6, 2023
1 parent 5e99ea7 commit 6c60222
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion vitepress.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ export default {
indexName: 'viarotelio',
locales: {
root: {
placeholder: '搜索文档',
placeholder: '请输入关键词',
translations: {
button: {
buttonText: '搜索',
Expand Down Expand Up @@ -114,6 +114,9 @@ export default {
},
},
},
en: {
placeholder: 'Please enter a keyword',
},
},
},
},
Expand Down

0 comments on commit 6c60222

Please sign in to comment.