Skip to content

Commit e2f12af

Browse files
committed
feat(i18n): add VPC endpoint translations for AWS Bedrock settings
1 parent 1ad74a4 commit e2f12af

File tree

18 files changed

+88
-3
lines changed

18 files changed

+88
-3
lines changed

webview-ui/src/components/settings/providers/Bedrock.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ export const Bedrock = ({ apiConfiguration, setApiConfigurationField, selectedMo
132132
setAwsEndpointSelected(isChecked)
133133
setApiConfigurationField("awsBedrockEndpointEnabled", isChecked)
134134
}}>
135-
Use custom VPC endpoint
135+
{t("settings:providers.awsBedrockVpc.useCustomVpcEndpoint")}
136136
</Checkbox>
137137
{awsEndpointSelected && (
138138
<>
@@ -141,11 +141,11 @@ export const Bedrock = ({ apiConfiguration, setApiConfigurationField, selectedMo
141141
style={{ width: "100%", marginTop: 3, marginBottom: 5 }}
142142
type="url"
143143
onInput={handleInputChange("awsBedrockEndpoint")}
144-
placeholder="Enter VPC Endpoint URL (optional)"
144+
placeholder={t("settings:providers.awsBedrockVpc.vpcEndpointUrlPlaceholder")}
145145
data-testid="vpc-endpoint-input"
146146
/>
147147
<div className="text-sm text-vscode-descriptionForeground ml-6 mt-1 mb-3">
148-
Examples:
148+
{t("settings:providers.awsBedrockVpc.examples")}
149149
<div className="ml-2">• https://vpce-xxx.bedrock.region.vpce.amazonaws.com/</div>
150150
<div className="ml-2">• https://gateway.my-company.com/route/app/bedrock</div>
151151
</div>

webview-ui/src/i18n/locales/ca/settings.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,11 @@
189189
"awsSessionToken": "Token de sessió d'AWS",
190190
"awsRegion": "Regió d'AWS",
191191
"awsCrossRegion": "Utilitzar inferència entre regions",
192+
"awsBedrockVpc": {
193+
"useCustomVpcEndpoint": "Utilitzar punt final VPC personalitzat",
194+
"vpcEndpointUrlPlaceholder": "Introduïu l'URL del punt final VPC (opcional)",
195+
"examples": "Exemples:"
196+
},
192197
"enablePromptCaching": "Habilitar emmagatzematge en caché de prompts",
193198
"enablePromptCachingTitle": "Habilitar l'emmagatzematge en caché de prompts per millorar el rendiment i reduir els costos per als models compatibles.",
194199
"cacheUsageNote": "Nota: Si no veieu l'ús de la caché, proveu de seleccionar un model diferent i després tornar a seleccionar el model desitjat.",

webview-ui/src/i18n/locales/de/settings.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,11 @@
189189
"awsSessionToken": "AWS Sitzungstoken",
190190
"awsRegion": "AWS Region",
191191
"awsCrossRegion": "Regionsübergreifende Inferenz verwenden",
192+
"awsBedrockVpc": {
193+
"useCustomVpcEndpoint": "Benutzerdefinierten VPC-Endpunkt verwenden",
194+
"vpcEndpointUrlPlaceholder": "VPC-Endpunkt-URL eingeben (optional)",
195+
"examples": "Beispiele:"
196+
},
192197
"enablePromptCaching": "Prompt-Caching aktivieren",
193198
"enablePromptCachingTitle": "Prompt-Caching aktivieren, um die Leistung zu verbessern und Kosten für unterstützte Modelle zu reduzieren.",
194199
"cacheUsageNote": "Hinweis: Wenn Sie keine Cache-Nutzung sehen, versuchen Sie ein anderes Modell auszuwählen und dann Ihr gewünschtes Modell erneut auszuwählen.",

webview-ui/src/i18n/locales/en/settings.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,11 @@
189189
"awsSessionToken": "AWS Session Token",
190190
"awsRegion": "AWS Region",
191191
"awsCrossRegion": "Use cross-region inference",
192+
"awsBedrockVpc": {
193+
"useCustomVpcEndpoint": "Use custom VPC endpoint",
194+
"vpcEndpointUrlPlaceholder": "Enter VPC Endpoint URL (optional)",
195+
"examples": "Examples:"
196+
},
192197
"enablePromptCaching": "Enable prompt caching",
193198
"enablePromptCachingTitle": "Enable prompt caching to improve performance and reduce costs for supported models.",
194199
"cacheUsageNote": "Note: If you don't see cache usage, try selecting a different model and then selecting your desired model again.",

webview-ui/src/i18n/locales/es/settings.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,11 @@
189189
"awsSessionToken": "Token de sesión de AWS",
190190
"awsRegion": "Región de AWS",
191191
"awsCrossRegion": "Usar inferencia entre regiones",
192+
"awsBedrockVpc": {
193+
"useCustomVpcEndpoint": "Usar punto de conexión VPC personalizado",
194+
"vpcEndpointUrlPlaceholder": "Ingrese URL del punto de conexión VPC (opcional)",
195+
"examples": "Ejemplos:"
196+
},
192197
"enablePromptCaching": "Habilitar caché de prompts",
193198
"enablePromptCachingTitle": "Habilitar el caché de prompts para mejorar el rendimiento y reducir costos para modelos compatibles.",
194199
"cacheUsageNote": "Nota: Si no ve el uso del caché, intente seleccionar un modelo diferente y luego seleccionar nuevamente su modelo deseado.",

webview-ui/src/i18n/locales/fr/settings.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,11 @@
189189
"awsSessionToken": "Jeton de session AWS",
190190
"awsRegion": "Région AWS",
191191
"awsCrossRegion": "Utiliser l'inférence inter-régions",
192+
"awsBedrockVpc": {
193+
"useCustomVpcEndpoint": "Utiliser un point de terminaison VPC personnalisé",
194+
"vpcEndpointUrlPlaceholder": "Entrer l'URL du point de terminaison VPC (optionnel)",
195+
"examples": "Exemples :"
196+
},
192197
"enablePromptCaching": "Activer la mise en cache des prompts",
193198
"enablePromptCachingTitle": "Activer la mise en cache des prompts pour améliorer les performances et réduire les coûts pour les modèles pris en charge.",
194199
"cacheUsageNote": "Remarque : Si vous ne voyez pas l'utilisation du cache, essayez de sélectionner un modèle différent puis de sélectionner à nouveau votre modèle souhaité.",

webview-ui/src/i18n/locales/hi/settings.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,11 @@
189189
"awsSessionToken": "AWS सत्र टोकन",
190190
"awsRegion": "AWS क्षेत्र",
191191
"awsCrossRegion": "क्रॉस-क्षेत्र अनुमान का उपयोग करें",
192+
"awsBedrockVpc": {
193+
"useCustomVpcEndpoint": "कस्टम VPC एंडपॉइंट का उपयोग करें",
194+
"vpcEndpointUrlPlaceholder": "VPC एंडपॉइंट URL दर्ज करें (वैकल्पिक)",
195+
"examples": "उदाहरण:"
196+
},
192197
"enablePromptCaching": "प्रॉम्प्ट कैशिंग सक्षम करें",
193198
"enablePromptCachingTitle": "समर्थित मॉडल के लिए प्रदर्शन में सुधार और लागत को कम करने के लिए प्रॉम्प्ट कैशिंग सक्षम करें।",
194199
"cacheUsageNote": "नोट: यदि आप कैश उपयोग नहीं देखते हैं, तो एक अलग मॉडल चुनने का प्रयास करें और फिर अपने वांछित मॉडल को पुनः चुनें।",

webview-ui/src/i18n/locales/it/settings.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,11 @@
189189
"awsSessionToken": "Token di sessione AWS",
190190
"awsRegion": "Regione AWS",
191191
"awsCrossRegion": "Usa inferenza cross-regione",
192+
"awsBedrockVpc": {
193+
"useCustomVpcEndpoint": "Usa endpoint VPC personalizzato",
194+
"vpcEndpointUrlPlaceholder": "Inserisci URL endpoint VPC (opzionale)",
195+
"examples": "Esempi:"
196+
},
192197
"enablePromptCaching": "Abilita cache dei prompt",
193198
"enablePromptCachingTitle": "Abilita la cache dei prompt per migliorare le prestazioni e ridurre i costi per i modelli supportati.",
194199
"cacheUsageNote": "Nota: Se non vedi l'utilizzo della cache, prova a selezionare un modello diverso e poi seleziona nuovamente il modello desiderato.",

webview-ui/src/i18n/locales/ja/settings.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,11 @@
189189
"awsSessionToken": "AWSセッショントークン",
190190
"awsRegion": "AWSリージョン",
191191
"awsCrossRegion": "クロスリージョン推論を使用",
192+
"awsBedrockVpc": {
193+
"useCustomVpcEndpoint": "カスタムVPCエンドポイントを使用",
194+
"vpcEndpointUrlPlaceholder": "VPCエンドポイントURLを入力(任意)",
195+
"examples": "例:"
196+
},
192197
"enablePromptCaching": "プロンプトキャッシュを有効化",
193198
"enablePromptCachingTitle": "サポートされているモデルのパフォーマンスを向上させ、コストを削減するためにプロンプトキャッシュを有効化します。",
194199
"cacheUsageNote": "注意:キャッシュの使用が表示されない場合は、別のモデルを選択してから希望のモデルを再度選択してみてください。",

webview-ui/src/i18n/locales/ko/settings.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,11 @@
189189
"awsSessionToken": "AWS 세션 토큰",
190190
"awsRegion": "AWS 리전",
191191
"awsCrossRegion": "교차 리전 추론 사용",
192+
"awsBedrockVpc": {
193+
"useCustomVpcEndpoint": "사용자 지정 VPC 엔드포인트 사용",
194+
"vpcEndpointUrlPlaceholder": "VPC 엔드포인트 URL 입력 (선택사항)",
195+
"examples": "예시:"
196+
},
192197
"enablePromptCaching": "프롬프트 캐시 활성화",
193198
"enablePromptCachingTitle": "지원되는 모델의 성능을 향상시키고 비용을 절감하기 위해 프롬프트 캐시를 활성화합니다.",
194199
"cacheUsageNote": "참고: 캐시 사용이 표시되지 않는 경우, 다른 모델을 선택한 다음 원하는 모델을 다시 선택해 보세요.",

0 commit comments

Comments
 (0)