add title on dice button and translations for chat successes/strives...
This commit is contained in:
@@ -47,6 +47,14 @@
|
||||
"passions": "Passions",
|
||||
"passionstip": "After performing a check related to your passion, remove 3 strife.",
|
||||
"personality": "Personality",
|
||||
"chatdices": {
|
||||
"successes": "Successes",
|
||||
"explosives": "Explosives",
|
||||
"opportunities": "Opportunities",
|
||||
"strives": "Strives",
|
||||
"difficulty": "Difficulty",
|
||||
"dicepicker": "Dice Picker"
|
||||
},
|
||||
"max": "Max",
|
||||
"current": "Current",
|
||||
"quantity": "Quantity",
|
||||
|
||||
@@ -47,6 +47,14 @@
|
||||
"passions": "Pasiones",
|
||||
"passionstip": "Después de efectuar una tirada relacionada con tu pasión, descarta tres puntos de Conflicto.",
|
||||
"personality": "Personalidad",
|
||||
"chatdices": {
|
||||
"successes": "Successes",
|
||||
"explosives": "Explosives",
|
||||
"opportunities": "Opportunities",
|
||||
"strives": "Strives",
|
||||
"difficulty": "Difficulty",
|
||||
"dicepicker": "Dice Picker"
|
||||
},
|
||||
"max": "Max",
|
||||
"current": "Actuales",
|
||||
"quantity": "Cantidad",
|
||||
|
||||
@@ -39,14 +39,22 @@
|
||||
"schoolRank": "Rang",
|
||||
"roles": "Rôles",
|
||||
"distinctions": "Aptitudes",
|
||||
"distinctionsTip": "Lorsque vous effectuez un test auquel s'applique une aptitude, vous pouvez relancer jusqu'à 2 dés.",
|
||||
"distinctionstip": "Lorsque vous effectuez un test auquel s'applique une aptitude, vous pouvez relancer jusqu'à 2 dés.",
|
||||
"adversities": "Coups du sort",
|
||||
"adversitiesTip": " lorsque vous effectuez un test auquel s'applique un coup du sort, vous relancez jusqu'à 2 dés dont le résultat contient Succès ou Succès explosif. Vous regagnez 1 point de Vide si vous ratez ce test.",
|
||||
"adversitiestip": " lorsque vous effectuez un test auquel s'applique un coup du sort, vous relancez jusqu'à 2 dés dont le résultat contient Succès ou Succès explosif. Vous regagnez 1 point de Vide si vous ratez ce test.",
|
||||
"anxieties": "Défaillances",
|
||||
"anxietiesTip": "Lorsque vous effectuez un test auquel s'applique une défaillance, vous recevez 2 points de Conflit. S'il s'agit de la première fois dans la scène, vous regagnez 1 point de Vide.",
|
||||
"anxietiestip": "Lorsque vous effectuez un test auquel s'applique une défaillance, vous recevez 2 points de Conflit. S'il s'agit de la première fois dans la scène, vous regagnez 1 point de Vide.",
|
||||
"passions": "Passions",
|
||||
"passionsTip": "Lorsque vous effectuez un test auquel s'applique une passion, éliminez 3 points de Conflit.",
|
||||
"personality": "Personalité",
|
||||
"passionstip": "Lorsque vous effectuez un test auquel s'applique une passion, éliminez 3 points de Conflit.",
|
||||
"personality": "Personnalité",
|
||||
"chatdices": {
|
||||
"successes": "Succès",
|
||||
"explosives": "Explosifs",
|
||||
"opportunities": "Opportunités",
|
||||
"strives": "Conflicts",
|
||||
"difficulty": "Difficulté",
|
||||
"dicepicker": "Dice Picker"
|
||||
},
|
||||
"max": "Max",
|
||||
"current": "Actuel",
|
||||
"quantity": "Quantité",
|
||||
|
||||
@@ -108,6 +108,8 @@ Hooks.once("setup", function () {
|
||||
/* ------------------------------------ */
|
||||
Hooks.once("ready", function () {
|
||||
// Do anything once the system is ready
|
||||
// Add title on button dice icon
|
||||
$.find(".chat-control-icon")[0].title = game.i18n.localize("l5r5e.chatdices.dicepicker");
|
||||
});
|
||||
|
||||
/* ------------------------------------ */
|
||||
@@ -115,7 +117,7 @@ Hooks.once("ready", function () {
|
||||
/* ------------------------------------ */
|
||||
Hooks.on("renderSidebarTab", (app, html, data) => {
|
||||
// Add button on dice icon
|
||||
html.find(".chat-control-icon").click(async (event) => {
|
||||
html.find(".chat-control-icon").click(async () => {
|
||||
new game.l5r5e.DicePickerDialog().render();
|
||||
});
|
||||
});
|
||||
|
||||
@@ -25,18 +25,22 @@
|
||||
|
||||
{{#l5r5e.summary}}
|
||||
<ul>
|
||||
<li>Successes: {{this.success}}</li>
|
||||
<li>{{localize "l5r5e.chatdices.successes"}}: {{this.success}}</li>
|
||||
|
||||
{{#if explosive}}
|
||||
<li>{{localize "l5r5e.chatdices.explosives"}}: {{this.explosive}}</li>
|
||||
{{/if}}
|
||||
|
||||
{{#if opportunity}}
|
||||
<li>Opportunities: {{this.opportunity}}</li>
|
||||
<li>{{localize "l5r5e.chatdices.opportunities"}}: {{this.opportunity}}</li>
|
||||
{{/if}}
|
||||
|
||||
{{#if strife}}
|
||||
<li>Strife: {{this.strife}}</li>
|
||||
<li>{{localize "l5r5e.chatdices.strives"}}: {{this.strife}}</li>
|
||||
{{/if}}
|
||||
|
||||
{{#if difficulty}}
|
||||
<li>Difficulty: {{this.difficulty}}</li>
|
||||
<li>{{localize "l5r5e.chatdices.difficulty"}}: {{this.difficulty}}</li>
|
||||
{{/if}}
|
||||
</ul>
|
||||
{{/l5r5e.summary}}
|
||||
|
||||
@@ -21,23 +21,26 @@
|
||||
{{/if}}
|
||||
{{/each}}
|
||||
|
||||
<!-- TODO summary localization -->
|
||||
{{#if chatData.l5r5e.dicesTypes.l5r}}
|
||||
{{#if chatData.displaySummary}}
|
||||
{{#chatData.l5r5e.summary}}
|
||||
<ul>
|
||||
<li>Successes: {{this.success}}</li>
|
||||
<li>{{localize "l5r5e.chatdices.successes"}}: {{this.success}}</li>
|
||||
|
||||
{{#if explosive}}
|
||||
<li>{{localize "l5r5e.chatdices.explosives"}}: {{this.explosive}}</li>
|
||||
{{/if}}
|
||||
|
||||
{{#if opportunity}}
|
||||
<li>Opportunities: {{this.opportunity}}</li>
|
||||
<li>{{localize "l5r5e.chatdices.opportunities"}}: {{this.opportunity}}</li>
|
||||
{{/if}}
|
||||
|
||||
{{#if strife}}
|
||||
<li>Strife: {{this.strife}}</li>
|
||||
<li>{{localize "l5r5e.chatdices.strives"}}: {{this.strife}}</li>
|
||||
{{/if}}
|
||||
|
||||
{{#if difficulty}}
|
||||
<li>Difficulty: {{this.difficulty}}</li>
|
||||
<li>{{localize "l5r5e.chatdices.difficulty"}}: {{this.difficulty}}</li>
|
||||
{{/if}}
|
||||
</ul>
|
||||
{{/chatData.l5r5e.summary}}
|
||||
|
||||
Reference in New Issue
Block a user