Reorganizing languages files properties

This commit is contained in:
Vlyan
2022-02-26 13:27:24 +01:00
parent 0d3ac2ce83
commit b5bb4e04f2
61 changed files with 530 additions and 531 deletions

View File

@@ -22,16 +22,16 @@
<span class="chat-profil-element">
{{#if l5r5e.difficultyHidden}}
{{localize 'l5r5e.chatdices.difficulty'}} {{localize 'l5r5e.chatdices.difficulty_hidden'}}
{{localize 'l5r5e.dice.chat.difficulty'}} {{localize 'l5r5e.dice.chat.difficulty_hidden'}}
{{else}}
{{localize 'l5r5e.chatdices.difficulty'}} {{l5r5e.difficulty}}
{{localize 'l5r5e.dice.chat.difficulty'}} {{l5r5e.difficulty}}
{{/if}}
<br>
{{#if l5r5e.voidPointUsed}}
<i class="i_void" title="{{localize 'l5r5e.chatdices.void_point_used'}}"></i>
<i class="i_void" title="{{localize 'l5r5e.dice.chat.void_point_used'}}"></i>
{{/if}}
{{#if l5r5e.skillAssistance}}
<i class="i_skill" title="{{l5r5e.skillAssistance}}x {{localize 'l5r5e.chatdices.assistance_used'}}"></i>
<i class="i_skill" title="{{l5r5e.skillAssistance}}x {{localize 'l5r5e.dice.chat.assistance_used'}}"></i>
{{/if}}
</span>
</header>
@@ -61,40 +61,40 @@
{{!-- Roll & Keep Button --}}
{{^if l5r5e.dicesTypes.std}}
<button class="l5r5e chat-dice-rnk {{#if this.l5r5e.rnkEnded}}chat-dice-rnk-ended{{/if}}">{{localize "l5r5e.chatdices.roll_n_keep"}}</button>
<button class="l5r5e chat-dice-rnk {{#if this.l5r5e.rnkEnded}}chat-dice-rnk-ended{{/if}}">{{localize "l5r5e.dice.chat.roll_n_keep"}}</button>
{{/if}}
{{#l5r5e.summary}}
{{!-- summary symbols --}}
<div class="l5r5e dice-total dice-total-rnk">
{{#if success}}
<i class="i_success" title="{{localize 'l5r5e.chatdices.successes'}}"></i>x{{success}}
<i class="i_success" title="{{localize 'l5r5e.dice.chat.successes'}}"></i>x{{success}}
{{/if}}
{{#if explosive}}
<i class="i_explosive" title="{{localize 'l5r5e.chatdices.explosives'}}"></i>x{{explosive}}
<i class="i_explosive" title="{{localize 'l5r5e.dice.chat.explosives'}}"></i>x{{explosive}}
{{/if}}
{{#if opportunity}}
<i class="i_opportunity" title="{{localize 'l5r5e.chatdices.opportunities'}}"></i>x{{opportunity}}
<i class="i_opportunity" title="{{localize 'l5r5e.dice.chat.opportunities'}}"></i>x{{opportunity}}
{{/if}}
{{#if strife}}
<i class="i_strife" title="{{localize 'l5r5e.chatdices.strife'}}"></i>x{{strife}} {{#if ../l5r5e.strifeApplied}}<sup>{{../l5r5e.strifeApplied}}</sup>{{/if}}
<i class="i_strife" title="{{localize 'l5r5e.dice.chat.strife'}}"></i>x{{strife}} {{#if ../l5r5e.strifeApplied}}<sup>{{../l5r5e.strifeApplied}}</sup>{{/if}}
{{/if}}
</div>
{{!-- Result text --}}
{{#if ../l5r5e.difficultyHidden}}
<div class="l5r5e dice-result-rnk unknown">
{{totalSuccess}} {{localize 'l5r5e.chatdices.successes'}}
{{totalSuccess}} {{localize 'l5r5e.dice.chat.successes'}}
</div>
{{else}}
<div class="l5r5e dice-result-rnk {{#ifCond totalSuccess '>=' ../l5r5e.difficulty}}success{{else}}fail{{/ifCond}}">
{{#ifCond totalSuccess '>=' ../l5r5e.difficulty}}
{{localize "l5r5e.chatdices.success_text"}} <i title="{{totalBonus}} {{localize 'l5r5e.chatdices.successes'}}">({{totalBonus}} {{localize "l5r5e.chatdices.bonus_text"}})</i>
{{localize "l5r5e.dice.chat.success_text"}} <i title="{{totalBonus}} {{localize 'l5r5e.dice.chat.successes'}}">({{totalBonus}} {{localize "l5r5e.dice.chat.bonus_text"}})</i>
{{else}}
{{localize "l5r5e.chatdices.fail_text"}}
{{localize "l5r5e.dice.chat.fail_text"}}
{{/ifCond}}
</div>
{{/if}}

View File

@@ -59,7 +59,7 @@
{{!-- Second line--}}
<tr>
<td>
{{localize "l5r5e.dicepicker.difficulty_title"}}
{{localize "l5r5e.dice.dicepicker.difficulty_title"}}
</td>
<td>
{{localize "l5r5e.rings.title"}}
@@ -75,7 +75,7 @@
{{#if data.difficulty.hidden}}
<label>
<input type="checkbox" id="diff_add_void_point" name="difficulty.addVoidPoint" value="1" {{checked data.difficulty.addVoidPoint}} />
+1 <i class="i_void" title="{{localize 'l5r5e.dicepicker.void_point_tooltip'}}"></i>
+1 <i class="i_void" title="{{localize 'l5r5e.dice.dicepicker.void_point_tooltip'}}"></i>
</label>
{{else}}
<div id="difficulty_picker">
@@ -144,7 +144,7 @@
{{^if difficultyHiddenIsLock}}
<label>
<input type="checkbox" id="diff_hidden" name="difficulty.hidden" value="1" {{checked data.difficulty.hidden}} />
{{localize 'l5r5e.dicepicker.difficulty_hidden_label'}}
{{localize 'l5r5e.dice.dicepicker.difficulty_hidden_label'}}
</label>
{{/if}}
</td>
@@ -152,7 +152,7 @@
{{#if canUseVoidPoint}}
<label>
<input type="checkbox" id="use_void_point" name="useVoidPoint" value="1" {{checked data.useVoidPoint}} />
{{localize 'l5r5e.dicepicker.use_void_point_label'}} <i class="i_void" title="{{localize 'l5r5e.dicepicker.void_point_tooltip'}}"></i>
{{localize 'l5r5e.dice.dicepicker.use_void_point_label'}} <i class="i_void" title="{{localize 'l5r5e.dice.dicepicker.void_point_tooltip'}}"></i>
</label>
{{/if}}
</td>
@@ -162,7 +162,7 @@
</div>
<div class="third">
<i class="i_skill"></i> {{localize 'l5r5e.dicepicker.skill_assistance_label'}}
<i class="i_skill"></i> {{localize 'l5r5e.dice.dicepicker.skill_assistance_label'}}
<div class="dice-container">
<img src="systems/l5r5e/assets/dices/default/3d/blank.png" alt="1" />
<div class="dice-value">
@@ -178,7 +178,7 @@
</tr>
<tr>
<td colspan="3">
<button name="roll" type="submit" {{#if disableSubmit}}disabled{{/if}}>{{localize 'l5r5e.dicepicker.roll_label'}} <i class='fas fa-arrow-circle-right'></i></button>
<button name="roll" type="submit" {{#if disableSubmit}}disabled{{/if}}>{{localize 'l5r5e.dice.dicepicker.roll_label'}} <i class='fas fa-arrow-circle-right'></i></button>
</td>
</tr>
</table>

View File

@@ -16,22 +16,22 @@
{{/if}}
</li>
<li class="chat-profil-element">
{{localize 'l5r5e.chatdices.difficulty'}}
{{localize 'l5r5e.dice.chat.difficulty'}}
{{#if l5r5e.difficultyHidden}}
{{#if isGM}}
?{{l5r5e.difficulty}}?
{{else}}
{{localize 'l5r5e.chatdices.difficulty_hidden'}}
{{localize 'l5r5e.dice.chat.difficulty_hidden'}}
{{/if}}
{{else}}
{{l5r5e.difficulty}}
{{/if}}
<br>
{{#if l5r5e.voidPointUsed}}
<i class="i_void" title="{{localize 'l5r5e.chatdices.void_point_used'}}"></i>
<i class="i_void" title="{{localize 'l5r5e.dice.chat.void_point_used'}}"></i>
{{/if}}
{{#if l5r5e.skillAssistance}}
<i class="i_skill" title="{{l5r5e.skillAssistance}}x {{localize 'l5r5e.chatdices.assistance_used'}}"></i>
<i class="i_skill" title="{{l5r5e.skillAssistance}}x {{localize 'l5r5e.dice.chat.assistance_used'}}"></i>
{{/if}}
</li>
</ul>
@@ -42,7 +42,7 @@
{{!-- Face Rings --}}
<fieldset class="dropbox swap">
<legend class="section-header">
<i class="fa fa-sign-in-alt" aria-hidden="true"></i> {{localize 'l5r5e.roll_n_keep.swap_drop_here'}} <i class="fa fa-arrows-alt-h"></i>
<i class="fa fa-sign-in-alt" aria-hidden="true"></i> {{localize 'l5r5e.dice.roll_n_keep.swap_drop_here'}} <i class="fa fa-arrows-alt-h"></i>
</legend>
{{#each data.swapDiceFaces.rings}}
@@ -56,12 +56,12 @@
{{!-- Discard & ReRoll --}}
<fieldset class="dropbox discards" data-type="discard">
<legend class="section-header">
<i class="fa fa-sign-in-alt" aria-hidden="true"></i> {{localize 'l5r5e.roll_n_keep.discard_drop_here'}} <i class="fa fa-times"></i>
<i class="fa fa-sign-in-alt" aria-hidden="true"></i> {{localize 'l5r5e.dice.roll_n_keep.discard_drop_here'}} <i class="fa fa-times"></i>
</legend>
</fieldset>
<fieldset class="dropbox rerolls" data-type="reroll">
<legend class="section-header">
<i class="fa fa-sign-in-alt" aria-hidden="true"></i> {{localize 'l5r5e.roll_n_keep.reroll_drop_here'}} <i class="fa fa-redo-alt"></i>
<i class="fa fa-sign-in-alt" aria-hidden="true"></i> {{localize 'l5r5e.dice.roll_n_keep.reroll_drop_here'}} <i class="fa fa-redo-alt"></i>
</legend>
</fieldset>
{{!-- DiceList history --}}
@@ -89,14 +89,14 @@
{{!-- Keep --}}
<fieldset class="dropbox keeps" data-type="keep">
<legend class="section-header">
<i class="fa fa-sign-in-alt" aria-hidden="true"></i> {{localize 'l5r5e.roll_n_keep.keep_drop_here'}} ({{l5r5e.keepLimit}} {{localize 'l5r5e.max'}}) <i class="fa fa-check"></i>
<i class="fa fa-sign-in-alt" aria-hidden="true"></i> {{localize 'l5r5e.dice.roll_n_keep.keep_drop_here'}} ({{l5r5e.keepLimit}} {{localize 'l5r5e.dice.roll_n_keep.max'}}) <i class="fa fa-check"></i>
</legend>
</fieldset>
</article>
{{!-- Face Skills --}}
<fieldset class="dropbox swap">
<legend class="section-header">
<i class="fa fa-sign-in-alt" aria-hidden="true"></i> {{localize 'l5r5e.roll_n_keep.swap_drop_here'}} <i class="fa fa-arrows-alt-h"></i>
<i class="fa fa-sign-in-alt" aria-hidden="true"></i> {{localize 'l5r5e.dice.roll_n_keep.swap_drop_here'}} <i class="fa fa-arrows-alt-h"></i>
</legend>
{{#each data.swapDiceFaces.skills}}
<div class="dice dropbox faces-change" data-type="swap" data-face="{{this}}" data-die="AbilityDie">
@@ -106,13 +106,13 @@
</fieldset>
{{!-- Symbols Helpers --}}
<p class="symbols-help">
<i class="i_success"></i> {{localize 'l5r5e.chatdices.successes'}}
| <i class="i_explosive"></i> {{localize 'l5r5e.chatdices.explosives'}}
| <i class="i_opportunity"></i> {{localize 'l5r5e.chatdices.opportunities'}}
| <i class="i_strife"></i> {{localize 'l5r5e.chatdices.strife'}}
<i class="i_success"></i> {{localize 'l5r5e.dice.chat.successes'}}
| <i class="i_explosive"></i> {{localize 'l5r5e.dice.chat.explosives'}}
| <i class="i_opportunity"></i> {{localize 'l5r5e.dice.chat.opportunities'}}
| <i class="i_strife"></i> {{localize 'l5r5e.dice.chat.strife'}}
</p>
<button id="finalize" name="finalize" type="button" {{#if data.submitDisabled}}disabled{{/if}}>
{{ localize 'l5r5e.roll_n_keep.bt_validate' }} <i class="fas fa-arrow-circle-right"></i>
{{ localize 'l5r5e.dice.roll_n_keep.bt_validate' }} <i class="fas fa-arrow-circle-right"></i>
</button>
{{else}}
<table>
@@ -148,7 +148,7 @@
<div class="form-fields"></div>
</div>
<button id="finalize" name="finalize" type="button" {{#if data.submitDisabled}}disabled{{/if}}>
{{ localize 'l5r5e.roll_n_keep.bt_strife' }} <i class="fas fa-arrow-circle-right"></i>
{{ localize 'l5r5e.dice.roll_n_keep.bt_strife' }} <i class="fas fa-arrow-circle-right"></i>
</button>
{{/if}}
{{/if}}

View File

@@ -25,22 +25,22 @@
{{#if chatData.displaySummary}}
{{#chatData.l5r5e.summary}}
<ul>
<li>{{localize "l5r5e.chatdices.successes"}}: {{this.success}}</li>
<li>{{localize "l5r5e.dice.chat.successes"}}: {{this.success}}</li>
{{#if explosive}}
<li>{{localize "l5r5e.chatdices.explosives"}}: {{this.explosive}}</li>
<li>{{localize "l5r5e.dice.chat.explosives"}}: {{this.explosive}}</li>
{{/if}}
{{#if opportunity}}
<li>{{localize "l5r5e.chatdices.opportunities"}}: {{this.opportunity}}</li>
<li>{{localize "l5r5e.dice.chat.opportunities"}}: {{this.opportunity}}</li>
{{/if}}
{{#if strife}}
<li>{{localize "l5r5e.chatdices.strife"}}: {{this.strife}}</li>
<li>{{localize "l5r5e.dice.chat.strife"}}: {{this.strife}}</li>
{{/if}}
{{#if difficulty}}
<li>{{localize "l5r5e.chatdices.difficulty"}}: {{this.difficulty}}</li>
<li>{{localize "l5r5e.dice.chat.difficulty"}}: {{this.difficulty}}</li>
{{/if}}
</ul>
{{/chatData.l5r5e.summary}}