RnK French Translation and Minors fixes

This commit is contained in:
Vlyan
2021-02-02 10:51:15 +01:00
parent 931a28fbfe
commit 30da4f3a02
6 changed files with 17 additions and 29 deletions

View File

@@ -105,10 +105,8 @@
"title": "L5R Roll & Keep",
"discard_drop_here": "Discard",
"reroll_drop_here": "Re-roll",
"reroll_chat": "Re-rolled dice",
"swap_drop_here": "Swap",
"keep_drop_here": "Keep",
"keep_chat": "New roll from an exploding die",
"bt_validate": "Finalize this step"
},
"max": "Max",

View File

@@ -105,10 +105,8 @@
"title": "L5R Roll & Keep",
"discard_drop_here": "Descartar",
"reroll_drop_here": "Relanzar",
"reroll_chat": "Dados relanzados",
"swap_drop_here": "Swap",
"keep_drop_here": "Guardar",
"keep_chat": "Nueva tirada de un dado relanzable",
"bt_validate": "Finalizar"
},
"max": "Máx",

View File

@@ -103,13 +103,11 @@
},
"roll_n_keep": {
"title": "L5R Roll & Keep",
"discard_drop_here": "Discard",
"reroll_drop_here": "Re-roll",
"reroll_chat": "Re-rolled dice",
"swap_drop_here": "Swap",
"keep_drop_here": "Keep",
"keep_chat": "New roll from a exploding dice",
"bt_validate": "Finalize this step"
"discard_drop_here": "Abandonner",
"reroll_drop_here": "Relancer",
"swap_drop_here": "Modifier",
"keep_drop_here": "Garder",
"bt_validate": "Finaliser cette étape"
},
"max": "Max",
"current": "Actuel",

View File

@@ -444,11 +444,6 @@ export class RollnKeepDialog extends FormApplication {
};
const roll = await new game.l5r5e.RollL5r5e(this._arrayToFormula(newRolls));
roll.l5r5e = {
...this.message._roll.l5r5e,
summary: roll.l5r5e.summary,
};
await roll.roll();
// Show DsN dice for the new roll

View File

@@ -2,7 +2,7 @@
"name": "l5r5e",
"title": "Legend of the Five Rings (5th Edition)",
"description": "This is an authorised multilingual game system En|Fr|Es, for Legend of the Five Rings (5th Edition) by <a href='https://edge-studio.net/'>Edge Studio</a> <p> - Join the official Discord server: <a href='https://discord.gg/foundryvtt'> Official Discord</a></p><p> - Rejoignez la communauté Francophone: <a href='https://discord.gg/pPSDNJk'>Francophone Discord</a></p>",
"version": "1.1.2",
"version": "1.2.0",
"minimumCoreVersion": "0.7.9",
"compatibleCoreVersion": "0.7.9",
"manifestPlusVersion": "1.0.0",
@@ -185,5 +185,5 @@
],
"url": "https://gitlab.com/teaml5r/l5r5e",
"manifest": "https://gitlab.com/teaml5r/l5r5e/-/raw/master/system/system.json",
"download": "https://gitlab.com/teaml5r/l5r5e/-/jobs/artifacts/v1.1.2/raw/l5r5e.zip?job=build"
"download": "https://gitlab.com/teaml5r/l5r5e/-/jobs/artifacts/v1.2.0/raw/l5r5e.zip?job=build"
}

View File

@@ -83,17 +83,16 @@
<tr>
{{#each item as |dice idxDie|}}
<td>
{{#if face}}
{{#if dice.face}}
<div
class="dice {{choice}}{{#ifCond face '&&' (ifCond ../../data.currentStep '==' idxStep) }} draggable{{/ifCond}}"
class="dice {{dice.choice}}{{#ifCond ../../data.currentStep '==' idxStep}} draggable{{/ifCond}}"
data-step="{{idxStep}}"
data-die="{{idxDie}}"
>
{{#if newFace}}
<img src="{{getDiceFaceUrl type newFace}}" alt="{{idxStep}}_{{idxDie}}" />
{{#if dice.newFace}}
<img src="{{getDiceFaceUrl dice.type dice.newFace}}" alt="{{idxStep}}_{{idxDie}}" />
{{else}}
<img src="{{getDiceFaceUrl type face}}" alt="{{idxStep}}_{{idxDie}}" />
<img src="{{getDiceFaceUrl dice.type dice.face}}" alt="{{idxStep}}_{{idxDie}}" />
{{/if}}
</div>
{{/if}}
@@ -143,12 +142,12 @@
<tr>
{{#each item as |dice idxDie|}}
<td>
{{#if face}}
<div class="dice {{choice}}">
{{#if newFace}}
<img src="{{getDiceFaceUrl type newFace}}" alt="{{idxStep}}_{{idxDie}}" />
{{#if dice.face}}
<div class="dice {{dice.choice}}">
{{#if dice.newFace}}
<img src="{{getDiceFaceUrl dice.type dice.newFace}}" alt="{{idxStep}}_{{idxDie}}" />
{{else}}
<img src="{{getDiceFaceUrl type face}}" alt="{{idxStep}}_{{idxDie}}" />
<img src="{{getDiceFaceUrl dice.type dice.face}}" alt="{{idxStep}}_{{idxDie}}" />
{{/if}}
</div>
{{/if}}