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

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

View File

@@ -63,7 +63,7 @@
<!-- Second line-->
<tr>
<td>
{{localize "l5r5e.chatdices.difficulty"}}
{{localize "l5r5e.dicepicker.difficulty_title"}}
</td>
<td>
{{localize "l5r5e.rings.title"}}
@@ -140,16 +140,14 @@
<td>
<input type="checkbox" id="diff_hidden" name="diff_hidden" value="1">
<label for="diff_hidden">
<!-- TODO lang-->
Cachée
{{localize 'l5r5e.dicepicker.difficulty_hidden_label'}}
</label>
</td>
<td>
{{#if canUseVoidPoint}}
<input type="checkbox" id="use_void_point" name="diff_hidden" value="1">
<label for="use_void_point">
<!-- TODO lang-->
Dépenser un point de Vide
{{localize 'l5r5e.dicepicker.use_void_point_label'}}
</label>
{{/if}}
</td>
@@ -160,6 +158,6 @@
</table>
<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>
</form>