@@ -152,10 +152,10 @@ export default defineUserConfig({
152152 } ,
153153 modal : {
154154 searchBox : {
155- resetButtonTitle : '清除查询条件' ,
156- resetButtonAriaLabel : '清除查询条件' ,
157- cancelButtonText : '取消' ,
158- cancelButtonAriaLabel : '取消' ,
155+ clearButtonTitle : '清除查询条件' ,
156+ clearButtonAriaLabel : '清除查询条件' ,
157+ closeButtonText : '取消' ,
158+ closeButtonAriaLabel : '取消' ,
159159 } ,
160160 startScreen : {
161161 recentSearchesTitle : '搜索历史' ,
@@ -173,7 +173,7 @@ export default defineUserConfig({
173173 selectText : '选择' ,
174174 navigateText : '切换' ,
175175 closeText : '关闭' ,
176- searchByText : '搜索提供者' ,
176+ poweredByText : '搜索提供者' ,
177177 } ,
178178 noResultsScreen : {
179179 noResultsText : '无法找到相关结果' ,
@@ -193,12 +193,9 @@ export default defineUserConfig({
193193 registerComponentsPlugin ( {
194194 componentsDir : path . resolve ( __dirname , './components' ) ,
195195 } ) ,
196- // only enable shiki plugin in production mode
197- isProd
198- ? shikiPlugin ( {
199- langs : [ 'bash' , 'diff' , 'json' , 'md' , 'ts' , 'vue' ] ,
200- theme : 'dark-plus' ,
201- } )
202- : [ ] ,
196+ shikiPlugin ( {
197+ langs : [ 'bash' , 'diff' , 'json' , 'md' , 'ts' , 'vue' ] ,
198+ theme : 'dark-plus' ,
199+ } ) ,
203200 ] ,
204201} )
0 commit comments