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", "title": "L5R Roll & Keep",
"discard_drop_here": "Discard", "discard_drop_here": "Discard",
"reroll_drop_here": "Re-roll", "reroll_drop_here": "Re-roll",
"reroll_chat": "Re-rolled dice",
"swap_drop_here": "Swap", "swap_drop_here": "Swap",
"keep_drop_here": "Keep", "keep_drop_here": "Keep",
"keep_chat": "New roll from an exploding die",
"bt_validate": "Finalize this step" "bt_validate": "Finalize this step"
}, },
"max": "Max", "max": "Max",

View File

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

View File

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

View File

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

View File

@@ -2,7 +2,7 @@
"name": "l5r5e", "name": "l5r5e",
"title": "Legend of the Five Rings (5th Edition)", "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>", "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", "minimumCoreVersion": "0.7.9",
"compatibleCoreVersion": "0.7.9", "compatibleCoreVersion": "0.7.9",
"manifestPlusVersion": "1.0.0", "manifestPlusVersion": "1.0.0",
@@ -185,5 +185,5 @@
], ],
"url": "https://gitlab.com/teaml5r/l5r5e", "url": "https://gitlab.com/teaml5r/l5r5e",
"manifest": "https://gitlab.com/teaml5r/l5r5e/-/raw/master/system/system.json", "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> <tr>
{{#each item as |dice idxDie|}} {{#each item as |dice idxDie|}}
<td> <td>
{{#if face}} {{#if dice.face}}
<div <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-step="{{idxStep}}"
data-die="{{idxDie}}" data-die="{{idxDie}}"
> >
{{#if dice.newFace}}
{{#if newFace}} <img src="{{getDiceFaceUrl dice.type dice.newFace}}" alt="{{idxStep}}_{{idxDie}}" />
<img src="{{getDiceFaceUrl type newFace}}" alt="{{idxStep}}_{{idxDie}}" />
{{else}} {{else}}
<img src="{{getDiceFaceUrl type face}}" alt="{{idxStep}}_{{idxDie}}" /> <img src="{{getDiceFaceUrl dice.type dice.face}}" alt="{{idxStep}}_{{idxDie}}" />
{{/if}} {{/if}}
</div> </div>
{{/if}} {{/if}}
@@ -143,12 +142,12 @@
<tr> <tr>
{{#each item as |dice idxDie|}} {{#each item as |dice idxDie|}}
<td> <td>
{{#if face}} {{#if dice.face}}
<div class="dice {{choice}}"> <div class="dice {{dice.choice}}">
{{#if newFace}} {{#if dice.newFace}}
<img src="{{getDiceFaceUrl type newFace}}" alt="{{idxStep}}_{{idxDie}}" /> <img src="{{getDiceFaceUrl dice.type dice.newFace}}" alt="{{idxStep}}_{{idxDie}}" />
{{else}} {{else}}
<img src="{{getDiceFaceUrl type face}}" alt="{{idxStep}}_{{idxDie}}" /> <img src="{{getDiceFaceUrl dice.type dice.face}}" alt="{{idxStep}}_{{idxDie}}" />
{{/if}} {{/if}}
</div> </div>
{{/if}} {{/if}}