Skip to content

Commit e24ca8b

Browse files
transifex-integration[bot]pre-commit-ci[bot]trallard
authored
Updates for file src/pydata_sphinx_theme/locale/en/LC_MESSAGES/sphinx.po in fr (#2014)
The following localization files have been updated: Parameter | Value ---- | ---- Source File | src/pydata_sphinx_theme/locale/en/LC_MESSAGES/sphinx.po Translation File | src/pydata_sphinx_theme/locale/fr/LC_MESSAGES/sphinx.po Language Code | fr Transifex Project | [pydata-sphinx-theme](https://app.transifex.com/12rambau/pydata-sphinx-theme/) Transifex Resource | [src..LC_MESSAGES/sphinx.po (main)](https://app.transifex.com/12rambau/pydata-sphinx-theme/79592a50a377d7a120926189491c3d76/) Transifex Event | translated --------- Co-authored-by: transifex-integration[bot] <43880903+transifex-integration[bot]@users.noreply.github.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Tania Allard <[email protected]>
1 parent 7cd6e5a commit e24ca8b

File tree

2 files changed

+11
-19
lines changed

2 files changed

+11
-19
lines changed

src/pydata_sphinx_theme/locale/fr/LC_MESSAGES/sphinx.po

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@
44
# FIRST AUTHOR <EMAIL@ADDRESS>, 2024.
55
#
66
# Translators:
7-
# Denis Bitouzé <[email protected]>, 2024
87
# Rambaud Pierrick <[email protected]>, 2024
8+
# Denis Bitouzé <[email protected]>, 2024
99
#
1010
msgid ""
1111
msgstr ""
1212

1313
#: docs/conf.py:109
1414
msgid "Click to expand"
15-
msgstr "Cliquez pour développer"
15+
msgstr "Cliquer pour développer"
1616

1717
#: docs/conf.py:110
1818
msgid "Click to collapse"
@@ -40,7 +40,7 @@ msgstr "Erreur"
4040

4141
#: src/pydata_sphinx_theme/theme/pydata_sphinx_theme/search.html:9
4242
msgid "Please activate JavaScript to enable the search functionality."
43-
msgstr "Veuillez activer le JavaScript pour que la recherche fonctionne."
43+
msgstr "Le JavaScript doit être activé pour que la recherche fonctionne."
4444

4545
#: src/pydata_sphinx_theme/theme/pydata_sphinx_theme/components/breadcrumbs.html:6
4646
msgid "Breadcrumb"
@@ -71,7 +71,7 @@ msgstr "Modifier"
7171

7272
#: src/pydata_sphinx_theme/theme/pydata_sphinx_theme/components/indices.html:4
7373
msgid "Indices"
74-
msgstr "Indices"
74+
msgstr "Index"
7575

7676
#: src/pydata_sphinx_theme/theme/pydata_sphinx_theme/components/indices.html:11
7777
msgid "General Index"
@@ -114,11 +114,11 @@ msgstr "suivante"
114114
#: src/pydata_sphinx_theme/theme/pydata_sphinx_theme/components/sidebar-nav-bs.html:3
115115
#: src/pydata_sphinx_theme/theme/pydata_sphinx_theme/components/sidebar-nav-bs.html:4
116116
msgid "Section Navigation"
117-
msgstr "Navigation de la section"
117+
msgstr "Navigation dans la section"
118118

119119
#: src/pydata_sphinx_theme/theme/pydata_sphinx_theme/components/sourcelink.html:5
120120
msgid "Show Source"
121-
msgstr "Montrer le code source"
121+
msgstr "Afficher le code source"
122122

123123
#: src/pydata_sphinx_theme/theme/pydata_sphinx_theme/components/sphinx-version.html:4
124124
#, python-format
@@ -131,7 +131,7 @@ msgstr ""
131131

132132
#: src/pydata_sphinx_theme/theme/pydata_sphinx_theme/components/theme-switcher.html:3
133133
msgid "Color mode"
134-
msgstr "Theme"
134+
msgstr "Thème"
135135

136136
#: src/pydata_sphinx_theme/theme/pydata_sphinx_theme/components/theme-switcher.html:4
137137
msgid "Light"
@@ -153,7 +153,7 @@ msgid ""
153153
"%(theme_version)s."
154154
msgstr ""
155155
"Construit avec le <a href=\"https://pydata-sphinx-"
156-
"theme.readthedocs.io/en/stable/index.html\">Thème PyData Sphinx</a> "
156+
"theme.readthedocs.io/en/stable/index.html\">thème PyData Sphinx</a> "
157157
"%(theme_version)s."
158158

159159
#: src/pydata_sphinx_theme/theme/pydata_sphinx_theme/sections/announcement.html:4
@@ -184,7 +184,7 @@ msgstr "Navigation dans le site"
184184
#~ msgstr "Twitter"
185185

186186
#~ msgid "Site Navigation"
187-
#~ msgstr "Navigation du site"
187+
#~ msgstr "Navigation dans le site"
188188

189189
#~ msgid "© <a href=\"%(path)s\">Copyright</a> %(copyright)s."
190190
#~ msgstr "© <a href=\"%(path)s\">Copyright</a> %(copyright)s."

tests/test_build.py

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -990,22 +990,14 @@ def test_translations(sphinx_build_factory) -> None:
990990
index = sphinx_build.html_tree("section1/index.html")
991991

992992
sidebar_primary = index.select(".bd-sidebar-primary")[0]
993-
assert "Navigation de la section" in str(sidebar_primary)
993+
assert "Navigation dans la section" in str(sidebar_primary)
994994

995995
sidebar_secondary = index.select(".bd-sidebar-secondary")[0]
996996
assert "Montrer le code source" in str(sidebar_secondary)
997997
assert "Modifier sur GitHub" in str(sidebar_secondary)
998998

999999
header = index.select(".bd-header")[0]
1000-
## TODO: update once translataion up to date
1001-
# assert "clair/sombre" in str(header)
1002-
# Text of theme switcher button have been changed,
1003-
# "light/dark" has been updated to "Color mode" and does not have a translation yet.
1004-
if "Color mode" not in str(header):
1005-
pytest.xfail(
1006-
"Please update test_build.py::test_translations now that new translation are available."
1007-
)
1008-
# End TODO
1000+
assert "Thème" in str(header)
10091001

10101002
footer = index.select(".bd-footer")[0]
10111003
assert "Copyright" in str(footer)

0 commit comments

Comments
 (0)