mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-12 03:31:07 +01:00
Translating inventory descriptions (#782)
This commit is contained in:
parent
d65bd28e16
commit
7a012a74f0
1 changed files with 1 additions and 1 deletions
|
|
@ -419,7 +419,7 @@ export default function DHApplicationMixin(Base) {
|
|||
: this.document.system.actions?.get(actionId);
|
||||
if (!doc) return;
|
||||
|
||||
const description = doc.system?.description ?? doc.description;
|
||||
const description = game.i18n.localize(doc.system?.description ?? doc.description);
|
||||
const isAction = !!actionId;
|
||||
descriptionElement.innerHTML = await foundry.applications.ux.TextEditor.implementation.enrichHTML(
|
||||
description,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue