fix a lot of localize not set

This commit is contained in:
baccalla 2021-02-28 08:57:21 +01:00
parent 4594cbea06
commit 5619a32d84
9 changed files with 48 additions and 30 deletions

View file

@ -1,22 +1,22 @@
<div class="panel additional-info">
<section><h1 class="section-titles biopage">Personality Traits</h1>
<section><h1 class="section-titles biopage">{{localize "SW5E.PersonalityTraits" }}</h1>
{{editor content=data.details.trait target="data.details.trait" button=true owner=owner editable=editable}}
</section>
<section><h1 class="section-titles biopage">Ideals</h1>
<section><h1 class="section-titles biopage">{{localize "SW5E.Ideals" }}</h1>
{{editor content=data.details.ideal target="data.details.ideal" button=true owner=owner editable=editable}}
</section>
<section><h1 class="section-titles biopage">Bonds</h1>
<section><h1 class="section-titles biopage">{{localize "SW5E.Bonds" }}</h1>
{{editor content=data.details.bond target="data.details.bond" button=true owner=owner editable=editable}}
</section>
<section><h1 class="section-titles biopage">Flaws</h1>
<section><h1 class="section-titles biopage">{{localize "SW5E.Flaws" }}</h1>
{{editor content=data.details.flaw target="data.details.flaw" button=true owner=owner editable=editable}}
</section>
</div>
<div class="panel background">
<section><h1 class="section-titles biopage">Description</h1>
<section><h1 class="section-titles biopage">{{localize "SW5E.Description" }}</h1>
{{editor content=data.details.description.value target="data.details.description.value" button=true owner=owner editable=editable}}
</section>
<section><h1 class="section-titles">Background</h1>
<section><h1 class="section-titles">{{localize "SW5E.Background" }}</h1>
{{editor content=data.details.biography.value target="data.details.biography.value" button=true owner=owner editable=editable}}
</section>
</div>

View file

@ -1,7 +1,7 @@
<section class="panel abilities">
{{!-- Ability Scores --}}
<section class="scores">
<h1>Ability Scores</h1>
<h1>{{localize "SW5E.AbilityScores"}}</h1>
<ol>
{{#each data.abilities as |ability id|}}
<li class="ability {{#if ability.proficient}}proficient{{/if}}" data-ability="{{id}}">
@ -24,7 +24,7 @@
</section>
{{!-- Skills --}}
<section class="skills">
<h1>Skills</h1>
<h1>{{localize "SW5E.Skills" }}</h1>
<ol>
{{#each data.skills as |skill s|}}
<li class="skill {{#if skill.value}}proficient{{/if}}" data-skill="{{s}}">
@ -44,8 +44,8 @@
</section>
<section class="panel traits-resources">
<nav class="core-tabs tab-list" data-subgroup-selection>
<button type="button" class="item active" data-subgroup="coreattributes" data-target="traits">Resources & Traits</button>
<button type="button" class="item" data-subgroup="coreattributes" data-target="resources">Favorites & Notes</button>
<button type="button" class="item active" data-subgroup="coreattributes" data-target="traits">{{localize "SW5E.ResourcesAndTraits"}}</button>
<button type="button" class="item" data-subgroup="coreattributes" data-target="resources">{{localize "SW5E.FavoritesAndNotes" }}</button>
</nav>
<div class="tab core-traits active" data-subgroup="coreattributes" data-target="traits">
{{> "systems/sw5e/templates/actors/newActor/parts/swalt-traits.html"}}

View file

@ -1,31 +1,31 @@
<div class="panel">
<section class="background">
<input type="text" name="data.details.notesname" value="{{data.details.notesname}}"
placeholder="Personal Journal" />
placeholder="{{localize 'SW5E.Journal'}}" />
{{editor content=data.details.notes.value target="data.details.notes.value" button=true owner=owner editable=editable}}
</section>
<section>
<input type="text" name="data.details.notes1name" value="{{data.details.notes1name}}"
placeholder="Additional Notes" />
placeholder="{{localize 'SW5E.AdditionalNotes'}}"/>
{{editor content=data.details.notes1.value target="data.details.notes1.value" button=true owner=owner editable=editable}}
</section>
<section>
<input type="text" name="data.details.notes2name" value="{{data.details.notes2name}}"
placeholder="Additional Notes" />
placeholder="{{localize 'SW5E.AdditionalNotes'}}" />
{{editor content=data.details.notes2.value target="data.details.notes2.value" button=true owner=owner editable=editable}}
</section>
<section>
<input type="text" name="data.details.notes3name" value="{{data.details.notes3name}}"
placeholder="Additional Notes" />
placeholder="{{localize 'SW5E.AdditionalNotes'}}" />
{{editor content=data.details.notes3.value target="data.details.notes3.value" button=true owner=owner editable=editable}}
</section>
<section>
<input type="text" name="data.details.notes4name" value="{{data.details.notes4name}}"
placeholder="Additional Notes" />
placeholder="{{localize 'SW5E.AdditionalNotes'}}" />
{{editor content=data.details.notes4.value target="data.details.notes4.value" button=true owner=owner editable=editable}}
</section>

View file

@ -1,36 +1,36 @@
{{!-- Resources, Counters, & Favorites --}}
<section class="favorites">
<h1>Favorites</h1>
<h1>{{localize "SW5E.Favorites"}}</h1>
<div class="favtabtarget"></div>
</section>
<p>&nbsp;</p>
<section class="background">
<h1>Journal and Notes</h1>
<h1>{{localize "SW5E.JournalAndNotes"}}</h1>
<input type="text" name="data.details.notesname" value="{{data.details.notesname}}"
placeholder="Personal Journal" />
placeholder="{{localize 'SW5E.Journal'}}" />
{{editor content=data.details.notes.value target="data.details.notes.value" button=true owner=owner editable=editable}}
</section>
<section>
<input type="text" name="data.details.notes1name" value="{{data.details.notes1name}}"
placeholder="Additional Notes" />
placeholder="{{localize 'SW5E.AdditionalNotes'}}" />
{{editor content=data.details.notes1.value target="data.details.notes1.value" button=true owner=owner editable=editable}}
</section>
<section>
<input type="text" name="data.details.notes2name" value="{{data.details.notes2name}}"
placeholder="Additional Notes" />
placeholder="{{localize 'SW5E.AdditionalNotes'}}" />
{{editor content=data.details.notes2.value target="data.details.notes2.value" button=true owner=owner editable=editable}}
</section>
<section>
<input type="text" name="data.details.notes3name" value="{{data.details.notes3name}}"
placeholder="Additional Notes" />
placeholder="{{localize 'SW5E.AdditionalNotes'}}" />
{{editor content=data.details.notes3.value target="data.details.notes3.value" button=true owner=owner editable=editable}}
</section>
<section>
<input type="text" name="data.details.notes4name" value="{{data.details.notes4name}}"
placeholder="Additional Notes" />
placeholder="{{localize 'SW5E.AdditionalNotes'}}" />
{{editor content=data.details.notes4.value target="data.details.notes4.value" button=true owner=owner editable=editable}}
</section>