feat(localization): enhance toast messages for recipes and example images with improved error handling and success feedback

This commit is contained in:
Will Miao
2025-08-31 13:51:37 +08:00
parent e60a579b85
commit 987b8c8742
11 changed files with 134 additions and 65 deletions

View File

@@ -412,7 +412,7 @@ async function handleImportFiles(files, modelHash, importContainer) {
// Initialize the import UI for the new content
initExampleImport(modelHash, showcaseTab);
showToast('Example images imported successfully', 'success');
showToast('toast.import.imagesImported', {}, 'success');
// Update VirtualScroller if available
if (state.virtualScroller && result.model_file_path) {