feat: Add support for slash commands, optimize command selector logic. (#24723)
This commit is contained in:
parent
a174ee419e
commit
27d09d1783
10 changed files with 274 additions and 32 deletions
|
|
@ -269,6 +269,7 @@ const translation = {
|
|||
selectSearchType: 'Choose what to search for',
|
||||
searchHint: 'Start typing to search everything instantly',
|
||||
commandHint: 'Type @ to browse by category',
|
||||
slashHint: 'Type / to see all available commands',
|
||||
actions: {
|
||||
searchApplications: 'Search Applications',
|
||||
searchApplicationsDesc: 'Search and navigate to your applications',
|
||||
|
|
@ -292,7 +293,11 @@ const translation = {
|
|||
languageCategoryTitle: 'Language',
|
||||
languageCategoryDesc: 'Switch interface language',
|
||||
languageChangeDesc: 'Change UI language',
|
||||
slashDesc: 'Execute commands like /theme, /lang',
|
||||
slashDesc: 'Execute commands (type / to see all available commands)',
|
||||
accountDesc: 'Navigate to account page',
|
||||
communityDesc: 'Open Discord community',
|
||||
docDesc: 'Open help documentation',
|
||||
feedbackDesc: 'Open community feedback discussions',
|
||||
},
|
||||
emptyState: {
|
||||
noAppsFound: 'No apps found',
|
||||
|
|
|
|||
|
|
@ -268,6 +268,7 @@ const translation = {
|
|||
selectSearchType: '选择搜索内容',
|
||||
searchHint: '开始输入即可立即搜索所有内容',
|
||||
commandHint: '输入 @ 按类别浏览',
|
||||
slashHint: '输入 / 查看所有可用命令',
|
||||
actions: {
|
||||
searchApplications: '搜索应用程序',
|
||||
searchApplicationsDesc: '搜索并导航到您的应用程序',
|
||||
|
|
@ -291,7 +292,11 @@ const translation = {
|
|||
languageCategoryTitle: '语言',
|
||||
languageCategoryDesc: '切换界面语言',
|
||||
languageChangeDesc: '更改界面语言',
|
||||
slashDesc: '执行诸如 /theme、/lang 等命令',
|
||||
slashDesc: '执行命令(输入 / 查看所有可用命令)',
|
||||
accountDesc: '导航到账户页面',
|
||||
communityDesc: '打开 Discord 社区',
|
||||
docDesc: '打开帮助文档',
|
||||
feedbackDesc: '打开社区反馈讨论',
|
||||
},
|
||||
emptyState: {
|
||||
noAppsFound: '未找到应用',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue