From deaea6f271241a58e3457d8221d09288f4ed1b6e Mon Sep 17 00:00:00 2001 From: WBHarry Date: Fri, 25 Jul 2025 21:05:38 +0200 Subject: [PATCH] Fixed dialog again --- module/data/fields/actionField.mjs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/module/data/fields/actionField.mjs b/module/data/fields/actionField.mjs index b116d125..dd2b4dea 100644 --- a/module/data/fields/actionField.mjs +++ b/module/data/fields/actionField.mjs @@ -170,7 +170,9 @@ export function ActionMixin(Base) { if (!type || !game.system.api.models.actions.actionsTypes[type]) { ({ type } = (await foundry.applications.api.DialogV2.input({ - window: { title: 'Select Action Type' }, + window: { title: game.i18n.localize('DAGGERHEART.CONFIG.SelectAction.selectType') }, + position: { width: 300 }, + classes: ['daggerheart', 'dh-style'], content: await foundry.applications.handlebars.renderTemplate( 'systems/daggerheart/templates/actionTypes/actionType.hbs', { types: CONFIG.DH.ACTIONS.actionTypes }