Fix fixed word 'Nope!' to a localized word for techniques
This commit is contained in:
@@ -56,7 +56,7 @@ export class BaseSheetL5r5e extends ActorSheet {
|
|||||||
!this.actor.data.data.techniques[item.data.data.technique_type]
|
!this.actor.data.data.techniques[item.data.data.technique_type]
|
||||||
) {
|
) {
|
||||||
new Dialog({
|
new Dialog({
|
||||||
title: "Nope !",
|
title: game.i18n.localize("l5r5e.techniques.title"),
|
||||||
content: game.i18n.localize("l5r5e.techniques.not_allowed"),
|
content: game.i18n.localize("l5r5e.techniques.not_allowed"),
|
||||||
buttons: {
|
buttons: {
|
||||||
ok: {
|
ok: {
|
||||||
@@ -68,6 +68,8 @@ export class BaseSheetL5r5e extends ActorSheet {
|
|||||||
return Promise.resolve();
|
return Promise.resolve();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// TODO dropped a item with same id as one owned, add qte instead
|
||||||
|
|
||||||
// Ok add item
|
// Ok add item
|
||||||
return super._onDrop(event);
|
return super._onDrop(event);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user