Localization and minor fix

This commit is contained in:
Carlos Fernandez 2026-05-02 18:26:49 -04:00
parent a5db9371c6
commit 2c6d813f25
3 changed files with 2 additions and 2 deletions

View file

@ -1,4 +1,3 @@
import { sortBy } from '../../../helpers/utils.mjs';
import DHBaseItemSheet from '../api/base-item.mjs';
const { TextEditor } = foundry.applications.ux;

View file

@ -45,7 +45,7 @@ export default class SubclassSheet extends DHBaseItemSheet {
const context = await super._prepareContext(options);
if (this.document.system.linkedClass) {
context.class = (await fromUuid(this.document.system.linkedClass)) ?? {
name: 'Missing Class',
name: _loc('DAGGERHEART.GENERAL.missingX', { x: _loc('TYPES.Item.class') }),
img: 'systems/daggerheart/assets/icons/documents/items/laurel-crown.svg',
missing: true
};