Merge pull request #3408 from SimonOriginal/dev

Added i18n keys and update of Ukrainian translation
This commit is contained in:
Timothy Jaeryang Baek
2024-06-24 11:39:04 -07:00
committed by GitHub
56 changed files with 1108 additions and 66 deletions

View File

@@ -25,7 +25,7 @@
});
if (res) {
toast.success('Function created successfully');
toast.success($i18n.t('Function created successfully'));
functions.set(await getFunctions(localStorage.token));
models.set(await getModels(localStorage.token));

View File

@@ -26,7 +26,7 @@
});
if (res) {
toast.success('Function updated successfully');
toast.success($i18n.t('Function updated successfully'));
functions.set(await getFunctions(localStorage.token));
models.set(await getModels(localStorage.token));
}

View File

@@ -136,7 +136,7 @@
if (res) {
await models.set(await getModels(localStorage.token));
toast.success('Model created successfully!');
toast.success($i18n.t('Model created successfully!'));
await goto('/workspace/models');
}
}

View File

@@ -107,7 +107,7 @@
if (res) {
await models.set(await getModels(localStorage.token));
toast.success('Model updated successfully');
toast.success($i18n.t('Model updated successfully'));
await goto('/workspace/models');
}

View File

@@ -23,7 +23,7 @@
});
if (res) {
toast.success('Tool created successfully');
toast.success($i18n.t('Tool created successfully'));
tools.set(await getTools(localStorage.token));
await goto('/workspace/tools');

View File

@@ -23,7 +23,7 @@
});
if (res) {
toast.success('Tool updated successfully');
toast.success($i18n.t('Tool updated successfully'));
tools.set(await getTools(localStorage.token));
// await goto('/workspace/tools');