Fixed typo in levelupViewMode domain card option

This commit is contained in:
WBHarry 2026-01-18 14:43:01 +01:00
parent 4ce8fbb84c
commit 73a3442f7f

View file

@ -70,7 +70,10 @@ export default class DhlevelUpViewMode extends HandlebarsApplicationMixin(Applic
return checkbox; return checkbox;
}); });
let label = game.i18n.localize(option.label); let label =
optionKey === 'domainCard'
? game.i18n.format(option.label, { maxLevel: tier.levels.end })
: game.i18n.localize(option.label);
return { return {
label: label, label: label,
checkboxGroups: chunkify(checkboxes, option.minCost, chunkedBoxes => { checkboxGroups: chunkify(checkboxes, option.minCost, chunkedBoxes => {