From ebde02966485eb88e98dad424848220e74c22b63 Mon Sep 17 00:00:00 2001 From: Matheus Clemente Date: Sat, 3 Aug 2024 15:16:48 -0300 Subject: [PATCH] Fix for PF2e v6 Fix #84 --- module/SystemProvider.js | 4 ++-- templates/parts/PF2e-Proficiencies.html | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/module/SystemProvider.js b/module/SystemProvider.js index 25ac1c9..82070a3 100644 --- a/module/SystemProvider.js +++ b/module/SystemProvider.js @@ -908,8 +908,8 @@ export class pf2eProvider extends SystemProvider { get tabs() { return { currencies: { id: "currencies", visible: true, localization: "party-overview.WEALTH" }, - bulk: { id: "bulk", visible: true, localization: "PF2E.BulkShortLabel" }, - languages: { id: "languages", visible: true, localization: "PF2E.Languages" }, + bulk: { id: "bulk", visible: true, localization: "PF2E.Item.Physical.Bulk.Label" }, + languages: { id: "languages", visible: true, localization: "PF2E.Actor.Creature.Language.Plural" }, lore: { id: "lore", visible: true, localization: "PF2E.Lore" }, proficiencies: { id: "skills", visible: true, localization: "PF2E.SkillsLabel" }, }; diff --git a/templates/parts/PF2e-Proficiencies.html b/templates/parts/PF2e-Proficiencies.html index bac201a..a665e6c 100644 --- a/templates/parts/PF2e-Proficiencies.html +++ b/templates/parts/PF2e-Proficiencies.html @@ -13,10 +13,10 @@ {{/each}} - {{#each skills as | value key | }} + {{#each skills as | data key | }}
-
{{localize value}}
+
{{localize data.label}}
{{#each (partyOverviewGetSkillList key ../actors)}}
{{numberFormat this.value decimals=0 sign=true}}