mirror of
https://github.com/willmiao/ComfyUI-Lora-Manager.git
synced 2026-03-24 06:32:12 -03:00
refactor(i18n): streamline i18n initialization and update translation methods
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
// Statistics page functionality
|
||||
import { appCore } from './core.js';
|
||||
import { showToast } from './utils/uiHelpers.js';
|
||||
import { initializePageI18n } from './utils/i18nHelpers.js';
|
||||
|
||||
// Chart.js import (assuming it's available globally or via CDN)
|
||||
// If Chart.js isn't available, we'll need to add it to the project
|
||||
@@ -27,9 +26,6 @@ class StatisticsManager {
|
||||
// Initialize charts and visualizations
|
||||
this.initializeVisualizations();
|
||||
|
||||
// Initialize i18n for the page
|
||||
initializePageI18n();
|
||||
|
||||
this.initialized = true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user