XFE Git
XFE Studio Git
Git 首页 全局搜索
XFE 主站 文档 NuGet

SpaceNinjaServer

A simple server for a small space ninja game

公开
关注 0 Fork 1 Star 0
返回提交历史

XFEstudio/SpaceNinjaServer

chore(webui): inform users how to resync their client for certain cheats (#2750)

Reviewed-on: https://onlyg.it/OpenWF/SpaceNinjaServer/pulls/2750 Co-authored-by: Sainan <63328889+Sainan@users.noreply.github.com> Co-committed-by: Sainan <63328889+Sainan@users.noreply.github.com>

0342f523
Sainan <63328889+Sainan@users.noreply.github.com>
提交于

代码差异

8 个文件 +19 -12
Modified static/webui/script.js +5 -5
@@ -2753,19 +2753,19 @@ async function doMaxPlexus() {
2753 2753 async function doUnlockAllScans() {
2754 2754 await revalidateAuthz();
2755 2755 await fetch("/custom/unlockAllScans?" + window.authz);
2756 toast(loc("cheats_unlockSucc"));
2756 toast(loc("cheats_unlockSuccRelog"));
2757 2757 }
2758 2758
2759 2759 async function doUnlockAllShipFeatures() {
2760 2760 await revalidateAuthz();
2761 2761 await fetch("/custom/unlockAllShipFeatures?" + window.authz);
2762 toast(loc("cheats_unlockSucc"));
2762 toast(loc("cheats_unlockSuccInventory"));
2763 2763 }
2764 2764
2765 2765 async function doUnlockAllCapturaScenes() {
2766 2766 await revalidateAuthz();
2767 2767 await fetch("/custom/unlockAllCapturaScenes?" + window.authz);
2768 toast(loc("cheats_unlockSucc"));
2768 toast(loc("cheats_unlockSuccInventory"));
2769 2769 }
2770 2770
2771 2771 async function unlockAllMissions() {
@@ -2777,13 +2777,13 @@ async function unlockAllMissions() {
2777 2777 async function unlockAllProfitTakerStages() {
2778 2778 await revalidateAuthz();
2779 2779 await fetch("/custom/unlockAllProfitTakerStages?" + window.authz);
2780 toast(loc("cheats_unlockSucc"));
2780 toast(loc("cheats_unlockSuccInventory"));
2781 2781 }
2782 2782
2783 2783 async function unlockAllSimarisResearchEntries() {
2784 2784 await revalidateAuthz();
2785 2785 await fetch("/custom/unlockAllSimarisResearchEntries?" + window.authz);
2786 toast(loc("cheats_unlockSucc"));
2786 toast(loc("cheats_unlockSuccInventory"));
2787 2787 }
2788 2788
2789 2789 const importSamples = {
Modified static/webui/translations/de.js +2 -1
@@ -176,6 +176,7 @@ dict = {
176 176 cheats_skipTutorial: `Tutorial überspringen`,
177 177 cheats_skipAllDialogue: `Alle Dialoge überspringen`,
178 178 cheats_unlockAllScans: `Alle Scans freischalten`,
179 cheats_unlockSuccRelog: `[UNTRANSLATED] Success. Please that you'll need to relog for the client to refresh this.`,
179 180 cheats_unlockAllMissions: `Alle Missionen freischalten`,
180 181 cheats_unlockAllMissions_ok: `Erfolgreich. Bitte beachte, dass du ein Dojo/Relais besuchen oder dich neu einloggen musst, damit die Sternenkarte aktualisiert wird.`,
181 182 cheats_infiniteCredits: `Unendlich Credits`,
@@ -212,7 +213,7 @@ dict = {
212 213 cheats_baroFullyStocked: `Baro hat volles Inventar`,
213 214 cheats_syndicateMissionsRepeatable: `Syndikat-Missionen wiederholbar`,
214 215 cheats_unlockAllProfitTakerStages: `Alle Profiteintreiber-Phasen freischalten`,
215 cheats_unlockSucc: `[UNTRANSLATED] Successfully unlocked.`,
216 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..`,
216 217 cheats_instantFinishRivenChallenge: `Riven-Mod Herausforderung sofort abschließen`,
217 218 cheats_instantResourceExtractorDrones: `Sofortige Ressourcen-Extraktor-Drohnen`,
218 219 cheats_noResourceExtractorDronesDamage: `Kein Schaden für Ressourcen-Extraktor-Drohnen`,
Modified static/webui/translations/en.js +2 -1
@@ -175,6 +175,7 @@ dict = {
175 175 cheats_skipTutorial: `Skip Tutorial`,
176 176 cheats_skipAllDialogue: `Skip All Dialogue`,
177 177 cheats_unlockAllScans: `Unlock All Scans`,
178 cheats_unlockSuccRelog: `Success. Please that you'll need to relog for the client to refresh this.`,
178 179 cheats_unlockAllMissions: `Unlock All Missions`,
179 180 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.`,
180 181 cheats_infiniteCredits: `Infinite Credits`,
@@ -211,7 +212,7 @@ dict = {
211 212 cheats_baroFullyStocked: `Baro Fully Stocked`,
212 213 cheats_syndicateMissionsRepeatable: `Syndicate Missions Repeatable`,
213 214 cheats_unlockAllProfitTakerStages: `Unlock All Profit Taker Stages`,
214 cheats_unlockSucc: `Successfully unlocked.`,
215 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..`,
215 216 cheats_instantFinishRivenChallenge: `Instant Finish Riven Challenge`,
216 217 cheats_instantResourceExtractorDrones: `Instant Resource Extractor Drones`,
217 218 cheats_noResourceExtractorDronesDamage: `No Resource Extractor Drones Damage`,
Modified static/webui/translations/es.js +2 -1
@@ -176,6 +176,7 @@ dict = {
176 176 cheats_skipTutorial: `Omitir tutorial`,
177 177 cheats_skipAllDialogue: `Omitir todos los diálogos`,
178 178 cheats_unlockAllScans: `Desbloquear todos los escaneos`,
179 cheats_unlockSuccRelog: `[UNTRANSLATED] Success. Please that you'll need to relog for the client to refresh this.`,
179 180 cheats_unlockAllMissions: `Desbloquear todas las misiones`,
180 181 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.`,
181 182 cheats_infiniteCredits: `Créditos infinitos`,
@@ -212,7 +213,7 @@ dict = {
212 213 cheats_baroFullyStocked: `Baro con stock completo`,
213 214 cheats_syndicateMissionsRepeatable: `Misiones de sindicato rejugables`,
214 215 cheats_unlockAllProfitTakerStages: `Desbloquea todas las etapas del Roba-ganancias`,
215 cheats_unlockSucc: `Desbloqueo exitoso`,
216 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..`,
216 217 cheats_instantFinishRivenChallenge: `Terminar desafío de agrietado inmediatamente`,
217 218 cheats_instantResourceExtractorDrones: `Drones de extracción de recursos instantáneos`,
218 219 cheats_noResourceExtractorDronesDamage: `Sin daño a los drones extractores de recursos`,
Modified static/webui/translations/fr.js +2 -1
@@ -176,6 +176,7 @@ dict = {
176 176 cheats_skipTutorial: `Passer le tutoriel`,
177 177 cheats_skipAllDialogue: `Passer les dialogues`,
178 178 cheats_unlockAllScans: `Débloquer tous les scans`,
179 cheats_unlockSuccRelog: `[UNTRANSLATED] Success. Please that you'll need to relog for the client to refresh this.`,
179 180 cheats_unlockAllMissions: `Débloquer toutes les missions`,
180 181 cheats_unlockAllMissions_ok: `Succès. Une actualisation de l'inventaire est nécessaire.`,
181 182 cheats_infiniteCredits: `Crédits infinis`,
@@ -212,7 +213,7 @@ dict = {
212 213 cheats_baroFullyStocked: `Stock de Baro au max`,
213 214 cheats_syndicateMissionsRepeatable: `Mission syndicat répétables`,
214 215 cheats_unlockAllProfitTakerStages: `Débloquer toutes les étapes du Preneur de Profit`,
215 cheats_unlockSucc: `[UNTRANSLATED] Successfully unlocked.`,
216 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..`,
216 217 cheats_instantFinishRivenChallenge: `Débloquer le challenge Riven instantanément`,
217 218 cheats_instantResourceExtractorDrones: `Ressources de drones d'extraction instantannées`,
218 219 cheats_noResourceExtractorDronesDamage: `Aucun dégâts aux drones d'extraction de resources`,
Modified static/webui/translations/ru.js +2 -1
@@ -176,6 +176,7 @@ dict = {
176 176 cheats_skipTutorial: `Пропустить обучение`,
177 177 cheats_skipAllDialogue: `Пропустить все диалоги`,
178 178 cheats_unlockAllScans: `Разблокировать все сканирования`,
179 cheats_unlockSuccRelog: `[UNTRANSLATED] Success. Please that you'll need to relog for the client to refresh this.`,
179 180 cheats_unlockAllMissions: `Разблокировать все миссии`,
180 181 cheats_unlockAllMissions_ok: `Успех. Пожалуйста, обратите внимание, что вам нужно будет войти в Додзё/Реле или перезайти, чтобы клиент обновил звездную карту.`,
181 182 cheats_infiniteCredits: `Бесконечные Кредиты`,
@@ -212,7 +213,7 @@ dict = {
212 213 cheats_baroFullyStocked: `Баро полностью укомплектован`,
213 214 cheats_syndicateMissionsRepeatable: `Повторять миссии синдиката`,
214 215 cheats_unlockAllProfitTakerStages: `Разблокировать все этапы Сферы извлечения прибыли`,
215 cheats_unlockSucc: `Успешно разблокировано.`,
216 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..`,
216 217 cheats_instantFinishRivenChallenge: `Мгновенное завершение испытания мода Разлома`,
217 218 cheats_instantResourceExtractorDrones: `Мгновенно добывающие Дроны-сборщики`,
218 219 cheats_noResourceExtractorDronesDamage: `Без урона по Дронам-сборщикам`,
Modified static/webui/translations/uk.js +2 -1
@@ -176,6 +176,7 @@ dict = {
176 176 cheats_skipTutorial: `Пропустити навчання`,
177 177 cheats_skipAllDialogue: `Пропустити всі діалоги`,
178 178 cheats_unlockAllScans: `Розблокувати всі сканування`,
179 cheats_unlockSuccRelog: `[UNTRANSLATED] Success. Please that you'll need to relog for the client to refresh this.`,
179 180 cheats_unlockAllMissions: `Розблокувати всі місії`,
180 181 cheats_unlockAllMissions_ok: `Успіх. Будь ласка, зверніть увагу, що вам потрібно буде увійти в Доджьо/Реле або перезайти, щоб клієнт оновив Зоряну мапу.`,
181 182 cheats_infiniteCredits: `Бескінечні Кредити`,
@@ -212,7 +213,7 @@ dict = {
212 213 cheats_baroFullyStocked: `Баро повністю укомплектований`,
213 214 cheats_syndicateMissionsRepeatable: `Повторювати місії синдиката`,
214 215 cheats_unlockAllProfitTakerStages: `Розблокувати всі етапи Привласнювачки`,
215 cheats_unlockSucc: `Успішно розблоковано.`,
216 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..`,
216 217 cheats_instantFinishRivenChallenge: `Миттєве завершення випробування модифікатора Розколу`,
217 218 cheats_instantResourceExtractorDrones: `Миттєво добуваючі Дрони-видобувачі`,
218 219 cheats_noResourceExtractorDronesDamage: `Без шкоди по Дронам-видобувачам`,
Modified static/webui/translations/zh.js +2 -1
@@ -176,6 +176,7 @@ dict = {
176 176 cheats_skipTutorial: `跳过教程`,
177 177 cheats_skipAllDialogue: `跳过所有对话`,
178 178 cheats_unlockAllScans: `解锁所有扫描`,
179 cheats_unlockSuccRelog: `[UNTRANSLATED] Success. Please that you'll need to relog for the client to refresh this.`,
179 180 cheats_unlockAllMissions: `解锁所有星图`,
180 181 cheats_unlockAllMissions_ok: `操作成功.请注意,您需要进入道场/中继站或重新登录以刷新星图数据.`,
181 182 cheats_infiniteCredits: `无限现金`,
@@ -212,7 +213,7 @@ dict = {
212 213 cheats_baroFullyStocked: `虚空商人贩卖所有商品`,
213 214 cheats_syndicateMissionsRepeatable: `集团任务可重复完成`,
214 215 cheats_unlockAllProfitTakerStages: `解锁利润收割者圆蛛所有阶段`,
215 cheats_unlockSucc: `[UNTRANSLATED] Successfully unlocked.`,
216 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..`,
216 217 cheats_instantFinishRivenChallenge: `立即完成裂罅挑战`,
217 218 cheats_instantResourceExtractorDrones: `资源无人机即时完成`,
218 219 cheats_noResourceExtractorDronesDamage: `资源无人机不会损毁`,