mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-03-11 19:45:57 +01:00
cleanup
This commit is contained in:
parent
1c411ba2ee
commit
0c68311a09
3 changed files with 3 additions and 6 deletions
|
|
@ -1323,14 +1323,11 @@
|
||||||
"attackTargetDoesNotExist": "The target token no longer exists",
|
"attackTargetDoesNotExist": "The target token no longer exists",
|
||||||
"insufficentAdvancements": "You don't have enough advancements left.",
|
"insufficentAdvancements": "You don't have enough advancements left.",
|
||||||
"noAssignedPlayerCharacter": "You have no assigned character.",
|
"noAssignedPlayerCharacter": "You have no assigned character.",
|
||||||
"noTokenSelected": "No token is selected",
|
"noSelectedToken": "You have no selected token",
|
||||||
"noSourceItem": "No source item found in chat message",
|
"noSourceItem": "No source item found in chat message",
|
||||||
"sourceItemNotFound": "Source item not found",
|
"sourceItemNotFound": "Source item not found",
|
||||||
"failedToCreateTemporaryItem": "Failed to create temporary item for action use",
|
|
||||||
"actionNotFound": "Action '{id}' not found on source item",
|
"actionNotFound": "Action '{id}' not found on source item",
|
||||||
"actionTypeNotFound": "Action type '{type}' not found",
|
|
||||||
"actionUseFailed": "Failed to use action '{action}': {error}",
|
"actionUseFailed": "Failed to use action '{action}': {error}",
|
||||||
"actionNotAvailable": "This action is not available",
|
|
||||||
"onlyUseableByPC": "This can only be used with a PC token",
|
"onlyUseableByPC": "This can only be used with a PC token",
|
||||||
"dualityParsing": "Duality roll not properly formated",
|
"dualityParsing": "Duality roll not properly formated",
|
||||||
"attributeFaulty": "The supplied Attribute doesn't exist",
|
"attributeFaulty": "The supplied Attribute doesn't exist",
|
||||||
|
|
|
||||||
|
|
@ -288,7 +288,7 @@ export default class DhpChatLog extends foundry.applications.sidebar.tabs.ChatLo
|
||||||
const actor = getCommandTarget();
|
const actor = getCommandTarget();
|
||||||
|
|
||||||
if (!actor) {
|
if (!actor) {
|
||||||
ui.notifications.error(game.i18n.localize('DAGGERHEART.UI.Notifications.noTokenSelected'));
|
ui.notifications.error(game.i18n.localize('DAGGERHEART.UI.Notifications.noSelectedToken'));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -111,7 +111,7 @@ export const getCommandTarget = () => {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (!target) {
|
if (!target) {
|
||||||
ui.notifications.error(game.i18n.localize('DAGGERHEART.UI.Notifications.noTokenSelected'));
|
ui.notifications.error(game.i18n.localize('DAGGERHEART.UI.Notifications.noSelectedToken'));
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
if (target.type !== 'character') {
|
if (target.type !== 'character') {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue