i18n.t: updates

This commit is contained in:
silentoplayz
2025-08-13 20:15:16 -04:00
parent b43acc2b3d
commit 82ed9b0a97
89 changed files with 3454 additions and 91 deletions
@@ -16,13 +16,13 @@
const onSubmit = async (modelInfo) => {
if ($models.find((m) => m.id === modelInfo.id)) {
toast.error(
`Error: A model with the ID '${modelInfo.id}' already exists. Please select a different ID to proceed.`
i18n.t("Error: A model with the ID '{{modelId}}' already exists. Please select a different ID to proceed.", { modelId: modelInfo.id })
);
return;
}
if (modelInfo.id === '') {
toast.error('Error: Model ID cannot be empty. Please enter a valid ID to proceed.');
toast.error($i18n.t('Error: Model ID cannot be empty. Please enter a valid ID to proceed.'));
return;
}