Enhance localization stuff

This commit is contained in:
sladecraven 2022-05-11 19:29:32 +02:00
parent a31fe251e0
commit 44ce88dd17
17 changed files with 170 additions and 93 deletions

View File

@ -855,11 +855,30 @@ body.system-bol img#logo {
font-weight: bold; font-weight: bold;
color: #4b4a44; color: #4b4a44;
} }
.bol.sheet.actor .bonus-text {
margin-top: 6px;
}
.bol.sheet.actor .stat-value { .bol.sheet.actor .stat-value {
font-size: 1.5rem; font-size: 1.5rem;
font-weight: bold; font-weight: bold;
color: darkred; color: darkred;
} }
.bol.sheet.actor .resource-bonus {
font-weight: bold;
color: darkred;
}
.bol.sheet.actor .resources-value {
background-color:#2a2a2a30;
border-color: #003c1e;
margin-top: 4px;
border-radius: 0.5rem;
}
.bol.sheet.actor .resources-novalue {
background-color:#2a2a2a00;
border-color: #003c1e;
margin-top: 4px;
border-radius: 0.5rem;
}
.bol.sheet.actor .stat-roll { .bol.sheet.actor .stat-roll {
font-size: 1.5rem; font-size: 1.5rem;
color: #4b4a44; color: #4b4a44;

View File

@ -348,5 +348,64 @@
"BOL.size.enormous": "Colossale", "BOL.size.enormous": "Colossale",
"BOL.size.gigantic": "Gigantesque", "BOL.size.gigantic": "Gigantesque",
"BOL.size.immense": "Immense", "BOL.size.immense": "Immense",
"BOL.size.colossal": "Monstrueuse" "BOL.size.colossal": "Monstrueuse",
}
"BOL.chat.fightactive": "{name} active son option de combat {foName} pour ce round !",
"BOL.chat.fightunactive": "{name} désactive son option de combat {foName} pour ce round !",
"BOL.chat.isdead": "{name} est mort !",
"BOL.chat.epitaph": "Que son nom soit honoré sur les champs de batailles de Lémurie !",
"BOL.chat.vitalityzero": "La Vitalité de {name} est {hp} : il va s'écrouler au sol et sombrer dans l'inconscience !",
"BOL.chat.vitalityheroism": "Vous pouvez dépenser 1 Point d'Héroisme pour reprendre vos esprits pendant 1 round.",
"BOL.chat.vitalityheroismhint": "Dans ce cas votre vitalité remonte à son maximum divisé par 2 (arrondi au supérieur).",
"BOL.chat.vitalitydying": "La Vitalité de {name} est de {hp} ! Il est mourant ...",
"BOL.chat.vitalitydyingheroism": "Vous pouvez cependant dépenser 1 Point d'Héroisme pour Défier la Mort (cf. page 58).",
"BOL.chat.alchemytitle": "Préparation Alchimique : {name}",
"BOL.chat.alchemypoints": "Points de Création Investis : {pcCostCurrent}",
"BOL.chat.alchemysuccess": "La préparation alchimique a été réalisée avec succès !<br>Créez l'item ou l'effet correspondant dans votre Inventaire.<br>L'avancement dans la préparation a été remis à 0.",
"BOL.chat.alchemyfailure": "La préparation alchimique a échouée !<br>L'avancement dans la préparation a été remis à 0.",
"BOL.chat.rolldamage": "Lancer les dommages",
"BOL.chat.rolldamage6": "Lancer les dommages +6",
"BOL.chat.rolldamage12": "Dommages +12 (1 Pt. d'Heroisme)",
"BOL.chat.damageresult": "Dommages de {weapon.name} : {total}",
"BOL.chat.damagetarget": "Cible : {target}",
"BOL.chat.applydamagetotarget": "Appliquer les dommages à la cible",
"BOL.chat.fightoption": "Option de combat",
"BOL.chat.reroll": "Relancer (1 P. Heroisme)",
"BOL.chat.toheroic": "Transformer en succés Héroïque (1 P. Héroisme)",
"BOL.chat.tolegend": "Transformer en succes Légendaire (1 P. Heroisme)",
"BOL.chat.hurttitle": "{name} va encaisser {damageTotal} dégats !",
"BOL.chat.armordefault": "C'est une attaque au défaut de l'armure : vous devez encaisser SANS la protection de l'armure !",
"BOL.chat.witharmor": "Encaisser avec la protection de l'armure",
"BOL.chat.withoutarmor": "Encaisser sans la protection de l'armure",
"BOL.chat.shakeoff": "Juste une égratignure (1 Point d'Héroisme)",
"BOL.chat.splinteredshield": "Parade in Extremis avec {name} (1 Point d'Héroisme)",
"BOL.chat.damagesummary": "Dégats subis par {name}",
"BOL.chat.protectvalue": "Protection de l'armure",
"BOL.chat.noprotectvalue": "Aucune protection d'armure !",
"BOL.chat.heroreducedamage": "Un point d'héroisme dépensé, pour une réduction des dommages supplémentaire de {total}.",
"BOL.chat.herosplintered": "Aucun dommage encaissé, grâce à la parade in-extremis avec {weaponHero.name}. L'arme a été détruite pendant cette parade ! Un point d'héroisme a également été dépensé.",
"BOL.chat.finaldamage": "Encaissement final : {finalDamage} dégats !",
"BOL.chat.spell": "Sort",
"BOL.chat.spellcost": "Cout en Points de Pouvoir",
"BOL.chat.spellremaining": "Points de Pouvoir restants",
"BOL.dialog.soeasy": "Inmanquable (+4)",
"BOL.dialog.veryeasy": "Trés Facile (+2)",
"BOL.dialog.easy": "Facile (+1)",
"BOL.dialog.moderate": "Moyenne (0)",
"BOL.dialog.hard": "Ardue (-1)",
"BOL.dialog.tough": "Difficile (-2)",
"BOL.dialog.demanding": "Très Difficile (-4)",
"BOL.dialog.formidable": "Impossible (-6)",
"BOL.dialog.heroic": "Héroïque (-8)",
"BOL.dialog.mythic": "Mythique (-10)",
"BOL.dialog.divine": "Divine (-12)",
"BOL.dialog.pointblank": "Bout portant (+1)",
"BOL.dialog.close": "Courte (0)",
"BOL.dialog.medium": "Moyenne (-1))",
"BOL.dialog.long": "Longue (-2)",
"BOL.dialog.distant": "Très longue (-4)",
"BOL.dialog.extreme": "Extrême (-6)",
"BOL.dialog.utmost": "Maximale (-8)"
}

View File

@ -27,11 +27,11 @@ export class BoLActor extends Actor {
if (this.type == 'character') { if (this.type == 'character') {
let newVitality = 10 + this.data.data.attributes.vigor.value + this.data.data.resources.hp.bonus let newVitality = 10 + this.data.data.attributes.vigor.value + this.data.data.resources.hp.bonus
if (this.data.data.resources.hp.max != newVitality) { if (this.data.data.resources.hp.max != newVitality) {
this.update({ 'data.resources.hp.max': newVitality }); this.update({ 'data.resources.hp.max': newVitality })
} }
let newPower = 10 + this.data.data.attributes.mind.value + this.data.data.resources.power.bonus let newPower = 10 + this.data.data.attributes.mind.value + this.data.data.resources.power.bonus
if (this.data.data.resources.power.max != newPower) { if (this.data.data.resources.power.max != newPower) {
this.update({ 'data.resources.power.max': newPower }); this.update({ 'data.resources.power.max': newPower })
} }
} }
} }

View File

@ -14,7 +14,7 @@
"url": "https://github.com/ZigmundKreud/bol", "url": "https://github.com/ZigmundKreud/bol",
"license": "LICENSE.txt", "license": "LICENSE.txt",
"flags": {}, "flags": {},
"version": "1.3.8", "version": "1.3.10",
"templateVersion": 10, "templateVersion": 10,
"minimumCoreVersion": "0.8.6", "minimumCoreVersion": "0.8.6",
"compatibleCoreVersion": "9", "compatibleCoreVersion": "9",

View File

@ -50,25 +50,29 @@
{{#if @root.isAlchemist}} {{#if @root.isAlchemist}}
<div class="resource stat flex1 flex-group-center"> <div class="resource stat flex1 flex-group-center">
<label class="stat-label">{{localize label}}</label><br/> <label class="stat-label">{{localize label}}</label><br/>
<input class="stat-value" type="text" name="data.resources.{{key}}.value" value="{{numberFormat value decimals=0 sign=false}}" data-dtype="Number"/> <input class="stat-value resources-value" type="text" name="data.resources.{{key}}.value" value="{{numberFormat value decimals=0 sign=false}}" data-dtype="Number"/>
{{#if (eq @root.data.type 'player')}} {{#if (eq @root.data.type 'player')}}
{{#if (exists bonus)}} {{#if (exists bonus)}}
<span class="flexrow"><label class="stat-max">Bonus:</label><input class="stat-max" type="text" name="data.resources.{{key}}.bonus" value="{{numberFormat bonus decimals=0 sign=false}}" data-dtype="Number"/></span> <span class="flexrow"><label class="stat-max bonus-text">Bonus</label><input class="resource-bonus resources-value" type="text" name="data.resources.{{key}}.bonus" value="{{numberFormat bonus decimals=0 sign=false}}" data-dtype="Number"/></span>
{else}
<span class="flexrow"><label class="stat-max resources-value">&nbsp;</label><input class="resource-bonus resources-novalue" type="text" value="" disabled></span>
{{/if}}
{{/if}} {{/if}}
{{/if}} <input class="resources-value" type="text" name="data.resources.{{key}}.max" value="{{numberFormat max decimals=0 sign=false}}" data-dtype="Number"/>
<input class="stat-max" type="text" name="data.resources.{{key}}.max" value="{{numberFormat max decimals=0 sign=false}}" data-dtype="Number"/>
</div> </div>
{{/if}} {{/if}}
{{else}} {{else}}
<div class="resource stat flex1 flex-group-center"> <div class="resource stat flex1 flex-group-center">
<label class="stat-label">{{localize label}}</label><br/> <label class="stat-label">{{localize label}}</label><br/>
<input class="stat-value" type="text" name="data.resources.{{key}}.value" value="{{numberFormat value decimals=0 sign=false}}" data-dtype="Number"/> <input class="stat-value resources-value" type="text" name="data.resources.{{key}}.value" value="{{numberFormat value decimals=0 sign=false}}" data-dtype="Number"/>
{{#if (eq @root.data.type 'player')}} {{#if (eq @root.data.type 'player')}}
{{#if (exists bonus)}} {{#if (exists bonus)}}
<span class="flexrow"><label class="stat-max">Bonus:</label><input class="stat-max" type="text" name="data.resources.{{key}}.bonus" value="{{numberFormat bonus decimals=0 sign=false}}" data-dtype="Number"/></span> <span class="flexrow"><label class="stat-max bonus-text">Bonus</label><input class="resource-bonus resources-value" type="text" name="data.resources.{{key}}.bonus" value="{{numberFormat bonus decimals=0 sign=false}}" data-dtype="Number"/></span>
{{else}}
<span class="flexrow"><label class="stat-max">&nbsp;</label><input class="resource-bonus resources-novalue" type="text" value="" disabled></span>
{{/if}}
{{/if}} {{/if}}
{{/if}} <input class="resources-value" type="text" name="data.resources.{{key}}.max" value="{{numberFormat max decimals=0 sign=false}}" data-dtype="Number"/>
<input class="stat-max" type="text" name="data.resources.{{key}}.max" value="{{numberFormat max decimals=0 sign=false}}" data-dtype="Number"/>
</div> </div>
{{/if}} {{/if}}
{{/each}} {{/each}}

View File

@ -5,10 +5,9 @@
<div class="flexrow"> <div class="flexrow">
{{#if state}} {{#if state}}
{{name}} active son option de combat {{foName}} pour ce round ! {{localize "BOL.chat.fightactive" name=name foName=foName}}
{{else}} {{else}}
{{name}} désactive son option de combat {{foName}} pour ce round ! {{localize "BOL.chat.fightunactive" name=name foName=foName}}
{{/if}} {{/if}}
</div> </div>

View File

@ -6,17 +6,17 @@
<div class="flexrow"> <div class="flexrow">
{{#if (eq hp 0)}} {{#if (eq hp 0)}}
La Vitalité de {{name}} est {{hp}} : il va s'écrouler au sol et sombrer dans l'inconscience ! {{localize "BOL.chat.vitalityzero" name=name hp=hp}}
<br>Vous pouvez dépenser 1 Point d'Héroisme pour reprendre vos esprits pendant 1 round. <br>{{localize "BOL.chat.vitalityheroism"}}
<br>Dans ce cas votre vitalité remonte à son maximum divisé par 2 (arrondi au supérieur). <br>{{localize "BOL.chat.vitalityheroismhint"}}
{{else}} {{else}}
La Vitalité de {{name}} est de {{hp}} ! Il est mourant ... {{localize "BOL.chat.vitalitydying" name=name hp=hp}}
<br>Vous pouvez cependant dépenser 1 Point d'Héroisme pour Défier la Mort (cf. page 58). <br>{{localize "BOL.chat.vitalitydyingheroism"}}
{{/if}} {{/if}}
{{#if (lt hp -5)}} {{#if (lt hp -5)}}
<br><strong>{{name}} est mort ! </strong> <br><strong>{{localize "BOL.chat.isdead" name=name}}</strong>
<br>Que son nom soit honoré sur les champs de batailles de Lémurie ! <br>{{localize "BOL.chat.epitaph"}}
{{/if}} {{/if}}
</div> </div>

View File

@ -1,11 +1,8 @@
<h4><strong>Préparation Alchimique : {{alchemy.name}}</strong></h4> <h4><strong>{{localize "BOL.chat.alchemytitle" name=alchemy.name}}</strong></h4>
<h4><strong>Points de Création Investis : {{pcCostCurrent}}</strong></h4> <h4><strong>{{localize "BOL.chat.alchemypoints" pcCostCurrent=pcCostCurrent}}</strong></h4>
{{#if isSuccess}} {{#if isSuccess}}
La préparation alchimique a été réalisée avec succès ! {{localize "BOL.chat.alchemysuccess"}}
<br>Créez l'item ou l'effet correspondant dans votre Inventaire.
<br>L'avancement dans la préparation a été remis à 0.
{{else}} {{else}}
La préparation alchimique a échouée ! {{localize "BOL.chat.alchemyfailure"}}
<br>L'avancement dans la préparation a été remis à 0.
{{/if}} {{/if}}

View File

@ -1,7 +1,7 @@
<button class="chat-damage-roll" data-damage-mode="normal-damage" data-attack-id="{{id}}">Lancer les dommages</button> <button class="chat-damage-roll" data-damage-mode="normal-damage" data-attack-id="{{id}}">{{localize "BOL.chat.rolldamage"}}</button>
{{#if isCritical}} {{#if isCritical}}
<button class="chat-damage-roll" data-damage-mode="damage-plus-6" data-attack-id="{{id}}">Lancer les dommages +6</button> <button class="chat-damage-roll" data-damage-mode="damage-plus-6" data-attack-id="{{id}}">{{localize "BOL.chat.rolldamage6"}}</button>
<button class="chat-damage-roll" data-damage-mode="damage-plus-12" data-attack-id="{{id}}">Dommages +12 (1 Pt. d'Heroisme)</button> <button class="chat-damage-roll" data-damage-mode="damage-plus-12" data-attack-id="{{id}}">{{localize "BOL.chat.rolldamage12"}}</button>
{{/if}} {{/if}}

View File

@ -1,13 +1,13 @@
<img class="chat-icon" src="{{weapon.img}}" alt="{{weapon.name}}"/> <img class="chat-icon" src="{{weapon.img}}" alt="{{weapon.name}}"/>
<h3><strong>Dommages de {{weapon.name}} : {{damageRoll.total}}</strong></h3> <h3><strong>{{localize "BOL.chat.damageresult" name=weapon.name total=damageRoll.total}}</strong></h3>
{{#if defender}} {{#if defender}}
<h3><strong>Cible : {{defender.name}}</strong></h3> <h3><strong>{{localize "BOL.chat.damagetarget" target=defender.name}}</strong></h3>
{{/if}} {{/if}}
<div class="actions-section"> <div class="actions-section">
{{#if targetId}} {{#if targetId}}
<div id="{{applyId}}"> <div id="{{applyId}}">
<button class="chat-damage-apply" data-attack-id="{{id}}">Appliquer les dommages à la cible</button> <button class="chat-damage-apply" data-attack-id="{{id}}">{{localize "BOL.chat.applydamagetotarget"}}</button>
</div> </div>
<br> <br>
{{/if}} {{/if}}

View File

@ -22,7 +22,7 @@
<div class="actions-section"> <div class="actions-section">
{{#if fightOption}} {{#if fightOption}}
<div> <div>
Option de combat : {{fightOption.name}} {{localize "BOL.chat.fightoption"}} : {{fightOption.name}}
</div> </div>
{{/if}} {{/if}}
@ -38,14 +38,14 @@
{{/if}} {{/if}}
{{#if reroll}} {{#if reroll}}
<button class="chat-button button hero-reroll" data-roll-id=="{{rollId}}" data-actor-id="{{actor.id}}">Relancer (1 P. Heroisme)</button> <button class="chat-button button hero-reroll" data-roll-id=="{{rollId}}" data-actor-id="{{actor.id}}">{{localize "BOL.chat.reroll"}}</button>
{{/if}} {{/if}}
{{#if (and isSuccess (not isCritical))}} {{#if (and isSuccess (not isCritical))}}
<button class="chat-button button transform-heroic-roll" data-roll-id=="{{rollId}}" data-actor-id="{{actor.id}}">Transformer en succés Héroïque (1 P. Héroisme)</button> <button class="chat-button button transform-heroic-roll" data-roll-id=="{{rollId}}" data-actor-id="{{actor.id}}">{{localize "BOL.chat.toheroic"}}</button>
{{/if}} {{/if}}
{{#if isRealCritical}} {{#if isRealCritical}}
<button class="chat-button button transform-legendary-roll" data-roll-id=="{{rollId}}" data-actor-id="{{actor.id}}">Transformer en succes Légendaire (1 P. Heroisme)</button> <button class="chat-button button transform-legendary-roll" data-roll-id=="{{rollId}}" data-actor-id="{{actor.id}}">{{localize "BOL.chat.tolegend"}}</button>
{{/if}} {{/if}}
<br> <br>
</div> </div>

View File

@ -1,18 +1,18 @@
<img class="chat-icon" src="{{defender.img}}" alt="{{defender.name}}"/> <img class="chat-icon" src="{{defender.img}}" alt="{{defender.name}}"/>
{{defender.name}} va encaisser {{damageTotal}} dégats ! {{localize "BOL.chat.hurttitle" name=defender.name damageTotal=damageTotal}}
{{#if damagesIgnoresArmor}} {{#if damagesIgnoresArmor}}
<br>C'est une attaque au défaut de l'armure : vous devez encaisser SANS la protection de l'armure ! <br>{{localize "BOL.chat.armordefault"}}
{{/if}} {{/if}}
<button class="damage-handling" data-defense-mode="damage-with-armor" data-attack-id="{{attackId}}">Encaisser avec la protection de l'armure</button> <button class="damage-handling" data-defense-mode="damage-with-armor" data-attack-id="{{attackId}}">{{localize "BOL.chat.witharmor"}}</button>
<button class="damage-handling" data-defense-mode="damage-without-armor" data-attack-id="{{attackId}}">Encaisser sans la protection de l'armure</button> <button class="damage-handling" data-defense-mode="damage-without-armor" data-attack-id="{{attackId}}">{{localize "BOL.chat.withoutarmor"}}</button>
{{#if defender.data.data.resources.hero.value}} {{#if defender.data.data.resources.hero.value}}
<button class="damage-handling" data-defense-mode="hero-reduce-damage" data-attack-id="{{attackId}}">Juste une égratignure (1 Point d'Héroisme)</button> <button class="damage-handling" data-defense-mode="hero-reduce-damage" data-attack-id="{{attackId}}">{{localize "BOL.chat.shakeoff"}}</button>
{{#each defenderWeapons as |weapon idx|}} {{#each defenderWeapons as |weapon idx|}}
<button class="damage-handling" data-defense-mode="hero-in-extremis" data-attack-id="{{@root.attackId}}" data-weapon-id="{{weapon._id}}">Parade in Extremis avec {{weapon.name}} (1 Point d'Héroisme)</button> <button class="damage-handling" data-defense-mode="hero-in-extremis" data-attack-id="{{@root.attackId}}" data-weapon-id="{{weapon._id}}">{{localize "BOL.chat.splinteredshield" name=weapon.name}}</button>
{{/each}} {{/each}}
{{/if}} {{/if}}

View File

@ -1,23 +1,22 @@
<img class="chat-icon" src="{{defender.img}}" alt="{{defender.name}}"/> <img class="chat-icon" src="{{defender.img}}" alt="{{defender.name}}"/>
<h3>Dégats subis par {{defender.name}}</h3> <h3>{{localize "BOL.chat.damagesummary" name=name}}</h3>
<ul> <ul>
<li> <li>
{{#if (eq defenseMode "damage-with-armor")}} {{#if (eq defenseMode "damage-with-armor")}}
Protection de l'armure : {{armorProtect}}. {{localize "BOL.chat.protectvalue"}} : {{armorProtect}}.
{{/if}} {{/if}}
{{#if (eq defenseMode "damage-without-armor")}} {{#if (eq defenseMode "damage-without-armor")}}
Aucune protection d'armure ! {{localize "BOL.chat.noprotectvalue"}}
{{/if}} {{/if}}
{{#if (eq defenseMode "hero-reduce-damage")}} {{#if (eq defenseMode "hero-reduce-damage")}}
Protection de l'armure : {{armorProtect}}. {{localize "BOL.chat.protectvalue"}} : {{armorProtect}}.
Un point d'héroisme dépensé, pour une réduction des dommages supplémentaire de {{rollHero.total}}. {{localize "BOL.chat.heroreducedamage" total=rollHero.total}}
{{/if}} {{/if}}
{{#if (eq defenseMode "hero-in-extremis")}} {{#if (eq defenseMode "hero-in-extremis")}}
Aucun dommage encaissé, grâce à la parade in-extremis avec {{weaponHero.name}}. L'arme a été détruite pendant cette parade ! {{localize "BOL.chat.herosplintered" name=weaponHero.name}}
Un point d'héroisme a également été dépensé.
{{/if}} {{/if}}
</li> </li>
<li> <li>
Encaissement final : {{finalDamage}} dégats ! {{localize "BOL.chat.finaldamage" finalDamage=finalDamage}}
</li> </li>
</ul> </ul>

View File

@ -1,4 +1,4 @@
<h4><strong>Sort : {{spell.name}}</strong></h4> <h4><strong>{{localize "BOL.chat.spell"}} : {{spell.name}}</strong></h4>
<h4><strong>Cout en Points de Pouvoir : {{ppCost}}</strong></h4> <h4><strong>{{localize "BOL.chat.spellcost"}} : {{ppCost}}</strong></h4>
<h4><strong>Points de Pouvoir restants : {{sub ppCurrent ppCost}}</strong></h4> <h4><strong>{{localize "BOL.chat.spellremaining"}} : {{sub ppCurrent ppCost}}</strong></h4>

View File

@ -6,13 +6,13 @@
<div class="flex1 center cell"> <div class="flex1 center cell">
<select name="modRanged" id="modRanged" value="{{mod}}"> <select name="modRanged" id="modRanged" value="{{mod}}">
{{#select modRanged}} {{#select modRanged}}
<option value="1">Bout portant (+1)</option> <option value="1">{{localize "BOL.dialog.pointblank"}}</option>
<option value="0">Courte (0)</option> <option value="0">{{localize "BOL.dialog.close"}}</option>
<option value="-1">Moyenne (-1)</option> <option value="-1">{{localize "BOL.dialog.medium"}}</option>
<option value="-2">Longue (-2)</option> <option value="-2">{{localize "BOL.dialog.long"}}</option>
<option value="-4">Très longue (-4)</option> <option value="-4">{{localize "BOL.dialog.distant"}}</option>
<option value="-6">Extrême (-6)</option> <option value="-6">{{localize "BOL.dialog.extreme"}}</option>
<option value="-8">Maximale (-8)</option> <option value="-8">{{localize "BOL.dialog.utmost"}}</option>
{{/select}} {{/select}}
</select> </select>
</div> </div>
@ -44,17 +44,17 @@
<div class="flex1 center cell"> <div class="flex1 center cell">
<select name="mod" id="mod" value="{{mod}}"> <select name="mod" id="mod" value="{{mod}}">
{{#select mod}} {{#select mod}}
<option value="4">Inmanquable (+4)</option> <option value="4">{{localize "BOL.dialog.soeasy"}}</option>
<option value="2">Trés Facile (+2)</option> <option value="2">{{localize "BOL.dialog.veryeasy"}}</option>
<option value="1">Facile (+1)</option> <option value="1">{{localize "BOL.dialog.easy"}}</option>
<option value="0">Moyenne (0)</option> <option value="0">{{localize "BOL.dialog.moderate"}}</option>
<option value="-1">Ardue (-1)</option> <option value="-1">{{localize "BOL.dialog.hard"}}</option>
<option value="-2">Difficile (-2)</option> <option value="-2">{{localize "BOL.dialog.tough"}}</option>
<option value="-4">Très Difficile (-4)</option> <option value="-4">{{localize "BOL.dialog.demanding"}}</option>
<option value="-6">Impossible (-6)</option> <option value="-6">{{localize "BOL.dialog.formidable"}}</option>
<option value="-8">Héroïque (-8)</option> <option value="-8">{{localize "BOL.dialog.heroic"}}</option>
<option value="-10">Mythique (-10)</option> <option value="-10">{{localize "BOL.dialog.mythic"}}</option>
<option value="-12">Divine (-12)</option> <option value="-12">{{localize "BOL.dialog.divine"}}</option>
{{/select}} {{/select}}
</select> </select>
</div> </div>

View File

@ -15,14 +15,14 @@
<label class="property-label">{{localize "BOL.ui.difficulty"}}</label> <label class="property-label">{{localize "BOL.ui.difficulty"}}</label>
<select name="data.properties.difficulty" value="{{data.properties.difficulty}}"> <select name="data.properties.difficulty" value="{{data.properties.difficulty}}">
{{#select data.properties.difficulty}} {{#select data.properties.difficulty}}
<option value="2">Trés Facile (+2)</option> <option value="2">{{localize "BOL.dialog.veryeasy"}}</option>
<option value="1">Facile (+1)</option> <option value="1">{{localize "BOL.dialog.easy"}}</option>
<option value="0">Moyenne (0)</option> <option value="0">{{localize "BOL.dialog.moderate"}}</option>
<option value="-1">Ardue (-1)</option> <option value="-1">{{localize "BOL.dialog.hard"}}</option>
<option value="-2">Difficile (-2)</option> <option value="-2">{{localize "BOL.dialog.tough"}}</option>
<option value="-4">Très Difficile (-4)</option> <option value="-4">{{localize "BOL.dialog.demanding"}}</option>
<option value="-6">Impossible (-6)</option> <option value="-6">{{localize "BOL.dialog.formidable"}}</option>
<option value="-8">Héroïque (-8)</option> <option value="-8">{{localize "BOL.dialog.heroic"}}</option>
{{/select}} {{/select}}
</select> </select>
</div> </div>

View File

@ -15,14 +15,14 @@
<label class="property-label">{{localize "BOL.ui.difficulty"}}</label> <label class="property-label">{{localize "BOL.ui.difficulty"}}</label>
<select name="data.properties.difficulty" value="{{data.properties.difficulty}}"> <select name="data.properties.difficulty" value="{{data.properties.difficulty}}">
{{#select data.properties.difficulty}} {{#select data.properties.difficulty}}
<option value="2">Trés Facile (+2)</option> <option value="2">{{localize "BOL.dialog.veryeasy"}}</option>
<option value="1">Facile (+1)</option> <option value="1">{{localize "BOL.dialog.easy"}}</option>
<option value="0">Moyenne (0)</option> <option value="0">{{localize "BOL.dialog.moderate"}}</option>
<option value="-1">Ardue (-1)</option> <option value="-1">{{localize "BOL.dialog.hard"}}</option>
<option value="-2">Difficile (-2)</option> <option value="-2">{{localize "BOL.dialog.tough"}}</option>
<option value="-4">Très Difficile (-4)</option> <option value="-4">{{localize "BOL.dialog.demanding"}}</option>
<option value="-6">Impossible (-6)</option> <option value="-6">{{localize "BOL.dialog.formidable"}}</option>
<option value="-8">Héroïque (-8)</option> <option value="-8">{{localize "BOL.dialog.heroic"}}</option>
{{/select}} {{/select}}
</select> </select>
</div> </div>