From a83a3efc795d06c15727dfb19e5826b99f724727 Mon Sep 17 00:00:00 2001 From: Sainan <63328889+Sainan@users.noreply.github.com> Date: Fri, 27 Jun 2025 00:29:27 +0200 Subject: [PATCH] +
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
diff --git a/static/webui/script.js b/static/webui/script.js index 59e011a8..49571189 100644 --- a/static/webui/script.js +++ b/static/webui/script.js @@ -1847,11 +1847,23 @@ function doAcquireMod() { } } -const uiConfigs = [...$(".config-form input[id]")].map(x => x.id); +const uiConfigs = [...$(".config-form input[id], .config-form select[id]")].map(x => x.id); for (const id of uiConfigs) { const elm = document.getElementById(id); - if (elm.type == "checkbox") { + if (elm.tagName == "SELECT") { + elm.onchange = function () { + let value = this.value; + if (!isNaN(parseInt(value))) { + value = parseInt(value); + } + $.post({ + url: "/custom/setConfig?" + window.authz, + contentType: "application/json", + data: JSON.stringify({ [id]: value }) + }); + }; + } else if (elm.type == "checkbox") { elm.onchange = function () { $.post({ url: "/custom/setConfig?" + window.authz, diff --git a/static/webui/translations/de.js b/static/webui/translations/de.js index 2df6337f..22148c9d 100644 --- a/static/webui/translations/de.js +++ b/static/webui/translations/de.js @@ -192,6 +192,44 @@ dict = { worldState_affinityBoost: `[UNTRANSLATED] Affinity Boost`, worldState_resourceBoost: `[UNTRANSLATED] Resource Boost`, worldState_starDays: `[UNTRANSLATED] Star Days`, + worldState_galleonOfGhouls: `[UNTRANSLATED] Galleon of Ghouls`, + disabled: `[UNTRANSLATED] Disabled`, + worldState_we1: `[UNTRANSLATED] Weekend 1`, + worldState_we2: `[UNTRANSLATED] Weekend 2`, + worldState_we3: `[UNTRANSLATED] Weekend 3`, + worldState_eidolonOverride: `[UNTRANSLATED] Eidolon Override`, + worldState_day: `[UNTRANSLATED] Day`, + worldState_night: `[UNTRANSLATED] Night`, + worldState_vallisOverride: `[UNTRANSLATED] Orb Vallis Override`, + worldState_warm: `[UNTRANSLATED] Warm`, + worldState_cold: `[UNTRANSLATED] Cold`, + worldState_duviriOverride: `[UNTRANSLATED] Duviri Override`, + worldState_joy: `[UNTRANSLATED] Joy`, + worldState_anger: `[UNTRANSLATED] Anger`, + worldState_envy: `[UNTRANSLATED] Envy`, + worldState_sorrow: `[UNTRANSLATED] Sorrow`, + worldState_fear: `[UNTRANSLATED] Fear`, + worldState_nightwaveOverride: `[UNTRANSLATED] Nightwave Override`, + worldState_RadioLegionIntermission13Syndicate: `[UNTRANSLATED] Nora's Mix Vol. 9`, + worldState_RadioLegionIntermission12Syndicate: `[UNTRANSLATED] Nora's Mix Vol. 8`, + worldState_RadioLegionIntermission11Syndicate: `[UNTRANSLATED] Nora's Mix Vol. 7`, + worldState_RadioLegionIntermission10Syndicate: `[UNTRANSLATED] Nora's Mix Vol. 6`, + worldState_RadioLegionIntermission9Syndicate: `[UNTRANSLATED] Nora's Mix Vol. 5`, + worldState_RadioLegionIntermission8Syndicate: `[UNTRANSLATED] Nora's Mix Vol. 4`, + worldState_RadioLegionIntermission7Syndicate: `[UNTRANSLATED] Nora's Mix Vol. 3`, + worldState_RadioLegionIntermission6Syndicate: `[UNTRANSLATED] Nora's Mix Vol. 2`, + worldState_RadioLegionIntermission5Syndicate: `[UNTRANSLATED] Nora's Mix Vol. 1`, + worldState_RadioLegionIntermission4Syndicate: `[UNTRANSLATED] Nora's Choice`, + worldState_RadioLegionIntermission3Syndicate: `[UNTRANSLATED] Intermission III`, + worldState_RadioLegion3Syndicate: `[UNTRANSLATED] Glassmaker`, + worldState_RadioLegionIntermission2Syndicate: `[UNTRANSLATED] Intermission II`, + worldState_RadioLegion2Syndicate: `[UNTRANSLATED] The Emissary`, + worldState_RadioLegionIntermissionSyndicate: `[UNTRANSLATED] Intermission I`, + worldState_RadioLegionSyndicate: `[UNTRANSLATED] The Wolf of Saturn Six`, + worldState_fissures: `[UNTRANSLATED] Fissures`, + normal: `[UNTRANSLATED] Normal`, + worldState_allAtOnceNormal: `[UNTRANSLATED] All At Once, Normal`, + worldState_allAtOnceSteelPath: `[UNTRANSLATED] All At Once, Steel Path`, import_importNote: `Du kannst hier eine vollständige oder teilweise Inventarantwort (Client-Darstellung) einfügen. Alle Felder, die vom Importer unterstützt werden, werden in deinem Account überschrieben.`, import_submit: `Absenden`, diff --git a/static/webui/translations/en.js b/static/webui/translations/en.js index e3ef116c..22481df6 100644 --- a/static/webui/translations/en.js +++ b/static/webui/translations/en.js @@ -191,6 +191,44 @@ dict = { worldState_affinityBoost: `Affinity Boost`, worldState_resourceBoost: `Resource Boost`, worldState_starDays: `Star Days`, + worldState_galleonOfGhouls: `Galleon of Ghouls`, + disabled: `Disabled`, + worldState_we1: `Weekend 1`, + worldState_we2: `Weekend 2`, + worldState_we3: `Weekend 3`, + worldState_eidolonOverride: `Eidolon Override`, + worldState_day: `Day`, + worldState_night: `Night`, + worldState_vallisOverride: `Orb Vallis Override`, + worldState_warm: `Warm`, + worldState_cold: `Cold`, + worldState_duviriOverride: `Duviri Override`, + worldState_joy: `Joy`, + worldState_anger: `Anger`, + worldState_envy: `Envy`, + worldState_sorrow: `Sorrow`, + worldState_fear: `Fear`, + worldState_nightwaveOverride: `Nightwave Override`, + worldState_RadioLegionIntermission13Syndicate: `Nora's Mix Vol. 9`, + worldState_RadioLegionIntermission12Syndicate: `Nora's Mix Vol. 8`, + worldState_RadioLegionIntermission11Syndicate: `Nora's Mix Vol. 7`, + worldState_RadioLegionIntermission10Syndicate: `Nora's Mix Vol. 6`, + worldState_RadioLegionIntermission9Syndicate: `Nora's Mix Vol. 5`, + worldState_RadioLegionIntermission8Syndicate: `Nora's Mix Vol. 4`, + worldState_RadioLegionIntermission7Syndicate: `Nora's Mix Vol. 3`, + worldState_RadioLegionIntermission6Syndicate: `Nora's Mix Vol. 2`, + worldState_RadioLegionIntermission5Syndicate: `Nora's Mix Vol. 1`, + worldState_RadioLegionIntermission4Syndicate: `Nora's Choice`, + worldState_RadioLegionIntermission3Syndicate: `Intermission III`, + worldState_RadioLegion3Syndicate: `Glassmaker`, + worldState_RadioLegionIntermission2Syndicate: `Intermission II`, + worldState_RadioLegion2Syndicate: `The Emissary`, + worldState_RadioLegionIntermissionSyndicate: `Intermission I`, + worldState_RadioLegionSyndicate: `The Wolf of Saturn Six`, + worldState_fissures: `Fissures`, + normal: `Normal`, + worldState_allAtOnceNormal: `All At Once, Normal`, + worldState_allAtOnceSteelPath: `All At Once, Steel Path`, import_importNote: `You can provide a full or partial inventory response (client respresentation) here. All fields that are supported by the importer will be overwritten in your account.`, import_submit: `Submit`, diff --git a/static/webui/translations/es.js b/static/webui/translations/es.js index 11512ea0..0a7b7ac5 100644 --- a/static/webui/translations/es.js +++ b/static/webui/translations/es.js @@ -192,6 +192,44 @@ dict = { worldState_affinityBoost: `[UNTRANSLATED] Affinity Boost`, worldState_resourceBoost: `[UNTRANSLATED] Resource Boost`, worldState_starDays: `[UNTRANSLATED] Star Days`, + worldState_galleonOfGhouls: `[UNTRANSLATED] Galleon of Ghouls`, + disabled: `[UNTRANSLATED] Disabled`, + worldState_we1: `[UNTRANSLATED] Weekend 1`, + worldState_we2: `[UNTRANSLATED] Weekend 2`, + worldState_we3: `[UNTRANSLATED] Weekend 3`, + worldState_eidolonOverride: `[UNTRANSLATED] Eidolon Override`, + worldState_day: `[UNTRANSLATED] Day`, + worldState_night: `[UNTRANSLATED] Night`, + worldState_vallisOverride: `[UNTRANSLATED] Orb Vallis Override`, + worldState_warm: `[UNTRANSLATED] Warm`, + worldState_cold: `[UNTRANSLATED] Cold`, + worldState_duviriOverride: `[UNTRANSLATED] Duviri Override`, + worldState_joy: `[UNTRANSLATED] Joy`, + worldState_anger: `[UNTRANSLATED] Anger`, + worldState_envy: `[UNTRANSLATED] Envy`, + worldState_sorrow: `[UNTRANSLATED] Sorrow`, + worldState_fear: `[UNTRANSLATED] Fear`, + worldState_nightwaveOverride: `[UNTRANSLATED] Nightwave Override`, + worldState_RadioLegionIntermission13Syndicate: `[UNTRANSLATED] Nora's Mix Vol. 9`, + worldState_RadioLegionIntermission12Syndicate: `[UNTRANSLATED] Nora's Mix Vol. 8`, + worldState_RadioLegionIntermission11Syndicate: `[UNTRANSLATED] Nora's Mix Vol. 7`, + worldState_RadioLegionIntermission10Syndicate: `[UNTRANSLATED] Nora's Mix Vol. 6`, + worldState_RadioLegionIntermission9Syndicate: `[UNTRANSLATED] Nora's Mix Vol. 5`, + worldState_RadioLegionIntermission8Syndicate: `[UNTRANSLATED] Nora's Mix Vol. 4`, + worldState_RadioLegionIntermission7Syndicate: `[UNTRANSLATED] Nora's Mix Vol. 3`, + worldState_RadioLegionIntermission6Syndicate: `[UNTRANSLATED] Nora's Mix Vol. 2`, + worldState_RadioLegionIntermission5Syndicate: `[UNTRANSLATED] Nora's Mix Vol. 1`, + worldState_RadioLegionIntermission4Syndicate: `[UNTRANSLATED] Nora's Choice`, + worldState_RadioLegionIntermission3Syndicate: `[UNTRANSLATED] Intermission III`, + worldState_RadioLegion3Syndicate: `[UNTRANSLATED] Glassmaker`, + worldState_RadioLegionIntermission2Syndicate: `[UNTRANSLATED] Intermission II`, + worldState_RadioLegion2Syndicate: `[UNTRANSLATED] The Emissary`, + worldState_RadioLegionIntermissionSyndicate: `[UNTRANSLATED] Intermission I`, + worldState_RadioLegionSyndicate: `[UNTRANSLATED] The Wolf of Saturn Six`, + worldState_fissures: `[UNTRANSLATED] Fissures`, + normal: `[UNTRANSLATED] Normal`, + worldState_allAtOnceNormal: `[UNTRANSLATED] All At Once, Normal`, + worldState_allAtOnceSteelPath: `[UNTRANSLATED] All At Once, Steel Path`, import_importNote: `Puedes proporcionar una respuesta de inventario completa o parcial (representación del cliente) aquí. Todos los campos compatibles con el importador serán sobrescritos en tu cuenta.`, import_submit: `Enviar`, diff --git a/static/webui/translations/fr.js b/static/webui/translations/fr.js index a74aa010..9dca3dbe 100644 --- a/static/webui/translations/fr.js +++ b/static/webui/translations/fr.js @@ -192,6 +192,44 @@ dict = { worldState_affinityBoost: `[UNTRANSLATED] Affinity Boost`, worldState_resourceBoost: `[UNTRANSLATED] Resource Boost`, worldState_starDays: `[UNTRANSLATED] Star Days`, + worldState_galleonOfGhouls: `[UNTRANSLATED] Galleon of Ghouls`, + disabled: `[UNTRANSLATED] Disabled`, + worldState_we1: `[UNTRANSLATED] Weekend 1`, + worldState_we2: `[UNTRANSLATED] Weekend 2`, + worldState_we3: `[UNTRANSLATED] Weekend 3`, + worldState_eidolonOverride: `[UNTRANSLATED] Eidolon Override`, + worldState_day: `[UNTRANSLATED] Day`, + worldState_night: `[UNTRANSLATED] Night`, + worldState_vallisOverride: `[UNTRANSLATED] Orb Vallis Override`, + worldState_warm: `[UNTRANSLATED] Warm`, + worldState_cold: `[UNTRANSLATED] Cold`, + worldState_duviriOverride: `[UNTRANSLATED] Duviri Override`, + worldState_joy: `[UNTRANSLATED] Joy`, + worldState_anger: `[UNTRANSLATED] Anger`, + worldState_envy: `[UNTRANSLATED] Envy`, + worldState_sorrow: `[UNTRANSLATED] Sorrow`, + worldState_fear: `[UNTRANSLATED] Fear`, + worldState_nightwaveOverride: `[UNTRANSLATED] Nightwave Override`, + worldState_RadioLegionIntermission13Syndicate: `[UNTRANSLATED] Nora's Mix Vol. 9`, + worldState_RadioLegionIntermission12Syndicate: `[UNTRANSLATED] Nora's Mix Vol. 8`, + worldState_RadioLegionIntermission11Syndicate: `[UNTRANSLATED] Nora's Mix Vol. 7`, + worldState_RadioLegionIntermission10Syndicate: `[UNTRANSLATED] Nora's Mix Vol. 6`, + worldState_RadioLegionIntermission9Syndicate: `[UNTRANSLATED] Nora's Mix Vol. 5`, + worldState_RadioLegionIntermission8Syndicate: `[UNTRANSLATED] Nora's Mix Vol. 4`, + worldState_RadioLegionIntermission7Syndicate: `[UNTRANSLATED] Nora's Mix Vol. 3`, + worldState_RadioLegionIntermission6Syndicate: `[UNTRANSLATED] Nora's Mix Vol. 2`, + worldState_RadioLegionIntermission5Syndicate: `[UNTRANSLATED] Nora's Mix Vol. 1`, + worldState_RadioLegionIntermission4Syndicate: `[UNTRANSLATED] Nora's Choice`, + worldState_RadioLegionIntermission3Syndicate: `[UNTRANSLATED] Intermission III`, + worldState_RadioLegion3Syndicate: `[UNTRANSLATED] Glassmaker`, + worldState_RadioLegionIntermission2Syndicate: `[UNTRANSLATED] Intermission II`, + worldState_RadioLegion2Syndicate: `[UNTRANSLATED] The Emissary`, + worldState_RadioLegionIntermissionSyndicate: `[UNTRANSLATED] Intermission I`, + worldState_RadioLegionSyndicate: `[UNTRANSLATED] The Wolf of Saturn Six`, + worldState_fissures: `[UNTRANSLATED] Fissures`, + normal: `[UNTRANSLATED] Normal`, + worldState_allAtOnceNormal: `[UNTRANSLATED] All At Once, Normal`, + worldState_allAtOnceSteelPath: `[UNTRANSLATED] All At Once, Steel Path`, import_importNote: `Import manuel. Toutes les modifcations supportées par l'inventaire écraseront celles présentes dans la base de données.`, import_submit: `Soumettre`, diff --git a/static/webui/translations/ru.js b/static/webui/translations/ru.js index 609ab4f5..b276c0fb 100644 --- a/static/webui/translations/ru.js +++ b/static/webui/translations/ru.js @@ -192,6 +192,44 @@ dict = { worldState_affinityBoost: `[UNTRANSLATED] Affinity Boost`, worldState_resourceBoost: `[UNTRANSLATED] Resource Boost`, worldState_starDays: `[UNTRANSLATED] Star Days`, + worldState_galleonOfGhouls: `[UNTRANSLATED] Galleon of Ghouls`, + disabled: `[UNTRANSLATED] Disabled`, + worldState_we1: `[UNTRANSLATED] Weekend 1`, + worldState_we2: `[UNTRANSLATED] Weekend 2`, + worldState_we3: `[UNTRANSLATED] Weekend 3`, + worldState_eidolonOverride: `[UNTRANSLATED] Eidolon Override`, + worldState_day: `[UNTRANSLATED] Day`, + worldState_night: `[UNTRANSLATED] Night`, + worldState_vallisOverride: `[UNTRANSLATED] Orb Vallis Override`, + worldState_warm: `[UNTRANSLATED] Warm`, + worldState_cold: `[UNTRANSLATED] Cold`, + worldState_duviriOverride: `[UNTRANSLATED] Duviri Override`, + worldState_joy: `[UNTRANSLATED] Joy`, + worldState_anger: `[UNTRANSLATED] Anger`, + worldState_envy: `[UNTRANSLATED] Envy`, + worldState_sorrow: `[UNTRANSLATED] Sorrow`, + worldState_fear: `[UNTRANSLATED] Fear`, + worldState_nightwaveOverride: `[UNTRANSLATED] Nightwave Override`, + worldState_RadioLegionIntermission13Syndicate: `[UNTRANSLATED] Nora's Mix Vol. 9`, + worldState_RadioLegionIntermission12Syndicate: `[UNTRANSLATED] Nora's Mix Vol. 8`, + worldState_RadioLegionIntermission11Syndicate: `[UNTRANSLATED] Nora's Mix Vol. 7`, + worldState_RadioLegionIntermission10Syndicate: `[UNTRANSLATED] Nora's Mix Vol. 6`, + worldState_RadioLegionIntermission9Syndicate: `[UNTRANSLATED] Nora's Mix Vol. 5`, + worldState_RadioLegionIntermission8Syndicate: `[UNTRANSLATED] Nora's Mix Vol. 4`, + worldState_RadioLegionIntermission7Syndicate: `[UNTRANSLATED] Nora's Mix Vol. 3`, + worldState_RadioLegionIntermission6Syndicate: `[UNTRANSLATED] Nora's Mix Vol. 2`, + worldState_RadioLegionIntermission5Syndicate: `[UNTRANSLATED] Nora's Mix Vol. 1`, + worldState_RadioLegionIntermission4Syndicate: `[UNTRANSLATED] Nora's Choice`, + worldState_RadioLegionIntermission3Syndicate: `[UNTRANSLATED] Intermission III`, + worldState_RadioLegion3Syndicate: `[UNTRANSLATED] Glassmaker`, + worldState_RadioLegionIntermission2Syndicate: `[UNTRANSLATED] Intermission II`, + worldState_RadioLegion2Syndicate: `[UNTRANSLATED] The Emissary`, + worldState_RadioLegionIntermissionSyndicate: `[UNTRANSLATED] Intermission I`, + worldState_RadioLegionSyndicate: `[UNTRANSLATED] The Wolf of Saturn Six`, + worldState_fissures: `[UNTRANSLATED] Fissures`, + normal: `[UNTRANSLATED] Normal`, + worldState_allAtOnceNormal: `[UNTRANSLATED] All At Once, Normal`, + worldState_allAtOnceSteelPath: `[UNTRANSLATED] All At Once, Steel Path`, import_importNote: `Вы можете загрузить полный или частичный ответ инвентаря (клиентское представление) здесь. Все поддерживаемые поля будут перезаписаны в вашем аккаунте.`, import_submit: `Отправить`, diff --git a/static/webui/translations/zh.js b/static/webui/translations/zh.js index 051eef94..46349a72 100644 --- a/static/webui/translations/zh.js +++ b/static/webui/translations/zh.js @@ -192,6 +192,44 @@ dict = { worldState_affinityBoost: `[UNTRANSLATED] Affinity Boost`, worldState_resourceBoost: `[UNTRANSLATED] Resource Boost`, worldState_starDays: `[UNTRANSLATED] Star Days`, + worldState_galleonOfGhouls: `[UNTRANSLATED] Galleon of Ghouls`, + disabled: `[UNTRANSLATED] Disabled`, + worldState_we1: `[UNTRANSLATED] Weekend 1`, + worldState_we2: `[UNTRANSLATED] Weekend 2`, + worldState_we3: `[UNTRANSLATED] Weekend 3`, + worldState_eidolonOverride: `[UNTRANSLATED] Eidolon Override`, + worldState_day: `[UNTRANSLATED] Day`, + worldState_night: `[UNTRANSLATED] Night`, + worldState_vallisOverride: `[UNTRANSLATED] Orb Vallis Override`, + worldState_warm: `[UNTRANSLATED] Warm`, + worldState_cold: `[UNTRANSLATED] Cold`, + worldState_duviriOverride: `[UNTRANSLATED] Duviri Override`, + worldState_joy: `[UNTRANSLATED] Joy`, + worldState_anger: `[UNTRANSLATED] Anger`, + worldState_envy: `[UNTRANSLATED] Envy`, + worldState_sorrow: `[UNTRANSLATED] Sorrow`, + worldState_fear: `[UNTRANSLATED] Fear`, + worldState_nightwaveOverride: `[UNTRANSLATED] Nightwave Override`, + worldState_RadioLegionIntermission13Syndicate: `[UNTRANSLATED] Nora's Mix Vol. 9`, + worldState_RadioLegionIntermission12Syndicate: `[UNTRANSLATED] Nora's Mix Vol. 8`, + worldState_RadioLegionIntermission11Syndicate: `[UNTRANSLATED] Nora's Mix Vol. 7`, + worldState_RadioLegionIntermission10Syndicate: `[UNTRANSLATED] Nora's Mix Vol. 6`, + worldState_RadioLegionIntermission9Syndicate: `[UNTRANSLATED] Nora's Mix Vol. 5`, + worldState_RadioLegionIntermission8Syndicate: `[UNTRANSLATED] Nora's Mix Vol. 4`, + worldState_RadioLegionIntermission7Syndicate: `[UNTRANSLATED] Nora's Mix Vol. 3`, + worldState_RadioLegionIntermission6Syndicate: `[UNTRANSLATED] Nora's Mix Vol. 2`, + worldState_RadioLegionIntermission5Syndicate: `[UNTRANSLATED] Nora's Mix Vol. 1`, + worldState_RadioLegionIntermission4Syndicate: `[UNTRANSLATED] Nora's Choice`, + worldState_RadioLegionIntermission3Syndicate: `[UNTRANSLATED] Intermission III`, + worldState_RadioLegion3Syndicate: `[UNTRANSLATED] Glassmaker`, + worldState_RadioLegionIntermission2Syndicate: `[UNTRANSLATED] Intermission II`, + worldState_RadioLegion2Syndicate: `[UNTRANSLATED] The Emissary`, + worldState_RadioLegionIntermissionSyndicate: `[UNTRANSLATED] Intermission I`, + worldState_RadioLegionSyndicate: `[UNTRANSLATED] The Wolf of Saturn Six`, + worldState_fissures: `[UNTRANSLATED] Fissures`, + normal: `[UNTRANSLATED] Normal`, + worldState_allAtOnceNormal: `[UNTRANSLATED] All At Once, Normal`, + worldState_allAtOnceSteelPath: `[UNTRANSLATED] All At Once, Steel Path`, import_importNote: `您可以在此处提供完整或部分库存响应(客户端表示)。支持的所有字段将被覆盖到您的账户中。`, import_submit: `提交`,