mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-06-06 04:44:16 +02:00
Localization and minor fix
This commit is contained in:
parent
a5db9371c6
commit
2c6d813f25
3 changed files with 2 additions and 2 deletions
|
|
@ -2442,6 +2442,7 @@
|
||||||
"single": "Miss",
|
"single": "Miss",
|
||||||
"plural": "Miss"
|
"plural": "Miss"
|
||||||
},
|
},
|
||||||
|
"missingX": "Missing {x}",
|
||||||
"maxWithThing": "Max {thing}",
|
"maxWithThing": "Max {thing}",
|
||||||
"missingDragDropThing": "Drop {thing} here",
|
"missingDragDropThing": "Drop {thing} here",
|
||||||
"multiclass": "Multiclass",
|
"multiclass": "Multiclass",
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,3 @@
|
||||||
import { sortBy } from '../../../helpers/utils.mjs';
|
|
||||||
import DHBaseItemSheet from '../api/base-item.mjs';
|
import DHBaseItemSheet from '../api/base-item.mjs';
|
||||||
|
|
||||||
const { TextEditor } = foundry.applications.ux;
|
const { TextEditor } = foundry.applications.ux;
|
||||||
|
|
|
||||||
|
|
@ -45,7 +45,7 @@ export default class SubclassSheet extends DHBaseItemSheet {
|
||||||
const context = await super._prepareContext(options);
|
const context = await super._prepareContext(options);
|
||||||
if (this.document.system.linkedClass) {
|
if (this.document.system.linkedClass) {
|
||||||
context.class = (await fromUuid(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',
|
img: 'systems/daggerheart/assets/icons/documents/items/laurel-crown.svg',
|
||||||
missing: true
|
missing: true
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue