Fully localize the PlayerSheet

This commit is contained in:
Oliver 2026-01-21 15:44:33 -07:00
parent 3819db1ce4
commit 235f8aef39
4 changed files with 9 additions and 5 deletions

View file

@ -82,7 +82,7 @@ export class PlayerSheet extends HandlebarsApplicationMixin(ActorSheetV2) {
controls.push({
icon: `fa-solid fa-at`,
label: `Manage Attributes`,
label: `taf.Apps.PlayerSheet.manage-attributes`,
action: `manageAttributes`,
visible: () => {
const isGM = game.user.isGM;
@ -167,7 +167,6 @@ export class PlayerSheet extends HandlebarsApplicationMixin(ActorSheetV2) {
event.stopPropagation();
if ( event.detail > 1 ) { return }
// const docSheetConfigWidth = TAFDocumentSheetConfig.DEFAULT_OPTIONS.position.width;
new TAFDocumentSheetConfig({
document: this.document,
position: {