diff --git a/module/actor/actor-sheet.js b/module/actor/actor-sheet.js index 12c98e5..4ac220d 100644 --- a/module/actor/actor-sheet.js +++ b/module/actor/actor-sheet.js @@ -176,7 +176,7 @@ export default class DeltaGreenActorSheet extends foundry.appv1.sheets for (var i = 0; i < data.specialTraining.length; i++) { let training = data.specialTraining[i]; - training.attribute = game.i18n.localize(`DG.Skills.${training.key}`); + // training.attribute = game.i18n.localize(`DG.Skills.${training.key}`); training.type = "training"; training.sortLabel = training.name.toUpperCase(); training.actorType = this.actor.type; @@ -809,11 +809,11 @@ export default class DeltaGreenActorSheet extends foundry.appv1.sheets htmlContent += ` `; - htmlContent += ` `; - htmlContent += ` `; - htmlContent += ` `; - htmlContent += ` `; - htmlContent += ` `; - htmlContent += ` `; - htmlContent += ` `; htmlContent += ` `; @@ -1084,7 +1084,9 @@ export default class DeltaGreenActorSheet extends foundry.appv1.sheets ([key, skill]) => ({ value: key, group: optionGroups.typedSkills, - label: `${skill.group} (${skill.label})`, + label: + game.i18n.localize(`DG.TypeSkills.${skill.group}`) + + ` (${skill.label})`, targetNumber: skill.proficiency, }) ); diff --git a/templates/actor/partials/attributes-grid-partial.html b/templates/actor/partials/attributes-grid-partial.html index f048a12..d26b434 100644 --- a/templates/actor/partials/attributes-grid-partial.html +++ b/templates/actor/partials/attributes-grid-partial.html @@ -3,7 +3,7 @@
- + ({{numberFormat statistic.x5 decimals=0 sign=false}}% )
diff --git a/templates/actor/partials/custom-skills-partial.html b/templates/actor/partials/custom-skills-partial.html index fe2a3fa..761c586 100644 --- a/templates/actor/partials/custom-skills-partial.html +++ b/templates/actor/partials/custom-skills-partial.html @@ -13,11 +13,13 @@
+ @@ -37,8 +39,22 @@
+ {{#if_not_eq (localize (concat 'DG.Attributes.' skill.key)) (concat "DG.Attributes." skill.key)}} + + {{else}} + {{#if_not_eq (localize (concat 'DG.Skills.' skill.key)) (concat "DG.Skills." skill.key)}} + + {{else}} + + {{/if_not_eq}} + {{/if_not_eq}}
diff --git a/templates/actor/unnatural-sheet.html b/templates/actor/unnatural-sheet.html index 3d941e7..13b6880 100644 --- a/templates/actor/unnatural-sheet.html +++ b/templates/actor/unnatural-sheet.html @@ -96,11 +96,13 @@ {{#if (hideSkillBasedOnProficiencyAndUserChoice ../actor.system.showUntrainedSkills skill.proficiency)}}
+