Skip to content

Commit

Permalink
ENH: Add translation to page element (#695)
Browse files Browse the repository at this point in the history
  • Loading branch information
mcjulian1107 authored Mar 1, 2023
1 parent 996fa65 commit c98de28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sphinx_book_theme/header_buttons/source.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def add_source_buttons(app, pagename, templatename, context, doctree):
"type": "link",
"url": repo_url,
"tooltip": translation("Source repository"),
"text": "Repository",
"text": translation("Repository"),
"icon": f"fab fa-{provider.lower()}",
"label": "source-repository-button",
}
Expand Down

0 comments on commit c98de28

Please sign in to comment.