@@ -256,7 +256,7 @@ export const WatsonxAI = ({
256256 < >
257257 { /* Platform Selection */ }
258258 < div className = "w-full mb-1" >
259- < label className = "block font-medium mb-1" > Platform </ label >
259+ < label className = "block font-medium mb-1" > { t ( "settings:providers.watsonx.platform" ) } </ label >
260260 < Select
261261 value = { apiConfiguration . watsonxPlatform }
262262 onValueChange = { ( value ) => handlePlatformChange ( value as "ibmCloud" | "cloudPak" ) } >
@@ -273,7 +273,7 @@ export const WatsonxAI = ({
273273 { /* IBM Cloud specific fields */ }
274274 { apiConfiguration . watsonxPlatform === "ibmCloud" && (
275275 < div className = "w-full mb-1" >
276- < label className = "block font-medium mb-1" > Region </ label >
276+ < label className = "block font-medium mb-1" > { t ( "settings:providers.watsonx.region" ) } </ label >
277277 < Select value = { selectedRegion } onValueChange = { handleRegionSelect } >
278278 < SelectTrigger className = "w-full" >
279279 < SelectValue placeholder = { t ( "settings:providers.watsonx.region" ) } />
@@ -303,7 +303,7 @@ export const WatsonxAI = ({
303303 < label className = "block font-medium mb-1" > URL</ label >
304304 </ VSCodeTextField >
305305 < div className = "text-sm text-vscode-descriptionForeground mt-1" >
306- Enter the full URL of your IBM Cloud Pak for Data instance
306+ { t ( "settings:providers.watsonx.urlDescription" ) }
307307 </ div >
308308 </ div >
309309 ) }
@@ -314,7 +314,7 @@ export const WatsonxAI = ({
314314 onInput = { handleInputChange ( "watsonxProjectId" ) }
315315 placeholder = { t ( "settings:providers.watsonx.projectId" ) }
316316 className = "w-full" >
317- < label className = "block font-medium mb-1" > Project ID </ label >
317+ < label className = "block font-medium mb-1" > { t ( "settings:providers.watsonx.projectId" ) } </ label >
318318 </ VSCodeTextField >
319319 </ div >
320320
@@ -326,7 +326,7 @@ export const WatsonxAI = ({
326326 onInput = { handleInputChange ( "watsonxApiKey" ) }
327327 placeholder = { t ( "settings:providers.watsonx.apiKey" ) }
328328 className = "w-full" >
329- < label className = "block font-medium mb-1" > API Key </ label >
329+ < label className = "block font-medium mb-1" > { t ( "settings:providers.watsonx.apiKey" ) } </ label >
330330 </ VSCodeTextField >
331331 < div className = "text-sm text-vscode-descriptionForeground mt-1" >
332332 { t ( "settings:providers.apiKeyStorageNotice" ) }
@@ -342,21 +342,21 @@ export const WatsonxAI = ({
342342 onInput = { handleInputChange ( "watsonxUsername" ) }
343343 placeholder = { t ( "settings:providers.watsonx.username" ) }
344344 className = "w-full" >
345- < label className = "block font-medium mb-1" > Username </ label >
345+ < label className = "block font-medium mb-1" > { t ( "settings:providers.watsonx.username" ) } </ label >
346346 </ VSCodeTextField >
347347 </ div >
348348
349349 < div className = "w-full mb-1" >
350- < label className = "block font-medium mb-1" > Authentication Type </ label >
350+ < label className = "block font-medium mb-1" > { t ( "settings:providers.watsonx.authType" ) } </ label >
351351 < Select
352352 value = { apiConfiguration . watsonxAuthType }
353353 onValueChange = { ( value ) => handleAuthTypeChange ( value as "apiKey" | "password" ) } >
354354 < SelectTrigger className = "w-full" >
355355 < SelectValue placeholder = { t ( "settings:providers.watsonx.authType" ) } />
356356 </ SelectTrigger >
357357 < SelectContent >
358- < SelectItem value = "apiKey" > API Key </ SelectItem >
359- < SelectItem value = "password" > Password </ SelectItem >
358+ < SelectItem value = "apiKey" > { t ( "settings:providers.watsonx.apiKey" ) } </ SelectItem >
359+ < SelectItem value = "password" > { t ( "settings:providers.watsonx.password" ) } </ SelectItem >
360360 </ SelectContent >
361361 </ Select >
362362 </ div >
@@ -369,7 +369,9 @@ export const WatsonxAI = ({
369369 onInput = { handleInputChange ( "watsonxApiKey" ) }
370370 placeholder = { t ( "settings:providers.watsonx.apiKey" ) }
371371 className = "w-full" >
372- < label className = "block font-medium mb-1" > API Key</ label >
372+ < label className = "block font-medium mb-1" >
373+ { t ( "settings:providers.watsonx.apiKey" ) }
374+ </ label >
373375 </ VSCodeTextField >
374376 < div className = "text-sm text-vscode-descriptionForeground mt-1" >
375377 { t ( "settings:providers.apiKeyStorageNotice" ) }
@@ -383,7 +385,9 @@ export const WatsonxAI = ({
383385 onInput = { handleInputChange ( "watsonxPassword" ) }
384386 placeholder = { t ( "settings:providers.watsonx.password" ) }
385387 className = "w-full" >
386- < label className = "block font-medium mb-1" > Password</ label >
388+ < label className = "block font-medium mb-1" >
389+ { t ( "settings:providers.watsonx.password" ) }
390+ </ label >
387391 </ VSCodeTextField >
388392 < div className = "text-sm text-vscode-descriptionForeground mt-1" >
389393 { t ( "settings:providers.passwordStorageNotice" ) }
0 commit comments