Corrections sur les clés de label manquantes
Some checks failed
Release Creation / build (release) Failing after 54s

This commit is contained in:
2026-04-16 21:52:56 +02:00
parent 56ed6c7567
commit 1d6e6dd44e
25 changed files with 252 additions and 161 deletions

View File

@@ -1,7 +1,7 @@
<section class="dnc-chat-card dnc-chat-card-spell">
<header class="chat-card-header">
<div class="chat-card-heading">
<p class="chat-card-kicker">Magie</p>
<p class="chat-card-kicker">{{localize "DNC.Chat.Kicker.Magic"}}</p>
<h2>{{title}}</h2>
{{#if subtitle}}<p class="chat-card-subtitle">{{subtitle}}</p>{{/if}}
</div>
@@ -10,57 +10,57 @@
</div>
</header>
<div class="chat-pill-row">
<span class="chat-pill {{#if success}}success{{else}}failure{{/if}}">{{#if success}}Reussite{{else}}Echec{{/if}}</span>
<span class="chat-pill {{#if success}}success{{else}}failure{{/if}}">{{#if success}}{{localize "DNC.Chat.Success"}}{{else}}{{localize "DNC.Chat.Failure"}}{{/if}}</span>
{{#if modeLabel}}<span class="chat-pill">{{modeLabel}}</span>{{/if}}
{{#if favorLabel}}<span class="chat-pill">Faveur {{favorLabel}}</span>{{/if}}
{{#if favorLabel}}<span class="chat-pill">{{localize "DNC.Chat.Favor"}} {{favorLabel}}</span>{{/if}}
<span class="chat-pill">{{targetPillLabel}} {{targetPillValue}}</span>
<span class="chat-pill">Jet {{keptPillValue}}</span>
<span class="chat-pill">{{localize "DNC.Chat.RollValue"}} {{keptPillValue}}</span>
</div>
<div class="chat-keyline">
<span class="chat-keyline-label">Lancers</span>
<span class="chat-keyline-label">{{localize "DNC.Chat.Rolls"}}</span>
<p class="roll-values">{{#each values}}<span>{{this}}</span>{{/each}}</p>
</div>
{{#if autoDisadvantage}}
<p class="chat-note">
<strong>Desavantage automatique</strong> :
<strong>{{localize "DNC.Chat.AutoDisadvantage"}}</strong> :
{{#if autoDisadvantageCanceled}}
le cout du sort depasse le rang du lanceur, mais une faveur l'a annule.
{{localize "DNC.Chat.AutoDisadvantageCanceled"}}
{{else}}
le cout du sort depasse le rang du lanceur.
{{localize "DNC.Chat.AutoDisadvantageApplies"}}
{{/if}}
</p>
{{/if}}
{{#if favorNote}}
<p class="chat-note"><strong>Faveur</strong> : {{favorNote}}</p>
<p class="chat-note"><strong>{{localize "DNC.Chat.Favor"}}</strong> : {{favorNote}}</p>
{{/if}}
{{#if focusValue}}
<p class="chat-note">
<strong>Focus</strong> : {{focusValue}} depuis {{focusBeforeLabel}}
{{#if focusSpent}} · {{focusSpent}} utilise{{/if}}
· {{focusRemaining}} restant
{{#if focusDegraded}} · le focus descend a {{focusAfterLabel}}{{/if}}
{{#if focusRolled}} · premier sort de la scene{{/if}}
<strong>{{localize "DNC.UI.Focus"}}</strong> : {{focusValue}} {{localize "DNC.Chat.FocusFrom"}} {{focusBeforeLabel}}
{{#if focusSpent}} · {{focusSpent}} {{localize "DNC.Chat.FocusUsed"}}{{/if}}
· {{focusRemaining}} {{localize "DNC.Chat.FocusLeft"}}
{{#if focusDegraded}} · {{localize "DNC.Chat.FocusDropsTo"}} {{focusAfterLabel}}{{/if}}
{{#if focusRolled}} · {{localize "DNC.Chat.FirstSpellScene"}}{{/if}}
</p>
{{else}}
{{#if focusRolled}}
<p class="chat-note"><strong>Focus</strong> : aucun apport pour cette scene.</p>
<p class="chat-note"><strong>{{localize "DNC.UI.Focus"}}</strong> : {{localize "DNC.Chat.FocusNoBenefit"}}</p>
{{/if}}
{{/if}}
<p class="chat-note"><strong>PV depenses</strong> : {{spentPv}} · <strong>PV restants</strong> : {{remainingPv}}</p>
<p class="chat-note"><strong>{{localize "DNC.Chat.HpSpent"}}</strong> : {{spentPv}} · <strong>{{localize "DNC.Chat.HpRemaining"}}</strong> : {{remainingPv}}</p>
{{#if specialNote}}
<p class="chat-note warning">{{specialNote}}</p>
{{/if}}
{{#if showDamageButton}}
<div class="chat-actions">
<button type="button" class="chat-action-button" data-action="rollChatDamage" data-item-uuid="{{itemUuid}}">
<i class="fa-solid fa-burst"></i> Lancer les degats
<i class="fa-solid fa-burst"></i> {{localize "DNC.Chat.RollDamage"}}
</button>
</div>
{{/if}}
{{#if showChaosButton}}
<div class="chat-actions">
<button type="button" class="chat-action-button" data-action="rollSpellChaos" data-actor-uuid="{{actorUuid}}" data-item-uuid="{{itemUuid}}">
<i class="fa-solid fa-dice-d20"></i> Risquer le Chaos
<i class="fa-solid fa-dice-d20"></i> {{localize "DNC.Chat.RiskChaos"}}
</button>
</div>
{{/if}}