mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-06-05 20:34:15 +02:00
Localization and minor fix
This commit is contained in:
parent
a5db9371c6
commit
2c6d813f25
3 changed files with 2 additions and 2 deletions
|
|
@ -1,4 +1,3 @@
|
|||
import { sortBy } from '../../../helpers/utils.mjs';
|
||||
import DHBaseItemSheet from '../api/base-item.mjs';
|
||||
|
||||
const { TextEditor } = foundry.applications.ux;
|
||||
|
|
|
|||
|
|
@ -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
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue