Skip to content

Commit 7d9075e

Browse files
committed
fix: i18n error messages
1 parent 32e46de commit 7d9075e

File tree

18 files changed

+35
-18
lines changed

18 files changed

+35
-18
lines changed

webview-ui/src/components/settings/ApiOptions.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ const ApiOptions = ({
212212
if (selectedModelId && !modelOptions.some((option) => option.value === selectedModelId)) {
213213
modelOptions.unshift({
214214
value: selectedModelId,
215-
label: `${selectedModelId} (invalid)`,
215+
label: `${selectedModelId} ${t("settings:labels.invalidModel")}`,
216216
})
217217
}
218218

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -600,6 +600,7 @@
600600
},
601601
"labels": {
602602
"customArn": "ARN personalitzat",
603-
"useCustomArn": "Utilitza ARN personalitzat..."
603+
"useCustomArn": "Utilitza ARN personalitzat...",
604+
"invalidModel": "(invàlid)"
604605
}
605606
}

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -600,6 +600,7 @@
600600
},
601601
"labels": {
602602
"customArn": "Benutzerdefinierte ARN",
603-
"useCustomArn": "Benutzerdefinierte ARN verwenden..."
603+
"useCustomArn": "Benutzerdefinierte ARN verwenden...",
604+
"invalidModel": "(ungültig)"
604605
}
605606
}

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -600,6 +600,7 @@
600600
},
601601
"labels": {
602602
"customArn": "Custom ARN",
603-
"useCustomArn": "Use custom ARN..."
603+
"useCustomArn": "Use custom ARN...",
604+
"invalidModel": "(invalid)"
604605
}
605606
}

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -600,6 +600,7 @@
600600
},
601601
"labels": {
602602
"customArn": "ARN personalizado",
603-
"useCustomArn": "Usar ARN personalizado..."
603+
"useCustomArn": "Usar ARN personalizado...",
604+
"invalidModel": "(inválido)"
604605
}
605606
}

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -600,6 +600,7 @@
600600
},
601601
"labels": {
602602
"customArn": "ARN personnalisé",
603-
"useCustomArn": "Utiliser un ARN personnalisé..."
603+
"useCustomArn": "Utiliser un ARN personnalisé...",
604+
"invalidModel": "(invalide)"
604605
}
605606
}

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -600,6 +600,7 @@
600600
},
601601
"labels": {
602602
"customArn": "कस्टम ARN",
603-
"useCustomArn": "कस्टम ARN का उपयोग करें..."
603+
"useCustomArn": "कस्टम ARN का उपयोग करें...",
604+
"invalidModel": "(अमान्य)"
604605
}
605606
}

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -600,6 +600,7 @@
600600
},
601601
"labels": {
602602
"customArn": "ARN personalizzato",
603-
"useCustomArn": "Usa ARN personalizzato..."
603+
"useCustomArn": "Usa ARN personalizzato...",
604+
"invalidModel": "(non valido)"
604605
}
605606
}

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -600,6 +600,7 @@
600600
},
601601
"labels": {
602602
"customArn": "カスタム ARN",
603-
"useCustomArn": "カスタム ARN を使用..."
603+
"useCustomArn": "カスタム ARN を使用...",
604+
"invalidModel": "(無効)"
604605
}
605606
}

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -600,6 +600,7 @@
600600
},
601601
"labels": {
602602
"customArn": "사용자 지정 ARN",
603-
"useCustomArn": "사용자 지정 ARN 사용..."
603+
"useCustomArn": "사용자 지정 ARN 사용...",
604+
"invalidModel": "(유효하지 않음)"
604605
}
605606
}

0 commit comments

Comments
 (0)