fix(i18n): localisation des templates et des infobulles du système
- Corrige les 9 occurrences de {{localize " BOL.ui.delete"}} avec espace parasite
dans les templates (bio, équipement, armes de véhicule)
- Localise les textes restants codés en dur : placeholders Nom, libellé Type,
options de type de véhicule, attaque à mains nues, Bonus, Majeur (de groupe)/
Mineur, XP, Add/Delete/Log, Action/Jets (HUD)
- Ajoute les clés BOL.ui.* manquantes (bonus, log, add, rolls, action,
unarmedAttack, vehicleType, majorgroup, minor) et complète fr/en/es/de
pour hullDamage, crewDamage, fireDamage, attackModifier, vehicleWeapons,
undead
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
<header class="sheet-header">
|
||||
<div class="header-field flex1">
|
||||
<div class="header-field-group flexrow">
|
||||
<input class="charname flex1" name="name" type="text" value="{{actor.name}}" placeholder="Name"/>
|
||||
<input class="charname flex1" name="name" type="text" value="{{actor.name}}" placeholder="{{localize 'BOL.ui.name'}}"/>
|
||||
</div>
|
||||
|
||||
{{#if (eq charType "player")}}
|
||||
@@ -19,7 +19,7 @@
|
||||
</div>
|
||||
{{else}}
|
||||
<div class="header-field-group flexrow">
|
||||
<label class="header-field-label flex2">Type : </label><br/>
|
||||
<label class="header-field-label flex2">{{localize "BOL.ui.type"}} : </label><br/>
|
||||
<select class="header-field-value" name="system.chartype" data-dtype="String">
|
||||
{{#select charType}}
|
||||
<option value="creature">{{localize "BOL.ui.creature"}}</option>
|
||||
|
||||
@@ -141,7 +141,7 @@
|
||||
<span class="item-field">{{xp.system.properties.xpvalue}}</span>
|
||||
</div>
|
||||
<div class="item-field flex1 right">
|
||||
<a class="item-control item-delete" title="{{localize " BOL.ui.delete"}}"><i class="fas fa-trash"></i></a>
|
||||
<a class="item-control item-delete" title="{{localize "BOL.ui.delete"}}"><i class="fas fa-trash"></i></a>
|
||||
</div>
|
||||
</li>
|
||||
{{/each}}
|
||||
|
||||
@@ -3,8 +3,8 @@
|
||||
<div class="item-name flex2">{{localize "BOL.ui.maneuvers"}}</div>
|
||||
</li>
|
||||
<li class="item flexrow">
|
||||
<div class="item-image roll-weapon"><img src="icons/skills/melee/unarmed-punch-fist.webp" title="Attaque à mains nues"/></div>
|
||||
<h4 class="item-name flex2"><a class="item-edit">Attaque à mains nues</a></h4>
|
||||
<div class="item-image roll-weapon"><img src="icons/skills/melee/unarmed-punch-fist.webp" title="{{localize "BOL.ui.unarmedAttack"}}"/></div>
|
||||
<h4 class="item-name flex2"><a class="item-edit">{{localize "BOL.ui.unarmedAttack"}}</a></h4>
|
||||
</li>
|
||||
</ol>
|
||||
|
||||
|
||||
@@ -74,7 +74,7 @@
|
||||
{{/if}}
|
||||
</div>
|
||||
<div class="item-field flex1 right">
|
||||
<a class="item-control item-delete" title="{{localize " BOL.ui.delete"}}"><i class="fas fa-trash"></i></a>
|
||||
<a class="item-control item-delete" title="{{localize "BOL.ui.delete"}}"><i class="fas fa-trash"></i></a>
|
||||
</div>
|
||||
</li>
|
||||
{{/each}}
|
||||
@@ -133,7 +133,7 @@
|
||||
{{/if}}
|
||||
</div>
|
||||
<div class="item-field flex1 right">
|
||||
<a class="item-control item-delete" title="{{localize " BOL.ui.delete"}}"><i class="fas fa-trash"></i></a>
|
||||
<a class="item-control item-delete" title="{{localize "BOL.ui.delete"}}"><i class="fas fa-trash"></i></a>
|
||||
</div>
|
||||
</li>
|
||||
{{/each}}
|
||||
@@ -185,7 +185,7 @@
|
||||
{{/if}}
|
||||
</div>
|
||||
<div class="item-field flex1 right">
|
||||
<a class="item-control item-delete" title="{{localize " BOL.ui.delete"}}"><i class="fas fa-trash"></i></a>
|
||||
<a class="item-control item-delete" title="{{localize "BOL.ui.delete"}}"><i class="fas fa-trash"></i></a>
|
||||
</div>
|
||||
</li>
|
||||
{{/each}}
|
||||
@@ -237,7 +237,7 @@
|
||||
{{/if}}
|
||||
</div>
|
||||
<div class="item-field flex1 right">
|
||||
<a class="item-control item-delete" title="{{localize " BOL.ui.delete"}}"><i class="fas fa-trash"></i></a>
|
||||
<a class="item-control item-delete" title="{{localize "BOL.ui.delete"}}"><i class="fas fa-trash"></i></a>
|
||||
</div>
|
||||
</li>
|
||||
{{/each}}
|
||||
@@ -289,7 +289,7 @@
|
||||
{{/if}}
|
||||
</div>
|
||||
<div class="item-field flex1 right">
|
||||
<a class="item-control item-delete" title="{{localize " BOL.ui.delete"}}"><i class="fas fa-trash"></i></a>
|
||||
<a class="item-control item-delete" title="{{localize "BOL.ui.delete"}}"><i class="fas fa-trash"></i></a>
|
||||
</div>
|
||||
</li>
|
||||
{{/each}}
|
||||
@@ -341,7 +341,7 @@
|
||||
{{/if}}
|
||||
</div>
|
||||
<div class="item-field flex1 right">
|
||||
<a class="item-control item-delete" title="{{localize " BOL.ui.delete"}}"><i class="fas fa-trash"></i></a>
|
||||
<a class="item-control item-delete" title="{{localize "BOL.ui.delete"}}"><i class="fas fa-trash"></i></a>
|
||||
</div>
|
||||
</li>
|
||||
{{/each}}
|
||||
@@ -393,7 +393,7 @@
|
||||
{{/if}}
|
||||
</div>
|
||||
<div class="item-field flex1 right">
|
||||
<a class="item-control item-delete" title="{{localize " BOL.ui.delete"}}"><i class="fas fa-trash"></i></a>
|
||||
<a class="item-control item-delete" title="{{localize "BOL.ui.delete"}}"><i class="fas fa-trash"></i></a>
|
||||
</div>
|
||||
</li>
|
||||
{{/each}}
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
<a class="inc-dec-btns" data-operator="plus" data-target="system.rank" data-incr="1" data-min="0" data-max="5"><i class="fas fa-plus-square"></i></a>
|
||||
<span class="item-field"> </span>
|
||||
<span class="tooltip-container">
|
||||
<span class="stat-roll rollable" title="XP" data-roll-type="careerxp" data-key="{{key}}">
|
||||
<span class="stat-roll rollable" title="{{localize "BOL.ui.xp"}}" data-roll-type="careerxp" data-key="{{key}}">
|
||||
<i class="xp-next fas fa-arrow-up"></i></span>
|
||||
<span class="tooltiptext">
|
||||
{{#if (eq system.rank 0)}}
|
||||
@@ -34,7 +34,7 @@
|
||||
{{/if}}
|
||||
</div>
|
||||
<div class="item-field flex1 right">
|
||||
<a class="item-control item-delete" title="Delete Item"><i class="fas fa-trash"></i></a>
|
||||
<a class="item-control item-delete" title="{{localize "BOL.ui.delete"}}"><i class="fas fa-trash"></i></a>
|
||||
</div>
|
||||
</li>
|
||||
{{/each}}
|
||||
|
||||
@@ -120,9 +120,9 @@
|
||||
</h4>
|
||||
<div class="item-field flex2 center">
|
||||
{{#if item.system.properties.ishoroscopemajor}}
|
||||
<span class="item-field">Majeur (de groupe)</span>
|
||||
<span class="item-field">{{localize "BOL.ui.majorgroup"}}</span>
|
||||
{{else}}
|
||||
<span class="item-field">Mineur</span>
|
||||
<span class="item-field">{{localize "BOL.ui.minor"}}</span>
|
||||
{{/if}}
|
||||
</div>
|
||||
<div class="item-field flex2 center">
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
<i class="darkgreen fas fa-dice"></i>
|
||||
</span>
|
||||
<span class="tooltip-container">
|
||||
<span class="stat-roll rollable" title="XP" data-roll-type="attributexp" data-key="{{key}}">
|
||||
<span class="stat-roll rollable" title="{{localize "BOL.ui.xp"}}" data-roll-type="attributexp" data-key="{{key}}">
|
||||
<i class="xp-next fas fa-arrow-up"></i></span>
|
||||
<span class="tooltiptext">
|
||||
{{#if (eq value -1)}}
|
||||
@@ -49,7 +49,7 @@
|
||||
<i class="darkgreen fas fa-dice"></i>
|
||||
</span>
|
||||
<span class="tooltip-container">
|
||||
<span class="stat-roll rollable" title="XP" data-roll-type="aptitudexp" data-key="{{key}}">
|
||||
<span class="stat-roll rollable" title="{{localize "BOL.ui.xp"}}" data-roll-type="aptitudexp" data-key="{{key}}">
|
||||
<i class="xp-next fas fa-arrow-up"></i></span>
|
||||
<span class="tooltiptext">
|
||||
{{#if (eq value -1)}}
|
||||
@@ -75,7 +75,7 @@
|
||||
|
||||
{{#if (eq @root.charType 'player')}}
|
||||
{{#if (exists bonus)}}
|
||||
<span class="flexrow"><label class="stat-max bonus-text">Bonus</label><input class="resource-bonus resources-value" type="text" name="system.resources.{{key}}.bonus" value="{{numberFormat bonus decimals=0 sign=false}}" data-dtype="Number"/></span>
|
||||
<span class="flexrow"><label class="stat-max bonus-text">{{localize "BOL.ui.bonus"}}</label><input class="resource-bonus resources-value" type="text" name="system.resources.{{key}}.bonus" value="{{numberFormat bonus decimals=0 sign=false}}" data-dtype="Number"/></span>
|
||||
{{else}}
|
||||
<span class="flexrow"><label class="stat-max"> </label><input class="resource-bonus resources-novalue" type="text" value="" disabled></span>
|
||||
{{/if}}
|
||||
|
||||
@@ -57,8 +57,8 @@
|
||||
<a class="item-edit">{{item.name}}</a>
|
||||
</h4>
|
||||
<div class="item-field flex1 right">
|
||||
<a class="item-control item-log" title="Log Item"><i class="far fa-comment"></i></a>
|
||||
<a class="item-control item-delete" title="Delete Item"><i class="fas fa-trash"></i></a>
|
||||
<a class="item-control item-log" title="{{localize "BOL.ui.log"}}"><i class="far fa-comment"></i></a>
|
||||
<a class="item-control item-delete" title="{{localize "BOL.ui.delete"}}"><i class="fas fa-trash"></i></a>
|
||||
</div>
|
||||
</li>
|
||||
{{/each}}
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
<div class="item-field flex2 center">{{localize "BOL.ui.hullDamage"}}</div>
|
||||
<div class="item-field flex1 center">{{localize "BOL.ui.crewDamage"}}</div>
|
||||
<div class="item-field flex1 center">{{localize "BOL.ui.fireDamage"}}</div>
|
||||
<div class="item-field flex1 right"><a class="vehicle-weapon-add" title="Ajouter"><i class="fas fa-plus-square"></i></a></div>
|
||||
<div class="item-field flex1 right"><a class="vehicle-weapon-add" title="{{localize "BOL.ui.add"}}"><i class="fas fa-plus-square"></i></a></div>
|
||||
</li>
|
||||
{{#each weapons as |item id|}}
|
||||
<li class="item flexrow" data-item-id="{{item._id}}">
|
||||
@@ -22,7 +22,7 @@
|
||||
<span class="item-field">{{#if item.system.properties.isfiredamage}}X{{else}}-{{/if}}</span>
|
||||
</div>
|
||||
<div class="item-field flex1 right">
|
||||
<a class="item-control item-delete" title="{{localize " BOL.ui.delete"}}"><i class="fas fa-trash"></i></a>
|
||||
<a class="item-control item-delete" title="{{localize "BOL.ui.delete"}}"><i class="fas fa-trash"></i></a>
|
||||
</div>
|
||||
</li>
|
||||
{{/each}}
|
||||
|
||||
Reference in New Issue
Block a user