From 3737f5cf90b68420eef16647ad3a8399e407b5ce Mon Sep 17 00:00:00 2001 From: "Wendel Henrique (SouOWendel)" Date: Tue, 12 Mar 2024 22:03:03 -0300 Subject: [PATCH] feat(actor rituals): was added translations for information shown on actor sheet, and slide button --- templates/actor/parts/actor-rituals.html | 32 ++++++++++++++++++------ 1 file changed, 24 insertions(+), 8 deletions(-) diff --git a/templates/actor/parts/actor-rituals.html b/templates/actor/parts/actor-rituals.html index b4fb4d7..757b3fe 100644 --- a/templates/actor/parts/actor-rituals.html +++ b/templates/actor/parts/actor-rituals.html @@ -24,17 +24,33 @@ {{#each rituals as |item id|}}
  • -
    - +
    + + + +

    {{item.name}}

    -
    {{item.system.range}}
    -
    {{item.system.areaEffect}}
    -
    {{item.system.duration}}
    -
    {{item.system.resistance}}
    +
    + {{#if item.system.range}}{{localize (concat + "ordemparanormal.rangeChoices." item.system.range)}} {{else}} — {{/if}} +
    +
    + {{#if item.system.areaEffect}}{{localize (concat + "ordemparanormal.areaChoices." item.system.areaEffect)}} {{else}} — + {{/if}} +
    +
    + {{#if item.system.duration}}{{localize (concat + "ordemparanormal.durationChoices." item.system.duration)}} {{else}} — + {{/if}} +
    +
    + {{#if item.system.resistance}}{{localize (concat + "ordemparanormal.resistanceChoices." item.system.resistance)}} {{else}} — + {{/if}} +