Fixed typo in levelupViewMode domain card option (#1558)

This commit is contained in:
WBHarry 2026-01-19 11:31:54 +01:00 committed by GitHub
parent 9d75157e17
commit 77bac647a8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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 => {