import { i18n, debug, warn } from "../util.js"; Hooks.once("ready", () => { debug("ready"); }); Hooks.on("renderSettingsConfig", (app, html, data) => { $("
") .addClass("form-group dorako settings-header") .html( i18n("pf2e-dorako-ux.settings.menu.avatar.name") + `

${i18n("pf2e-dorako-ux.settings.menu.avatar.hint")}

` ) .insertBefore($('[name="pf2e-dorako-ux.avatar.source"]').parents("div.form-group:first")); $("
") .addClass("form-group dorako settings-header") .html( i18n("pf2e-dorako-ux.settings.menu.hiding.name") + `

${i18n("pf2e-dorako-ux.settings.menu.hiding.hint")}

` ) .insertBefore($('[name="pf2e-dorako-ux.hiding.no-cards"]').parents("div.form-group:first")); $("
") .addClass("form-group dorako settings-header") .html( i18n("pf2e-dorako-ux.settings.menu.moving.name") + `

${i18n("pf2e-dorako-ux.settings.menu.moving.hint")}

` ) .insertBefore($('[name="pf2e-dorako-ux.moving.restructure-card-info"]').parents("div.form-group:first")); $("
") .addClass("form-group dorako settings-header") .html( i18n("pf2e-dorako-ux.settings.menu.other.name") + `

${i18n("pf2e-dorako-ux.settings.menu.other.hint")}

` ) .insertBefore($('[name="pf2e-dorako-ux.other.enable-rolltype-indication"]').parents("div.form-group:first")); });