fix: correctly localize alt text of effect icons
This commit is contained in:
parent
ed6ad978e1
commit
c64adb0225
2 changed files with 2 additions and 2 deletions
|
@ -20,7 +20,7 @@ SPDX-License-Identifier: MIT
|
||||||
|
|
||||||
{{!-- icon --}}
|
{{!-- icon --}}
|
||||||
{{> systems/ds4/templates/sheets/shared/components/rollable-image.hbs rollable=false src=effectData.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 --}}
|
{{!-- label --}}
|
||||||
<div title="{{effectData.label}}">{{effectData.label}}</div>
|
<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}}">
|
<li class="ds4-embedded-document-list__row effect" data-effect-id="{{effectData._id}}">
|
||||||
{{!-- icon --}}
|
{{!-- icon --}}
|
||||||
{{> systems/ds4/templates/sheets/shared/components/rollable-image.hbs rollable=false src=effectData.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 --}}
|
{{!-- label --}}
|
||||||
<div title="{{effectData.label}}">{{effectData.label}}</div>
|
<div title="{{effectData.label}}">{{effectData.label}}</div>
|
||||||
|
|
Loading…
Reference in a new issue