提交 47b965bc 编写于 作者: D DCloud_LXH

update: 搜索国际化

上级 7873b991
...@@ -19,19 +19,19 @@ ...@@ -19,19 +19,19 @@
const translations = { const translations = {
button: { button: {
buttonText: '搜索', buttonText: '搜索文档',
buttonAriaLabel: '搜索', buttonAriaLabel: '搜索文档',
}, },
modal: { modal: {
searchBox: { searchBox: {
resetButtonTitle: '', resetButtonTitle: '除查询条件',
resetButtonAriaLabel: '', resetButtonAriaLabel: '除查询条件',
cancelButtonText: '取消', cancelButtonText: '取消',
cancelButtonAriaLabel: '取消', cancelButtonAriaLabel: '取消',
}, },
startScreen: { startScreen: {
recentSearchesTitle: '搜索记录', recentSearchesTitle: '搜索历史',
noRecentSearchesText: '搜索记录为空', noRecentSearchesText: '搜索历史为空',
saveRecentSearchButtonTitle: '收藏', saveRecentSearchButtonTitle: '收藏',
removeRecentSearchButtonTitle: '从搜索记录中移除', removeRecentSearchButtonTitle: '从搜索记录中移除',
favoriteSearchesTitle: '收藏', favoriteSearchesTitle: '收藏',
...@@ -42,16 +42,16 @@ ...@@ -42,16 +42,16 @@
helpText: '请检查一下网络连接', helpText: '请检查一下网络连接',
}, },
footer: { footer: {
selectText: '跳转', selectText: '选择',
navigateText: '选择', navigateText: '切换',
closeText: '关闭', closeText: '关闭',
searchByText: '', searchByText: '',
}, },
noResultsScreen: { noResultsScreen: {
noResultsText: '没有结果', noResultsText: '无法找到相关结果',
suggestedQueryText: '搜索建议', suggestedQueryText: '你可以尝试查询',
reportMissingResultsText: '确信当前搜索需要返回一个结果?', reportMissingResultsText: '你认为查询该有结果?',
reportMissingResultsLinkText: '告诉我们', reportMissingResultsLinkText: '点击反馈',
}, },
}, },
}; };
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册