From d7ac98cd6f7100347b385497be201cd4ebf05054 Mon Sep 17 00:00:00 2001 From: Sainan <63328889+Sainan@users.noreply.github.com> Date: Thu, 4 Sep 2025 19:20:38 +0200 Subject: [PATCH] chore(webui): inform users how to resync their client for certain cheats --- static/webui/script.js | 10 +++++----- static/webui/translations/de.js | 3 ++- static/webui/translations/en.js | 3 ++- static/webui/translations/es.js | 3 ++- static/webui/translations/fr.js | 3 ++- static/webui/translations/ru.js | 3 ++- static/webui/translations/uk.js | 3 ++- static/webui/translations/zh.js | 3 ++- 8 files changed, 19 insertions(+), 12 deletions(-) diff --git a/static/webui/script.js b/static/webui/script.js index 34a6662d..b4b7f32e 100644 --- a/static/webui/script.js +++ b/static/webui/script.js @@ -2753,19 +2753,19 @@ async function doMaxPlexus() { async function doUnlockAllScans() { await revalidateAuthz(); await fetch("/custom/unlockAllScans?" + window.authz); - toast(loc("cheats_unlockSucc")); + toast(loc("cheats_unlockSuccRelog")); } async function doUnlockAllShipFeatures() { await revalidateAuthz(); await fetch("/custom/unlockAllShipFeatures?" + window.authz); - toast(loc("cheats_unlockSucc")); + toast(loc("cheats_unlockSuccInventory")); } async function doUnlockAllCapturaScenes() { await revalidateAuthz(); await fetch("/custom/unlockAllCapturaScenes?" + window.authz); - toast(loc("cheats_unlockSucc")); + toast(loc("cheats_unlockSuccInventory")); } async function unlockAllMissions() { @@ -2777,13 +2777,13 @@ async function unlockAllMissions() { async function unlockAllProfitTakerStages() { await revalidateAuthz(); await fetch("/custom/unlockAllProfitTakerStages?" + window.authz); - toast(loc("cheats_unlockSucc")); + toast(loc("cheats_unlockSuccInventory")); } async function unlockAllSimarisResearchEntries() { await revalidateAuthz(); await fetch("/custom/unlockAllSimarisResearchEntries?" + window.authz); - toast(loc("cheats_unlockSucc")); + toast(loc("cheats_unlockSuccInventory")); } const importSamples = { diff --git a/static/webui/translations/de.js b/static/webui/translations/de.js index ef14b2ed..0952b5be 100644 --- a/static/webui/translations/de.js +++ b/static/webui/translations/de.js @@ -176,6 +176,7 @@ dict = { cheats_skipTutorial: `Tutorial überspringen`, cheats_skipAllDialogue: `Alle Dialoge überspringen`, cheats_unlockAllScans: `Alle Scans freischalten`, + cheats_unlockSuccRelog: `[UNTRANSLATED] Success. Please that you'll need to relog for the client to refresh this.`, cheats_unlockAllMissions: `Alle Missionen freischalten`, cheats_unlockAllMissions_ok: `Erfolgreich. Bitte beachte, dass du ein Dojo/Relais besuchen oder dich neu einloggen musst, damit die Sternenkarte aktualisiert wird.`, cheats_infiniteCredits: `Unendlich Credits`, @@ -212,7 +213,7 @@ dict = { cheats_baroFullyStocked: `Baro hat volles Inventar`, cheats_syndicateMissionsRepeatable: `Syndikat-Missionen wiederholbar`, cheats_unlockAllProfitTakerStages: `Alle Profiteintreiber-Phasen freischalten`, - cheats_unlockSucc: `[UNTRANSLATED] Successfully unlocked.`, + cheats_unlockSuccInventory: `[UNTRANSLATED] Success. Please note that you'll need to resync your inventory, e.g. using the bootstrapper's /sync command, visiting a dojo/relay, or relogging..`, cheats_instantFinishRivenChallenge: `Riven-Mod Herausforderung sofort abschließen`, cheats_instantResourceExtractorDrones: `Sofortige Ressourcen-Extraktor-Drohnen`, cheats_noResourceExtractorDronesDamage: `Kein Schaden für Ressourcen-Extraktor-Drohnen`, diff --git a/static/webui/translations/en.js b/static/webui/translations/en.js index 25f13799..d82f523a 100644 --- a/static/webui/translations/en.js +++ b/static/webui/translations/en.js @@ -175,6 +175,7 @@ dict = { cheats_skipTutorial: `Skip Tutorial`, cheats_skipAllDialogue: `Skip All Dialogue`, cheats_unlockAllScans: `Unlock All Scans`, + cheats_unlockSuccRelog: `Success. Please that you'll need to relog for the client to refresh this.`, cheats_unlockAllMissions: `Unlock All Missions`, cheats_unlockAllMissions_ok: `Success. Please note that you'll need to enter a dojo/relay or relog for the client to refresh the star chart.`, cheats_infiniteCredits: `Infinite Credits`, @@ -211,7 +212,7 @@ dict = { cheats_baroFullyStocked: `Baro Fully Stocked`, cheats_syndicateMissionsRepeatable: `Syndicate Missions Repeatable`, cheats_unlockAllProfitTakerStages: `Unlock All Profit Taker Stages`, - cheats_unlockSucc: `Successfully unlocked.`, + cheats_unlockSuccInventory: `Success. Please note that you'll need to resync your inventory, e.g. using the bootstrapper's /sync command, visiting a dojo/relay, or relogging..`, cheats_instantFinishRivenChallenge: `Instant Finish Riven Challenge`, cheats_instantResourceExtractorDrones: `Instant Resource Extractor Drones`, cheats_noResourceExtractorDronesDamage: `No Resource Extractor Drones Damage`, diff --git a/static/webui/translations/es.js b/static/webui/translations/es.js index 118742e2..b144041e 100644 --- a/static/webui/translations/es.js +++ b/static/webui/translations/es.js @@ -176,6 +176,7 @@ dict = { cheats_skipTutorial: `Omitir tutorial`, cheats_skipAllDialogue: `Omitir todos los diálogos`, cheats_unlockAllScans: `Desbloquear todos los escaneos`, + cheats_unlockSuccRelog: `[UNTRANSLATED] Success. Please that you'll need to relog for the client to refresh this.`, cheats_unlockAllMissions: `Desbloquear todas las misiones`, cheats_unlockAllMissions_ok: `Éxito. Ten en cuenta que deberás entrar a un dojo, repetidor o volver a iniciar sesión para que el cliente actualice el mapa estelar.`, cheats_infiniteCredits: `Créditos infinitos`, @@ -212,7 +213,7 @@ dict = { cheats_baroFullyStocked: `Baro con stock completo`, cheats_syndicateMissionsRepeatable: `Misiones de sindicato rejugables`, cheats_unlockAllProfitTakerStages: `Desbloquea todas las etapas del Roba-ganancias`, - cheats_unlockSucc: `[UNTRANSLATED] Successfully unlocked.`, + cheats_unlockSuccInventory: `[UNTRANSLATED] Success. Please note that you'll need to resync your inventory, e.g. using the bootstrapper's /sync command, visiting a dojo/relay, or relogging..`, cheats_instantFinishRivenChallenge: `Terminar desafío de agrietado inmediatamente`, cheats_instantResourceExtractorDrones: `Drones de extracción de recursos instantáneos`, cheats_noResourceExtractorDronesDamage: `Sin daño a los drones extractores de recursos`, diff --git a/static/webui/translations/fr.js b/static/webui/translations/fr.js index 98d19139..1b915cba 100644 --- a/static/webui/translations/fr.js +++ b/static/webui/translations/fr.js @@ -176,6 +176,7 @@ dict = { cheats_skipTutorial: `Passer le tutoriel`, cheats_skipAllDialogue: `Passer les dialogues`, cheats_unlockAllScans: `Débloquer tous les scans`, + cheats_unlockSuccRelog: `[UNTRANSLATED] Success. Please that you'll need to relog for the client to refresh this.`, cheats_unlockAllMissions: `Débloquer toutes les missions`, cheats_unlockAllMissions_ok: `Succès. Une actualisation de l'inventaire est nécessaire.`, cheats_infiniteCredits: `Crédits infinis`, @@ -212,7 +213,7 @@ dict = { cheats_baroFullyStocked: `Stock de Baro au max`, cheats_syndicateMissionsRepeatable: `Mission syndicat répétables`, cheats_unlockAllProfitTakerStages: `Débloquer toutes les étapes du Preneur de Profit`, - cheats_unlockSucc: `[UNTRANSLATED] Successfully unlocked.`, + cheats_unlockSuccInventory: `[UNTRANSLATED] Success. Please note that you'll need to resync your inventory, e.g. using the bootstrapper's /sync command, visiting a dojo/relay, or relogging..`, cheats_instantFinishRivenChallenge: `Débloquer le challenge Riven instantanément`, cheats_instantResourceExtractorDrones: `Ressources de drones d'extraction instantannées`, cheats_noResourceExtractorDronesDamage: `Aucun dégâts aux drones d'extraction de resources`, diff --git a/static/webui/translations/ru.js b/static/webui/translations/ru.js index f4896751..4657ff3c 100644 --- a/static/webui/translations/ru.js +++ b/static/webui/translations/ru.js @@ -176,6 +176,7 @@ dict = { cheats_skipTutorial: `Пропустить обучение`, cheats_skipAllDialogue: `Пропустить все диалоги`, cheats_unlockAllScans: `Разблокировать все сканирования`, + cheats_unlockSuccRelog: `[UNTRANSLATED] Success. Please that you'll need to relog for the client to refresh this.`, cheats_unlockAllMissions: `Разблокировать все миссии`, cheats_unlockAllMissions_ok: `Успех. Пожалуйста, обратите внимание, что вам нужно будет войти в Додзё/Реле или перезайти, чтобы клиент обновил звездную карту.`, cheats_infiniteCredits: `Бесконечные Кредиты`, @@ -212,7 +213,7 @@ dict = { cheats_baroFullyStocked: `Баро полностью укомплектован`, cheats_syndicateMissionsRepeatable: `Повторять миссии синдиката`, cheats_unlockAllProfitTakerStages: `Разблокировать все этапы Сферы извлечения прибыли`, - cheats_unlockSucc: `Успешно разблокировано.`, + cheats_unlockSuccInventory: `[UNTRANSLATED] Success. Please note that you'll need to resync your inventory, e.g. using the bootstrapper's /sync command, visiting a dojo/relay, or relogging..`, cheats_instantFinishRivenChallenge: `Мгновенное завершение испытания мода Разлома`, cheats_instantResourceExtractorDrones: `Мгновенно добывающие Дроны-сборщики`, cheats_noResourceExtractorDronesDamage: `Без урона по Дронам-сборщикам`, diff --git a/static/webui/translations/uk.js b/static/webui/translations/uk.js index 9c27321e..d4818dad 100644 --- a/static/webui/translations/uk.js +++ b/static/webui/translations/uk.js @@ -176,6 +176,7 @@ dict = { cheats_skipTutorial: `Пропустити навчання`, cheats_skipAllDialogue: `Пропустити всі діалоги`, cheats_unlockAllScans: `Розблокувати всі сканування`, + cheats_unlockSuccRelog: `[UNTRANSLATED] Success. Please that you'll need to relog for the client to refresh this.`, cheats_unlockAllMissions: `Розблокувати всі місії`, cheats_unlockAllMissions_ok: `Успіх. Будь ласка, зверніть увагу, що вам потрібно буде увійти в Доджьо/Реле або перезайти, щоб клієнт оновив Зоряну мапу.`, cheats_infiniteCredits: `Бескінечні Кредити`, @@ -212,7 +213,7 @@ dict = { cheats_baroFullyStocked: `Баро повністю укомплектований`, cheats_syndicateMissionsRepeatable: `Повторювати місії синдиката`, cheats_unlockAllProfitTakerStages: `Розблокувати всі етапи Привласнювачки`, - cheats_unlockSucc: `Успішно розблоковано.`, + cheats_unlockSuccInventory: `[UNTRANSLATED] Success. Please note that you'll need to resync your inventory, e.g. using the bootstrapper's /sync command, visiting a dojo/relay, or relogging..`, cheats_instantFinishRivenChallenge: `Миттєве завершення випробування модифікатора Розколу`, cheats_instantResourceExtractorDrones: `Миттєво добуваючі Дрони-видобувачі`, cheats_noResourceExtractorDronesDamage: `Без шкоди по Дронам-видобувачам`, diff --git a/static/webui/translations/zh.js b/static/webui/translations/zh.js index fb742f18..2d987e33 100644 --- a/static/webui/translations/zh.js +++ b/static/webui/translations/zh.js @@ -176,6 +176,7 @@ dict = { cheats_skipTutorial: `跳过教程`, cheats_skipAllDialogue: `跳过所有对话`, cheats_unlockAllScans: `解锁所有扫描`, + cheats_unlockSuccRelog: `[UNTRANSLATED] Success. Please that you'll need to relog for the client to refresh this.`, cheats_unlockAllMissions: `解锁所有星图`, cheats_unlockAllMissions_ok: `操作成功.请注意,您需要进入道场/中继站或重新登录以刷新星图数据.`, cheats_infiniteCredits: `无限现金`, @@ -212,7 +213,7 @@ dict = { cheats_baroFullyStocked: `虚空商人贩卖所有商品`, cheats_syndicateMissionsRepeatable: `集团任务可重复完成`, cheats_unlockAllProfitTakerStages: `解锁利润收割者圆蛛所有阶段`, - cheats_unlockSucc: `[UNTRANSLATED] Successfully unlocked.`, + cheats_unlockSuccInventory: `[UNTRANSLATED] Success. Please note that you'll need to resync your inventory, e.g. using the bootstrapper's /sync command, visiting a dojo/relay, or relogging..`, cheats_instantFinishRivenChallenge: `立即完成裂罅挑战`, cheats_instantResourceExtractorDrones: `资源无人机即时完成`, cheats_noResourceExtractorDronesDamage: `资源无人机不会损毁`,