Skip to content

Commit

Permalink
Adjust toggle dark mode button label to translatable label
Browse files Browse the repository at this point in the history
  • Loading branch information
froggleston committed Jun 18, 2024
1 parent 5e16794 commit be054b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inst/pkgdown/templates/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
aria-expanded="false"
data-bs-toggle="dropdown"
data-bs-display="static"
aria-label="Toggle theme (auto)">
aria-label="{{ translate.ToggleDarkMode }}">
<svg class="bi my-1 theme-icon-active"><use href="#circle-half"></use></svg>
<i data-feather="chevron-down"></i>
</button>
Expand Down

0 comments on commit be054b2

Please sign in to comment.