forked from deepStateMirrors/tabi
🌐 fix(theme-switcher): properly translate aria-label (#192)
Co-authored-by: Tim Böttcher <tim.boettcher2@rwth-aachen.de> Co-authored-by: welpo <welpo@users.noreply.github.com>
This commit is contained in:
parent
ab38f8434c
commit
2eaee6557c
3 changed files with 2 additions and 3 deletions
|
@ -6,7 +6,7 @@
|
|||
|
||||
{%- set combined_mode_str = dark_str ~ "/" ~ light_str -%}
|
||||
{%- set title_label = toggle_str | replace(from="$MODE", to=combined_mode_str) -%}
|
||||
{%- set aria_label = 'Toggle ' ~ dark_str ~ ' mode' -%}
|
||||
{%- set aria_label = toggle_str | replace(from="$MODE", to=dark_str) -%}
|
||||
|
||||
<div
|
||||
title="{{ title_label }}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue