Skip to content

Commit c98de28

Browse files
authored
ENH: Add translation to page element (#695)
1 parent 996fa65 commit c98de28

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • src/sphinx_book_theme/header_buttons

src/sphinx_book_theme/header_buttons/source.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ def add_source_buttons(app, pagename, templatename, context, doctree):
4141
"type": "link",
4242
"url": repo_url,
4343
"tooltip": translation("Source repository"),
44-
"text": "Repository",
44+
"text": translation("Repository"),
4545
"icon": f"fab fa-{provider.lower()}",
4646
"label": "source-repository-button",
4747
}

0 commit comments

Comments
 (0)