Fixes localize for Roll
This commit is contained in:
parent
4d4f071417
commit
7d643b5134
|
@ -88,7 +88,7 @@ async function showChatRollMessage(r, zeromode, attribute_name = "", position =
|
||||||
effect_localize = 'BITD.EffectStandard'
|
effect_localize = 'BITD.EffectStandard'
|
||||||
}
|
}
|
||||||
|
|
||||||
let result = await renderTemplate("systems/blades-in-the-dark/templates/blades-roll.html", {rolls: rolls, roll_status: roll_status, attribute_label: attribute_label, position: position, effect: effect_localize});
|
let result = await renderTemplate("systems/blades-in-the-dark/templates/blades-roll.html", {rolls: rolls, roll_status: roll_status, attribute_label: attribute_label, position: position, position_localize: position_localize, effect: effect, effect_localize: effect_localize});
|
||||||
|
|
||||||
let messageData = {
|
let messageData = {
|
||||||
speaker: speaker,
|
speaker: speaker,
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
{{#if attribute_label}}<div class="chat-label label-stripe-chat">{{localize attribute_label}}</div>{{/if}}
|
{{#if attribute_label}}<div class="chat-label label-stripe-chat">{{localize attribute_label}}</div>{{/if}}
|
||||||
{{#if position}}
|
{{#if position}}
|
||||||
<div class="chat-label-small label-stripe-chat-small">
|
<div class="chat-label-small label-stripe-chat-small">
|
||||||
{{{localize position}}} | {{{localize effect}}}
|
{{{localize position_localize}}} | {{{localize effect_localize}}}
|
||||||
</div>
|
</div>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue