From c64adb02253bb698abfd363c4eacf47ab32cb53a Mon Sep 17 00:00:00 2001 From: Johannes Loher Date: Sun, 23 Jan 2022 17:21:30 +0100 Subject: [PATCH] fix: correctly localize alt text of effect icons --- src/templates/sheets/actor/components/effect-list-entry.hbs | 2 +- src/templates/sheets/item/components/effect-list-entry.hbs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/templates/sheets/actor/components/effect-list-entry.hbs b/src/templates/sheets/actor/components/effect-list-entry.hbs index 5c89489b..f3978224 100644 --- a/src/templates/sheets/actor/components/effect-list-entry.hbs +++ b/src/templates/sheets/actor/components/effect-list-entry.hbs @@ -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 --}}
{{effectData.label}}
diff --git a/src/templates/sheets/item/components/effect-list-entry.hbs b/src/templates/sheets/item/components/effect-list-entry.hbs index 8e281fea..9d4a323e 100644 --- a/src/templates/sheets/item/components/effect-list-entry.hbs +++ b/src/templates/sheets/item/components/effect-list-entry.hbs @@ -11,7 +11,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 --}}
    {{effectData.label}}