Add UK/US translation

This commit is contained in:
2024-09-10 07:20:55 +02:00
parent 580a2ccaba
commit 03b8779862
131 changed files with 964 additions and 547 deletions

View File

@@ -10,7 +10,7 @@
<div class="flexrow">
{{#if (eq attrKey "tochoose")}}
<span class="roll-dialog-label">Attribut</span>
<span class="roll-dialog-label">{{localize "MNBL.attribute"}}</span>
<select class="status-small-label color-class-common" id="attrKey" type="text" name="attrKey" value="attrKey"
data-dtype="string">
{{selectOptions config.attributs selected=attrKey}}
@@ -41,7 +41,7 @@
</select>
</div>
<div class="flexrow">
<span class="roll-dialog-label">Points d'Ame</span>
<span class="roll-dialog-label">{{localize "MNBL.soulpoints"}}</span>
<select class="roll-dialog-label" id="runeame" type="text" name="runeame" value="{{runeame}}" data-dtype="Number">
{{selectOptions config.pointsAmeOptions selected=runeame}}
</select>
@@ -50,12 +50,12 @@
{{#if arme}}
<div class="flexrow">
<span class="roll-dialog-label">Arme : </span>
<span class="roll-dialog-label">{{localize "MNBL.weapon"}} : </span>
<span class="roll-dialog-label">{{arme.name}} (+{{arme.system.bonusmaniementoff}})</span>
</div>
{{#if arme.system.isMelee}}
<div class="flexrow">
<span class="roll-dialog-label">Attaque : </span>
<span class="roll-dialog-label">{{localize "MNBL.attack"}} : </span>
<select class="roll-dialog-label" id="typeAttaque" type="text" name="typeAttaque" value="{{typeAttaque}}"
data-dtype="String">
{{selectOptions config.attaques selected=typeAttaque }}
@@ -63,7 +63,7 @@
</div>
{{#if isMonte}}
<div class="flexrow">
<span class="roll-dialog-label">Attaquant monté vs def. au sol (+5) ? : </span>
<span class="roll-dialog-label">{{localize "MNBL.attackmountbonus"}} ? : </span>
<input class="" type="checkbox" id="isMonte" name="isMonte" {{checked isMonte}} />
</div>
{{/if}}
@@ -73,7 +73,7 @@
{{#if difficulte}}
<div class="flexrow">
<span class="roll-dialog-label">Défense adversaire : </span>
<span class="roll-dialog-label">{{localize "MNBL.targetdefense"}} : </span>
<span class="roll-dialog-label"><strong>{{difficulte}}</strong> </span>
</div>
{{/if}}
@@ -81,35 +81,35 @@
{{#if arme}}
{{#if arme.system.isDistance}}
<div class="flexrow">
<span class="roll-dialog-label"><strong>Modificateurs de Tir</strong></span>
<span class="roll-dialog-label"><strong>{{localize "MNBL.shootmodifier"}}</strong></span>
</div>
<div class="flexrow">
<span class="roll-dialog-label">Bonus de visée (+5) ? : </span>
<span class="roll-dialog-label">{{localize "MNBL.aimingbonus"}} ? : </span>
<input class="" type="checkbox" id="visee" name="visee" {{checked visee}} />
</div>
{{#if defender}}
<div class="flexrow">
<span class="roll-dialog-label">La cible est consciente du tir (-{{defender.system.attributs.adr.value}})? : </span>
<span class="roll-dialog-label">{{localize "MNBL.targetseeshoot"}} (-{{defender.system.attributs.adr.value}})? : </span>
<input class="" type="checkbox" id="cibleconsciente" name="cibleconsciente" {{checked cibleconsciente}} />
</div>
{{else}}
<div class="flexrow">
<span class="roll-dialog-label">Pas de cible désignée ! </span>
<span class="roll-dialog-label">{{localize "MNBL.notarget"}} ! </span>
</div>
{{/if}}
<div class="flexrow">
<span class="roll-dialog-label">La cible court (-5/-10 selon portée)? : </span>
<span class="roll-dialog-label">{{localize "MNBL.runningtarget"}} ? : </span>
<input class="" type="checkbox" id="ciblecourt" name="ciblecourt" {{checked ciblecourt}} />
</div>
<div class="flexrow">
<span class="roll-dialog-label">Couvert ? : </span>
<span class="roll-dialog-label">{{localize "MNBL.hascover"}} ? : </span>
<select class="roll-dialog-label" id="typeCouvert" type="text" name="typeCouvert" value="{{typeCouvert}}"
data-dtype="String">
{{selectOptions config.couverts labelAttr="name" selected=typeCouvert}}
</select>
</div>
<div class="flexrow">
<span class="roll-dialog-label">Portée : </span>
<span class="roll-dialog-label">{{localize "MNBL.range"}} </span>
<select class="roll-dialog-label" id="difficulte" type="text" name="difficulte" value="{{difficulte}}"
data-dtype="Number">
{{selectOptions config.listePortees selected=difficulte}}
@@ -120,43 +120,43 @@
{{#if hasDesavantageBonus}}
<div class="flexrow">
<span class="roll-dialog-label"><strong>Positions désavantageuses (bonus max +15)</strong></span>
<span class="roll-dialog-label"><strong>{{localize "MNBL.disadvantagepositions"}}</strong></span>
</div>
<div class="flexrow">
<span class="roll-dialog-label">Cible au sol (+5) ? : </span>
<span class="roll-dialog-label">{{localize "MNBL.targetground"}} ? : </span>
<input class="" type="checkbox" id="cibleausol" name="cibleausol" {{checked cibleausol}} />
</div>
<div class="flexrow">
<span class="roll-dialog-label">Cible désarmée (+5) ? : </span>
<span class="roll-dialog-label">{{localize "MNBL.unarmedtarget"}} ? : </span>
<input class="" type="checkbox" id="cibledesarmee" name="cibledesarmee" {{checked cibledesarmee}} />
</div>
<div class="flexrow">
<span class="roll-dialog-label">Cible en espace restreint (+5) ? : </span>
<span class="roll-dialog-label">{{localize "MNBL.smallroomtarget"}} ? : </span>
<input class="" type="checkbox" id="ciblerestreint" name="ciblerestreint" {{checked ciblerestreint}} />
</div>
<div class="flexrow">
<span class="roll-dialog-label">Cible immobilisée (+5) ? : </span>
<span class="roll-dialog-label">{{localize "MNBL.targetcantmove"}} ? : </span>
<input class="" type="checkbox" id="cibleimmobilisée" name="cibleimmobilisée" {{checked cibleimmobilisée}} />
</div>
<div class="flexrow">
<span class="roll-dialog-label">Cible surplombée (+5) ? : </span>
<span class="roll-dialog-label">{{localize "MNBL.targetbelow"}} ? : </span>
<input class="" type="checkbox" id="ciblesurplomb" name="ciblesurplomb" {{checked ciblesurplomb}} />
</div>
{{/if}}
<div class="flexrow">
<span class="roll-dialog-label">Malus de Santé : </span>
<span class="roll-dialog-label">{{localize "MNBL.healthmalus"}} : </span>
<span class="roll-dialog-label">{{malusSante}}</span>
</div>
<div class="flexrow">
<span class="roll-dialog-label">Malus d'Ame : </span>
<span class="roll-dialog-label">{{localize "MNBL.soulmalus"}} : </span>
<span class="roll-dialog-label">{{malusAme}}</span>
</div>
{{#if (count modifiers)}}
<div class="flexrow">
<span class="roll-dialog-label">Modificateurs enregistrés : </span>
<span class="roll-dialog-label">{{localize "MNBL.registeredmodifiers"}} : </span>
</div>
{{#each modifiers as |modifier idx|}}
<div class="flexrow">
@@ -168,16 +168,16 @@
{{/if}}
<div class="flexrow">
<span class="roll-dialog-label">Modificateur : </span>
<span class="roll-dialog-label">{{localize "MNBL.modifier"}} : </span>
<select class="roll-dialog-label" id="modificateur" type="text" name="modificateur" value="{{modificateur}}"
data-dtype="Number">
{{selectOptions config.modificateurOptions nameAttr="key" labelAttr="label" selected=modificateur }}
{{selectOptions config.modificateurOptions valueAttr="key" nameAttr="key" labelAttr="label" selected=modificateur }}
</select>
</div>
{{#if selectDifficulte}}
<div class="flexrow">
<span class="roll-dialog-label">Difficulté : </span>
<span class="roll-dialog-label">{{localize "MNBL.difficulty"}} : </span>
<select class="roll-dialog-label" id="difficulte" type="text" name="difficulte" value="{{difficulte}}"
data-dtype="Number">
{{selectOptions config.difficulteOptions selected=difficulte}}
@@ -187,7 +187,7 @@
{{#if canEclatDoubleD20}}
<div class="flexrow">
<span class="roll-dialog-label">Doubler le d20 (1 Point d'Eclat)</span>
<span class="roll-dialog-label">{{localize "MNBL.doubleD20"}}</span>
<input class="" id="doubleD20" type="checkbox" name="doubleD20" value="{{doubleD20}}" {{checked doubleD20}} />
</div>
{{/if}}