Skip to content

Commit

Permalink
i18n: Translate aria-label (#396)
Browse files Browse the repository at this point in the history
  • Loading branch information
jpmckinney committed Apr 21, 2021
1 parent f54466a commit 2fce705
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pydata_sphinx_theme/_templates/sidebar-nav-bs.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<nav class="bd-links" id="bd-docs-nav" aria-label="Main navigation">
<nav class="bd-links" id="bd-docs-nav" aria-label="{{ _('Main navigation') }}">
<div class="bd-toc-item active">
{{ generate_nav_html("sidebar",
maxdepth=theme_navigation_depth|int,
Expand Down
2 changes: 1 addition & 1 deletion pydata_sphinx_theme/docs-navbar.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
{% endfor %}
</div>

<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbar-collapsible" aria-controls="navbar-collapsible" aria-expanded="false" aria-label="Toggle navigation">
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbar-collapsible" aria-controls="navbar-collapsible" aria-expanded="false" aria-label="{{ _('Toggle navigation') }}">
<span class="navbar-toggler-icon"></span>
</button>

Expand Down

0 comments on commit 2fce705

Please sign in to comment.