Fixes Cohort localization

This commit is contained in:
Megastruktur 2020-09-04 17:00:14 +03:00
parent 3cb9129993
commit 5e6d5b243f
2 changed files with 5 additions and 5 deletions

View file

@ -43,7 +43,7 @@
<div id="selected-gang-description" class="description">
{{#each data.gang_type as |gang_type key|}}
{{#with (lookup ../data.gang_type_list gang_type)}}
{{description}}
{{localize description}}
{{/with}}
{{/each}}
</div>

View file

@ -20,7 +20,7 @@
{{#if (eq item.data.cohort.[0] "Gang")}}
{{#each item.data.gang_type as |gang_type key|}}
<div>
{{#with (lookup ../item.data.gang_type_list gang_type)}}{{description}} {{/with}}
{{#with (lookup ../item.data.gang_type_list gang_type)}}{{localize description}} {{/with}}
</div>
{{/each}}
{{/if}}
@ -29,18 +29,18 @@
<div class="flex-vertical">
{{#each item.data.edges as |edge key|}}
{{#with (lookup ../item.data.edges_list edge)}}
<div class="description">{{description}} <b>({{localize label}})</b></div>
<div class="description">{{localize description}} <b>({{localize label}})</b></div>
{{/with}}
{{/each}}
{{#each item.data.flaws as |flaw key|}}
{{#with (lookup ../item.data.flaws_list flaw)}}
<div class="description">{{description}} <b>({{localize label}})</b></div>
<div class="description">{{localize description}} <b>({{localize label}})</b></div>
{{/with}}
{{/each}}
</div>
</div>
<div class="description">{{item.data.description}}</div>
<div class="description">{{localize item.data.description}}</div>
</div>
</div>