fix: correctly localize alt text of effect icons
This commit is contained in:
parent
ed6ad978e1
commit
c64adb0225
|
@ -20,7 +20,7 @@ SPDX-License-Identifier: MIT
|
|||
|
||||
{{!-- icon --}}
|
||||
{{> systems/ds4/templates/sheets/shared/components/rollable-image.hbs rollable=false src=effectData.icon
|
||||
alt=(localize "DS4.EffectIconAltText" label=effectData.label) title=effectData.label}}
|
||||
alt=(localize "DS4.DocumentImageAltText" name=effectData.label) title=effectData.label}}
|
||||
|
||||
{{!-- label --}}
|
||||
<div title="{{effectData.label}}">{{effectData.label}}</div>
|
||||
|
|
|
@ -11,7 +11,7 @@ SPDX-License-Identifier: MIT
|
|||
<li class="ds4-embedded-document-list__row effect" data-effect-id="{{effectData._id}}">
|
||||
{{!-- icon --}}
|
||||
{{> systems/ds4/templates/sheets/shared/components/rollable-image.hbs rollable=false src=effectData.icon
|
||||
alt=(localize "DS4.EffectIconAltText" label=effectData.label) title=effectData.label}}
|
||||
alt=(localize "DS4.DocumentImageAltText" name=effectData.label) title=effectData.label}}
|
||||
|
||||
{{!-- label --}}
|
||||
<div title="{{effectData.label}}">{{effectData.label}}</div>
|
||||
|
|
Loading…
Reference in a new issue