[Fix] Localization Misses (#381)

* Initial localization adds

* Added remaining missing translation use
This commit is contained in:
WBHarry 2025-07-20 04:15:26 +02:00 committed by GitHub
parent 50ba7408b9
commit 3dd2378ffb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
35 changed files with 114 additions and 83 deletions

View file

@ -1,6 +1,6 @@
<fieldset class="one-column" data-key="effects">
<legend>
Effects
{{localize "DAGGERHEART.GENERAL.Effect.plural"}}
<a><i class="fa-solid fa-plus icon-button" data-action="addEffect"></i></a>
</legend>
<ul class="items-list">
@ -13,7 +13,7 @@
</div>
{{/with}}
<input type="hidden" name="effects.{{index}}._id" value="{{effect._id}}">
{{#if @root.source.save.trait}}{{formInput ../fields.onSave value=effect.onSave name=(concat "effects." index ".onSave") dataset=(object tooltip="Applied even if save succeeded" tooltipDirection="UP")}}{{/if}}
{{#if @root.source.save.trait}}{{formInput ../fields.onSave value=effect.onSave name=(concat "effects." index ".onSave") dataset=(object tooltip=(localize "DAGGERHEART.UI.Tooltip.appliedEvenIfSuccessful") tooltipDirection="UP")}}{{/if}}
<div class="controls">
<a data-tooltip="{{localize "CONTROLS.CommonDelete"}}" data-action="removeEffect" data-index="{{index}}"><i class="fas fa-trash"></i></a>
</div>