mirror of
https://github.com/willmiao/ComfyUI-Lora-Manager.git
synced 2026-03-24 22:52:12 -03:00
feat(localization): enhance toast messages for better user feedback and localization support
This commit is contained in:
@@ -129,7 +129,7 @@ async function initializeVirtualScroll(pageType) {
|
||||
|
||||
} catch (error) {
|
||||
console.error(`Error initializing virtual scroller for ${pageType}:`, error);
|
||||
showToast(`Failed to initialize ${pageType} page. Please reload.`, 'error');
|
||||
showToast('toast.general.pageInitFailed', { pageType }, 'error');
|
||||
|
||||
// Fallback: show a message in the grid
|
||||
grid.innerHTML = `
|
||||
|
||||
Reference in New Issue
Block a user