Fix fixed word 'Nope!' to a localized word for techniques

This commit is contained in:
Vlyan
2020-12-25 11:14:09 +01:00
parent 97df522df8
commit fac272e6e8

View File

@@ -56,7 +56,7 @@ export class BaseSheetL5r5e extends ActorSheet {
!this.actor.data.data.techniques[item.data.data.technique_type]
) {
new Dialog({
title: "Nope !",
title: game.i18n.localize("l5r5e.techniques.title"),
content: game.i18n.localize("l5r5e.techniques.not_allowed"),
buttons: {
ok: {
@@ -68,6 +68,8 @@ export class BaseSheetL5r5e extends ActorSheet {
return Promise.resolve();
}
// TODO dropped a item with same id as one owned, add qte instead
// Ok add item
return super._onDrop(event);
}