File tree 1 file changed +13
-6
lines changed
1 file changed +13
-6
lines changed Original file line number Diff line number Diff line change @@ -39,18 +39,25 @@ export default defineConfig({
39
39
provider: ' local' ,
40
40
options: {
41
41
locales: {
42
- zh: {
42
+ zh: { // make this `root` if you want to translate the default locale
43
43
translations: {
44
44
button: {
45
- buttonText: ' 搜索文档 ' ,
46
- buttonAriaLabel: ' 搜索文档 '
45
+ buttonText: ' 搜索 ' ,
46
+ buttonAriaLabel: ' 搜索 '
47
47
},
48
48
modal: {
49
- noResultsText: ' 无法找到相关结果' ,
50
- resetButtonTitle: ' 清除查询条件' ,
49
+ displayDetails: ' 显示详细列表' ,
50
+ resetButtonTitle: ' 重置搜索' ,
51
+ backButtonTitle: ' 关闭搜索' ,
52
+ noResultsText: ' 没有结果' ,
51
53
footer: {
52
54
selectText: ' 选择' ,
53
- navigateText: ' 切换'
55
+ selectKeyAriaLabel: ' 输入' ,
56
+ navigateText: ' 导航' ,
57
+ navigateUpKeyAriaLabel: ' 上箭头' ,
58
+ navigateDownKeyAriaLabel: ' 下箭头' ,
59
+ closeText: ' 关闭' ,
60
+ closeKeyAriaLabel: ' esc'
54
61
}
55
62
}
56
63
}
You can’t perform that action at this time.
0 commit comments