@@ -89,10 +89,10 @@ async function handleToolToggle(toolId: string, toolName: string, currentDisable
8989 )
9090
9191 const action = newDisabledState
92- ? t (' mcpInstallations.details.mcpTools .toggle.disabled' )
93- : t (' mcpInstallations.details.mcpTools .toggle.enabled' )
92+ ? t (' mcpInstallations.details.tools .toggle.disabled' )
93+ : t (' mcpInstallations.details.tools .toggle.enabled' )
9494
95- toast .success (t (' mcpInstallations.details.mcpTools .toggle.success' , { toolName , action }), {
95+ toast .success (t (' mcpInstallations.details.tools .toggle.success' , { toolName , action }), {
9696 description: response .message
9797 })
9898 } catch (err ) {
@@ -101,8 +101,8 @@ async function handleToolToggle(toolId: string, toolName: string, currentDisable
101101 tools .value .tools [toolIndex ].is_disabled = currentDisabled
102102 }
103103
104- const errorMessage = err instanceof Error ? err .message : t (' mcpInstallations.details.mcpTools .toggle.error' )
105- toast .error (t (' mcpInstallations.details.mcpTools .toggle.errorTitle' ), {
104+ const errorMessage = err instanceof Error ? err .message : t (' mcpInstallations.details.tools .toggle.error' )
105+ toast .error (t (' mcpInstallations.details.tools .toggle.errorTitle' ), {
106106 description: errorMessage
107107 })
108108 } finally {
@@ -157,23 +157,23 @@ const pieChartOption = computed<EChartsOption>(() => {
157157 <div >
158158 <!-- Loading State -->
159159 <div v-if =" isLoading" class =" text-muted-foreground" >
160- {{ t('mcpInstallations.details.mcpTools .loading') }}
160+ {{ t('mcpInstallations.details.tools .loading') }}
161161 </div >
162162
163163 <!-- Error State -->
164164 <Alert v-else-if =" error" variant =" destructive" class =" mb-6" >
165165 <AlertCircle class =" h-4 w-4" />
166166 <AlertDescription >
167- {{ t('mcpInstallations.details.mcpTools .error.description', { error }) }}
167+ {{ t('mcpInstallations.details.tools .error.description', { error }) }}
168168 </AlertDescription >
169169 </Alert >
170170
171171 <!-- No Tools State -->
172172 <div v-else-if =" !hasTools" class =" text-center py-12" >
173173 <Package class =" mx-auto h-12 w-12 text-muted-foreground" />
174- <h3 class =" mt-4 text-lg font-semibold" >{{ t('mcpInstallations.details.mcpTools .noTools.title') }}</h3 >
174+ <h3 class =" mt-4 text-lg font-semibold" >{{ t('mcpInstallations.details.tools .noTools.title') }}</h3 >
175175 <p class =" mt-2 text-sm text-muted-foreground max-w-md mx-auto" >
176- {{ t('mcpInstallations.details.mcpTools .noTools.description') }}
176+ {{ t('mcpInstallations.details.tools .noTools.description') }}
177177 </p >
178178 </div >
179179
@@ -188,7 +188,7 @@ const pieChartOption = computed<EChartsOption>(() => {
188188 <Wrench class =" h-6 w-6 text-teal-700 dark:text-teal-400" />
189189 </div >
190190 <div >
191- <div class =" text-sm text-muted-foreground" >{{ t('mcpInstallations.details.mcpTools .summary.totalTools') }}</div >
191+ <div class =" text-sm text-muted-foreground" >{{ t('mcpInstallations.details.tools .summary.totalTools') }}</div >
192192 <div class =" text-2xl font-bold" >{{ tools.tool_count }}</div >
193193 </div >
194194 </div >
@@ -197,7 +197,7 @@ const pieChartOption = computed<EChartsOption>(() => {
197197 <Coins class =" h-6 w-6 text-amber-700 dark:text-amber-400" />
198198 </div >
199199 <div >
200- <div class =" text-sm text-muted-foreground" >{{ t('mcpInstallations.details.mcpTools .summary.totalTokens') }}</div >
200+ <div class =" text-sm text-muted-foreground" >{{ t('mcpInstallations.details.tools .summary.totalTokens') }}</div >
201201 <div class =" text-2xl font-bold" >{{ formatTokenCount(tools.total_tokens) }}</div >
202202 </div >
203203 </div >
@@ -219,10 +219,10 @@ const pieChartOption = computed<EChartsOption>(() => {
219219 <Table >
220220 <TableHeader >
221221 <TableRow >
222- <TableHead class =" w-20" >{{ t('mcpInstallations.details.mcpTools .table.columns.enabled') }}</TableHead >
223- <TableHead >{{ t('mcpInstallations.details.mcpTools .table.columns.toolName') }}</TableHead >
224- <TableHead >{{ t('mcpInstallations.details.mcpTools .table.columns.description') }}</TableHead >
225- <TableHead class =" text-right" >{{ t('mcpInstallations.details.mcpTools .table.columns.tokenCount') }}</TableHead >
222+ <TableHead class =" w-20" >{{ t('mcpInstallations.details.tools .table.columns.enabled') }}</TableHead >
223+ <TableHead >{{ t('mcpInstallations.details.tools .table.columns.toolName') }}</TableHead >
224+ <TableHead >{{ t('mcpInstallations.details.tools .table.columns.description') }}</TableHead >
225+ <TableHead class =" text-right" >{{ t('mcpInstallations.details.tools .table.columns.tokenCount') }}</TableHead >
226226 </TableRow >
227227 </TableHeader >
228228 <TableBody >
@@ -237,7 +237,7 @@ const pieChartOption = computed<EChartsOption>(() => {
237237 <TableCell class =" text-sm font-medium align-top whitespace-nowrap" >{{ tool.tool_name }}</TableCell >
238238 <TableCell class =" text-sm text-muted-foreground max-w-2xl" >
239239 <div class =" whitespace-normal wrap-break-word" >
240- {{ tool.description || t('mcpInstallations.details.mcpTools .table.values.noDescription') }}
240+ {{ tool.description || t('mcpInstallations.details.tools .table.values.noDescription') }}
241241 </div >
242242 </TableCell >
243243 <TableCell class =" text-right align-top whitespace-nowrap text-sm font-medium" >
0 commit comments