forked from GitHub-Mirrors/foundry-sw5e
Changes for 1.3.5
This commit is contained in:
parent
e2f002292b
commit
c0e71fe0f3
22 changed files with 102 additions and 68 deletions
|
@ -781,7 +781,7 @@ export default class ActorSheet5e extends ActorSheet {
|
|||
const header = event.currentTarget;
|
||||
const type = header.dataset.type;
|
||||
const itemData = {
|
||||
name: game.i18n.format("SW5E.ItemNew", {type: type.capitalize()}),
|
||||
name: game.i18n.format("SW5E.ItemNew", {type: game.i18n.localize(`SW5E.ItemType${type.capitalize()}`)}),
|
||||
type: type,
|
||||
data: foundry.utils.deepClone(header.dataset)
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue