Added localization for the fate type parsing error

This commit is contained in:
Chris Ryan 2025-12-10 22:13:14 +10:00
parent 3e366a4c44
commit c11a4f617d
3 changed files with 6 additions and 5 deletions

View file

@ -262,7 +262,7 @@ Hooks.on('chatMessage', (_, message) => {
const fateTypeFromRollCommand = getFateType(rollCommand?.type);
if (fateTypeFromRollCommand == "BAD") {
ui.notifications.error(game.i18n.localize('DAGGERHEART.UI.Notifications.fateParsing') + ". Bad Fate Type. Valid Fate Types are 'Hope' and 'Fear'.");
ui.notifications.error(game.i18n.localize('DAGGERHEART.UI.Notifications.fateTypeParsing'));
return false;
}