Localize names / labels of newly created embedded items / effects

This commit is contained in:
Johannes Loher 2021-07-22 02:20:17 +02:00
parent 808dab7f5a
commit bb67788abc
4 changed files with 31 additions and 5 deletions

View file

@ -99,7 +99,7 @@ export class DS4ItemSheet extends ItemSheet<ItemSheet.Options, DS4ItemSheetData>
*/
protected async createActiveEffect(): Promise<ActiveEffect | undefined> {
const createData = {
label: "New Effect",
label: getGame().i18n.localize(`DS4.NewEffectLabel`),
icon: "icons/svg/aura.svg",
origin: this.item.uuid,
};