Dice picker v2 localization

This commit is contained in:
Vlyan
2020-12-12 22:06:06 +01:00
parent a41f074cb8
commit 40b75e9c1c
5 changed files with 31 additions and 16 deletions

View File

@@ -67,9 +67,16 @@
"explosives": "Explosives", "explosives": "Explosives",
"opportunities": "Opportunities", "opportunities": "Opportunities",
"strives": "Strives", "strives": "Strives",
"difficulty": "Difficulty", "difficulty": "TN",
"difficulty_hidden": "TN ???",
"dicepicker": "Dice Picker" "dicepicker": "Dice Picker"
}, },
"dicepicker": {
"difficulty_title": "Difficulty",
"difficulty_hidden_label": "Hide TN",
"use_void_point_label": "Spend a Void point",
"roll_label": "Roll"
},
"max": "Max", "max": "Max",
"current": "Current", "current": "Current",
"quantity": "Quantity", "quantity": "Quantity",

View File

@@ -67,9 +67,16 @@
"explosives": "Explosives", "explosives": "Explosives",
"opportunities": "Opportunities", "opportunities": "Opportunities",
"strives": "Strives", "strives": "Strives",
"difficulty": "Difficulty", "difficulty": "TN",
"difficulty_hidden": "TN ???",
"dicepicker": "Dice Picker" "dicepicker": "Dice Picker"
}, },
"dicepicker": {
"difficulty_title": "Difficulty",
"difficulty_hidden_label": "Hide TN",
"use_void_point_label": "Spend a Void point",
"roll_label": "Roll"
},
"max": "Max", "max": "Max",
"current": "Actuales", "current": "Actuales",
"quantity": "Cantidad", "quantity": "Cantidad",

View File

@@ -65,11 +65,18 @@
"chatdices": { "chatdices": {
"successes": "Succès", "successes": "Succès",
"explosives": "Explosifs", "explosives": "Explosifs",
"opportunities": "Opportunités", "opportunities": "Aubaines",
"strives": "Conflits", "strives": "Conflits",
"difficulty": "Difficulté", "difficulty": "ND",
"difficulty_hidden": "ND ???",
"dicepicker": "Dice Picker" "dicepicker": "Dice Picker"
}, },
"dicepicker": {
"difficulty_title": "Difficulté",
"difficulty_hidden_label": "ND Caché",
"use_void_point_label": "Dépenser un point de Vide",
"roll_label": "Lancer"
},
"max": "Max", "max": "Max",
"current": "Actuel", "current": "Actuel",
"quantity": "Quantité", "quantity": "Quantité",

View File

@@ -23,8 +23,8 @@
</span> </span>
<span class="chat-profil-element"> <span class="chat-profil-element">
{{#if l5r5e.summary.difficultyHidden}}ND cachée{{/if}} {{#if l5r5e.summary.difficultyHidden}}{{localize 'l5r5e.chatdices.difficulty_hidden'}}{{/if}}
{{^if l5r5e.summary.difficultyHidden}}ND {{l5r5e.summary.difficulty}}{{/if}} {{^if l5r5e.summary.difficultyHidden}}{{localize 'l5r5e.chatdices.difficulty'}} {{l5r5e.summary.difficulty}}{{/if}}
</span> </span>
</header> </header>
</div> </div>
@@ -61,10 +61,6 @@
{{#if strife}} {{#if strife}}
<li>{{localize "l5r5e.chatdices.strives"}}: {{this.strife}}</li> <li>{{localize "l5r5e.chatdices.strives"}}: {{this.strife}}</li>
{{/if}} {{/if}}
{{#if difficulty}}
<li>{{localize "l5r5e.chatdices.difficulty"}}: {{this.difficulty}}</li>
{{/if}}
</ul> </ul>
{{/l5r5e.summary}} {{/l5r5e.summary}}
</div> </div>

View File

@@ -63,7 +63,7 @@
<!-- Second line--> <!-- Second line-->
<tr> <tr>
<td> <td>
{{localize "l5r5e.chatdices.difficulty"}} {{localize "l5r5e.dicepicker.difficulty_title"}}
</td> </td>
<td> <td>
{{localize "l5r5e.rings.title"}} {{localize "l5r5e.rings.title"}}
@@ -140,16 +140,14 @@
<td> <td>
<input type="checkbox" id="diff_hidden" name="diff_hidden" value="1"> <input type="checkbox" id="diff_hidden" name="diff_hidden" value="1">
<label for="diff_hidden"> <label for="diff_hidden">
<!-- TODO lang--> {{localize 'l5r5e.dicepicker.difficulty_hidden_label'}}
Cachée
</label> </label>
</td> </td>
<td> <td>
{{#if canUseVoidPoint}} {{#if canUseVoidPoint}}
<input type="checkbox" id="use_void_point" name="diff_hidden" value="1"> <input type="checkbox" id="use_void_point" name="diff_hidden" value="1">
<label for="use_void_point"> <label for="use_void_point">
<!-- TODO lang--> {{localize 'l5r5e.dicepicker.use_void_point_label'}}
Dépenser un point de Vide
</label> </label>
{{/if}} {{/if}}
</td> </td>
@@ -160,6 +158,6 @@
</table> </table>
<div class="form-group"> <div class="form-group">
<button name="roll">Roll <i class='fas fa-arrow-circle-right'></i></button> <button name="roll">{{localize 'l5r5e.dicepicker.roll_label'}} <i class='fas fa-arrow-circle-right'></i></button>
</div> </div>
</form> </form>