Fixes localize for Roll
This commit is contained in:
parent
4d4f071417
commit
7d643b5134
2 changed files with 2 additions and 2 deletions
|
@ -88,7 +88,7 @@ async function showChatRollMessage(r, zeromode, attribute_name = "", position =
|
|||
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 = {
|
||||
speaker: speaker,
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
{{#if attribute_label}}<div class="chat-label label-stripe-chat">{{localize attribute_label}}</div>{{/if}}
|
||||
{{#if position}}
|
||||
<div class="chat-label-small label-stripe-chat-small">
|
||||
{{{localize position}}} | {{{localize effect}}}
|
||||
{{{localize position_localize}}} | {{{localize effect_localize}}}
|
||||
</div>
|
||||
{{/if}}
|
||||
|
||||
|
|
Reference in a new issue