From 5234cf213e1bd135e5d6b15ce3e7bb83ec9eaf06 Mon Sep 17 00:00:00 2001 From: Sainan <63328889+Sainan@users.noreply.github.com> Date: Sun, 29 Jun 2025 09:07:33 -0700 Subject: [PATCH] chore(webui): explain star chart refreshing for unlock all missions (#2342) This is relevant for U39 at least Reviewed-on: https://onlyg.it/OpenWF/SpaceNinjaServer/pulls/2342 Co-authored-by: Sainan <63328889+Sainan@users.noreply.github.com> Co-committed-by: Sainan <63328889+Sainan@users.noreply.github.com> --- static/webui/script.js | 2 +- static/webui/translations/de.js | 1 + static/webui/translations/en.js | 1 + static/webui/translations/es.js | 1 + static/webui/translations/fr.js | 1 + static/webui/translations/ru.js | 1 + static/webui/translations/zh.js | 1 + 7 files changed, 7 insertions(+), 1 deletion(-) diff --git a/static/webui/script.js b/static/webui/script.js index 5a13fa4f..417bee73 100644 --- a/static/webui/script.js +++ b/static/webui/script.js @@ -2388,7 +2388,7 @@ async function doMaxPlexus() { async function doUnlockAllMissions() { await revalidateAuthz(); await fetch("/custom/completeAllMissions?" + window.authz); - updateInventory(); + toast(loc("cheats_unlockAllMissions_ok")); } const importSamples = { diff --git a/static/webui/translations/de.js b/static/webui/translations/de.js index 880b3577..2ce0e396 100644 --- a/static/webui/translations/de.js +++ b/static/webui/translations/de.js @@ -129,6 +129,7 @@ dict = { cheats_skipAllDialogue: `Alle Dialoge überspringen`, cheats_unlockAllScans: `Alle Scans freischalten`, cheats_unlockAllMissions: `Alle Missionen freischalten`, + cheats_unlockAllMissions_ok: `[UNTRANSLATED] Success. Please note that you'll need to enter a dojo/relay or relog for the client to refresh the star chart.`, cheats_infiniteCredits: `Unendlich Credits`, cheats_infinitePlatinum: `Unendlich Platinum`, cheats_infiniteEndo: `Unendlich Endo`, diff --git a/static/webui/translations/en.js b/static/webui/translations/en.js index 9144c007..1443dad9 100644 --- a/static/webui/translations/en.js +++ b/static/webui/translations/en.js @@ -128,6 +128,7 @@ dict = { cheats_skipAllDialogue: `Skip All Dialogue`, cheats_unlockAllScans: `Unlock All Scans`, 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`, cheats_infinitePlatinum: `Infinite Platinum`, cheats_infiniteEndo: `Infinite Endo`, diff --git a/static/webui/translations/es.js b/static/webui/translations/es.js index 81864696..f5b1a377 100644 --- a/static/webui/translations/es.js +++ b/static/webui/translations/es.js @@ -129,6 +129,7 @@ dict = { cheats_skipAllDialogue: `Omitir todos los diálogos`, cheats_unlockAllScans: `Desbloquear todos los escaneos`, cheats_unlockAllMissions: `Desbloquear todas las misiones`, + cheats_unlockAllMissions_ok: `[UNTRANSLATED] Success. Please note that you'll need to enter a dojo/relay or relog for the client to refresh the star chart.`, cheats_infiniteCredits: `Créditos infinitos`, cheats_infinitePlatinum: `Platino infinito`, cheats_infiniteEndo: `Endo infinito`, diff --git a/static/webui/translations/fr.js b/static/webui/translations/fr.js index 7c0201d5..149af533 100644 --- a/static/webui/translations/fr.js +++ b/static/webui/translations/fr.js @@ -129,6 +129,7 @@ dict = { cheats_skipAllDialogue: `Passer les dialogues`, cheats_unlockAllScans: `Débloquer tous les scans`, cheats_unlockAllMissions: `Débloquer toutes les missions`, + cheats_unlockAllMissions_ok: `[UNTRANSLATED] Success. Please note that you'll need to enter a dojo/relay or relog for the client to refresh the star chart.`, cheats_infiniteCredits: `Crédits infinis`, cheats_infinitePlatinum: `Platinum infini`, cheats_infiniteEndo: `Endo infini`, diff --git a/static/webui/translations/ru.js b/static/webui/translations/ru.js index b6bba38f..1d5b0e8c 100644 --- a/static/webui/translations/ru.js +++ b/static/webui/translations/ru.js @@ -129,6 +129,7 @@ dict = { cheats_skipAllDialogue: `Пропустить все диалоги`, cheats_unlockAllScans: `Разблокировать все сканирования`, cheats_unlockAllMissions: `Разблокировать все миссии`, + cheats_unlockAllMissions_ok: `[UNTRANSLATED] Success. Please note that you'll need to enter a dojo/relay or relog for the client to refresh the star chart.`, cheats_infiniteCredits: `Бесконечные кредиты`, cheats_infinitePlatinum: `Бесконечная платина`, cheats_infiniteEndo: `Бесконечное эндо`, diff --git a/static/webui/translations/zh.js b/static/webui/translations/zh.js index a2a39e56..ac0420d2 100644 --- a/static/webui/translations/zh.js +++ b/static/webui/translations/zh.js @@ -129,6 +129,7 @@ dict = { cheats_skipAllDialogue: `跳过所有对话`, cheats_unlockAllScans: `解锁所有扫描`, cheats_unlockAllMissions: `解锁所有任务`, + cheats_unlockAllMissions_ok: `[UNTRANSLATED] Success. Please note that you'll need to enter a dojo/relay or relog for the client to refresh the star chart.`, cheats_infiniteCredits: `无限现金`, cheats_infinitePlatinum: `无限白金`, cheats_infiniteEndo: `无限内融核心`,