diff --git a/dashboard/src/i18n/locales/en-US/features/command.json b/dashboard/src/i18n/locales/en-US/features/command.json index 35e1e3b3d..57af8f35c 100644 --- a/dashboard/src/i18n/locales/en-US/features/command.json +++ b/dashboard/src/i18n/locales/en-US/features/command.json @@ -26,7 +26,6 @@ "group": "Group", "subCommand": "Sub-command" }, - "subCommandCount": "sub-commands", "status": { "enabled": "Enabled", "disabled": "Disabled", diff --git a/dashboard/src/i18n/locales/zh-CN/features/command.json b/dashboard/src/i18n/locales/zh-CN/features/command.json index 325e8a2b8..989dd18c3 100644 --- a/dashboard/src/i18n/locales/zh-CN/features/command.json +++ b/dashboard/src/i18n/locales/zh-CN/features/command.json @@ -26,7 +26,6 @@ "group": "指令组", "subCommand": "子指令" }, - "subCommandCount": "个子指令", "status": { "enabled": "已启用", "disabled": "已禁用", diff --git a/dashboard/src/views/CommandPage.vue b/dashboard/src/views/CommandPage.vue index 139250548..33326c327 100644 --- a/dashboard/src/views/CommandPage.vue +++ b/dashboard/src/views/CommandPage.vue @@ -488,15 +488,6 @@ onMounted(async () => {
{{ item.effective_command }} - - {{ item.sub_commands.length }} {{ tm('subCommandCount') }} -
@@ -509,7 +500,7 @@ onMounted(async () => { variant="tonal" > {{ getTypeInfo(item.type).icon }} - {{ getTypeInfo(item.type).text }} + {{ getTypeInfo(item.type).text }}{{ item.is_group && item.sub_commands?.length > 0 ? `(${item.sub_commands.length})` : '' }}