Compat v14 : replace broken localize² with new helper localizeEmbedded
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
{{#each data.splitItemsList as |cat type|}}
|
||||
<h3 class="toggle-on-click" data-toggle="inventory-item-list-{{type}}">
|
||||
{{localize (localize 'l5r5e.{type}s.title' type=type)}} ({{cat.length}})
|
||||
{{localizeEmbedded 'l5r5e.{type}s.title' type=type}} ({{cat.length}})
|
||||
{{#if ../data.editable_not_soft_locked}}
|
||||
<a data-item-type="{{type}}" class="item-control item-add" title="{{localize 'l5r5e.global.add'}}"><i class="fas fa-plus"></i></a>
|
||||
{{/if}}
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
<strong>{{localize 'l5r5e.rings.label'}}</strong> : {{localizeRing data.system.ring}}
|
||||
</li>
|
||||
<li>
|
||||
<strong>{{localize 'l5r5e.sheets.types'}}</strong> : {{localize (localize 'l5r5e.peculiarities.types.{type}' type=data.system.peculiarity_type)}}
|
||||
<strong>{{localize 'l5r5e.sheets.types'}}</strong> : {{localizeEmbedded 'l5r5e.peculiarities.types.{type}' type=data.system.peculiarity_type}}
|
||||
</li>
|
||||
<li>
|
||||
<strong>{{localize 'l5r5e.advancements.curriculum'}}</strong> : {{localizeYesNo data.system.in_curriculum}}
|
||||
@@ -26,7 +26,7 @@
|
||||
<strong>{{localize 'l5r5e.sheets.types'}}</strong> : {{data.system.types}}
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
|
||||
{{> 'systems/l5r5e/templates/items/item/item-text-partial-reference.html'}}
|
||||
</section>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user