diff --git a/locales/de.json b/locales/de.json index f2085f98..064b7306 100644 --- a/locales/de.json +++ b/locales/de.json @@ -43,7 +43,6 @@ "onboarding": { "languageSelection": { "title": "Willkommen beim LoRA Manager", - "skip": "Überspringen", "continue": "Weiter", "changeFailed": "Fehler beim Ändern der Sprache: {message}" }, diff --git a/locales/en.json b/locales/en.json index 6076f0af..c518574a 100644 --- a/locales/en.json +++ b/locales/en.json @@ -43,7 +43,6 @@ "onboarding": { "languageSelection": { "title": "Welcome to LoRA Manager", - "skip": "Skip", "continue": "Continue", "changeFailed": "Failed to change language: {message}" }, diff --git a/locales/es.json b/locales/es.json index 471eb111..db682c59 100644 --- a/locales/es.json +++ b/locales/es.json @@ -43,7 +43,6 @@ "onboarding": { "languageSelection": { "title": "Bienvenido a LoRA Manager", - "skip": "Saltar", "continue": "Continuar", "changeFailed": "Error al cambiar el idioma: {message}" }, diff --git a/locales/fr.json b/locales/fr.json index 9022dd8d..5739e7cf 100644 --- a/locales/fr.json +++ b/locales/fr.json @@ -43,7 +43,6 @@ "onboarding": { "languageSelection": { "title": "Bienvenue dans LoRA Manager", - "skip": "Passer", "continue": "Continuer", "changeFailed": "Échec du changement de langue : {message}" }, diff --git a/locales/ja.json b/locales/ja.json index 99b63861..d1fc6bd5 100644 --- a/locales/ja.json +++ b/locales/ja.json @@ -43,7 +43,6 @@ "onboarding": { "languageSelection": { "title": "LoRA Managerへようこそ", - "skip": "スキップ", "continue": "続行", "changeFailed": "言語の変更に失敗しました:{message}" }, diff --git a/locales/ko.json b/locales/ko.json index 51abf06b..5d1b5447 100644 --- a/locales/ko.json +++ b/locales/ko.json @@ -43,7 +43,6 @@ "onboarding": { "languageSelection": { "title": "LoRA Manager에 오신 것을 환영합니다", - "skip": "건너뛰기", "continue": "계속", "changeFailed": "언어 변경 실패: {message}" }, diff --git a/locales/ru.json b/locales/ru.json index 73e9afb6..d3d13607 100644 --- a/locales/ru.json +++ b/locales/ru.json @@ -43,7 +43,6 @@ "onboarding": { "languageSelection": { "title": "Добро пожаловать в LoRA Manager", - "skip": "Пропустить", "continue": "Продолжить", "changeFailed": "Не удалось изменить язык: {message}" }, diff --git a/locales/zh-CN.json b/locales/zh-CN.json index f1426183..c843ed9d 100644 --- a/locales/zh-CN.json +++ b/locales/zh-CN.json @@ -43,7 +43,6 @@ "onboarding": { "languageSelection": { "title": "欢迎使用 LoRA 管理器", - "skip": "跳过", "continue": "继续", "changeFailed": "切换语言失败:{message}" }, diff --git a/locales/zh-TW.json b/locales/zh-TW.json index 9047526e..c04f39ae 100644 --- a/locales/zh-TW.json +++ b/locales/zh-TW.json @@ -43,7 +43,6 @@ "onboarding": { "languageSelection": { "title": "歡迎使用 LoRA 管理器", - "skip": "跳過", "continue": "繼續", "changeFailed": "切換語言失敗:{message}" }, diff --git a/static/js/managers/OnboardingManager.js b/static/js/managers/OnboardingManager.js index e60c5217..ccbb971f 100644 --- a/static/js/managers/OnboardingManager.js +++ b/static/js/managers/OnboardingManager.js @@ -127,7 +127,7 @@ export class OnboardingManager { `).join('')}
- +
@@ -231,13 +231,6 @@ export class OnboardingManager { this.popup = document.createElement('div'); this.popup.className = 'onboarding-popup'; document.body.appendChild(this.popup); - - // Handle clicks outside popup - this.overlay.addEventListener('click', (e) => { - if (e.target === this.overlay) { - this.skip(); - } - }); } // Show specific step @@ -412,8 +405,10 @@ export class OnboardingManager { // Clear overlay mask clearOverlayMask() { - this.overlay.style.mask = 'none'; - this.overlay.style.webkitMask = 'none'; + if (this.overlay) { + this.overlay.style.mask = 'none'; + this.overlay.style.webkitMask = 'none'; + } const maskSvg = document.getElementById('onboarding-mask'); if (maskSvg) { @@ -482,6 +477,7 @@ export class OnboardingManager { localStorage.removeItem('lora_manager_onboarding_completed'); localStorage.removeItem('lora_manager_onboarding_skipped'); localStorage.removeItem('lora_manager_onboarding_language_set'); + localStorage.setItem('lora_manager_version_info', '0.8.30-2546581'); } }