-
Notifications
You must be signed in to change notification settings - Fork 328
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
BUG - Fix i18n files and compilation for distribution (#2042)
While investigating #2040 I noticed that our current release missed the updated `.mo` files. This was a bug I introduced in #1959 when reworking the localisation workflows. TLD;R—Since we use `stb` to build the theme, I did not realise that compiling the i18n files had to be done within the `stb package` (I removed it from the webpack file as this was causing the infinite reload while working on our docs). Since this was an easy miss, I added our build and inspect job to the `pre-release` workflow that runs on a chron job to check our build process periodically. Once we merge this, we can make a small release to patch the current issue. --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: gabalafou <[email protected]>
- Loading branch information
1 parent
23fa1b5
commit 458415f
Showing
17 changed files
with
80 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,6 @@ | |
# Translators: | ||
# Cristhian Rivera, 2024 | ||
# Oriol Abril-Pla <[email protected]>, 2024 | ||
# | ||
msgid "" | ||
msgstr "" | ||
|
||
|
@@ -145,11 +144,10 @@ msgstr "Fosc" | |
msgid "System Settings" | ||
msgstr "Configuració del sistema" | ||
|
||
#: src/pydata_sphinx_theme/theme/pydata_sphinx_theme/components/theme-version.html:3 | ||
#: src/pydata_sphinx_theme/theme/pydata_sphinx_theme/components/theme-version.html:4 | ||
#, python-format | ||
msgid "" | ||
"Built with the <a href=\"https://pydata-sphinx-" | ||
"theme.readthedocs.io/en/stable/index.html\">PyData Sphinx Theme</a> " | ||
"Built with the <a href=\"%(PST_url)s\">PyData Sphinx Theme</a> " | ||
"%(theme_version)s." | ||
msgstr "" | ||
"Construïda amb el <a href=\"https://pydata-sphinx-" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,6 @@ | |
# Translators: | ||
# Rambaud Pierrick <[email protected]>, 2024 | ||
# Denis Bitouzé <[email protected]>, 2024 | ||
# | ||
msgid "" | ||
msgstr "" | ||
|
||
|
@@ -145,11 +144,10 @@ msgstr "Sombre" | |
msgid "System Settings" | ||
msgstr "Paramètres système" | ||
|
||
#: src/pydata_sphinx_theme/theme/pydata_sphinx_theme/components/theme-version.html:3 | ||
#: src/pydata_sphinx_theme/theme/pydata_sphinx_theme/components/theme-version.html:4 | ||
#, python-format | ||
msgid "" | ||
"Built with the <a href=\"https://pydata-sphinx-" | ||
"theme.readthedocs.io/en/stable/index.html\">PyData Sphinx Theme</a> " | ||
"Built with the <a href=\"%(PST_url)s\">PyData Sphinx Theme</a> " | ||
"%(theme_version)s." | ||
msgstr "" | ||
"Construit avec le <a href=\"https://pydata-sphinx-" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,11 +4,12 @@ | |
# project. | ||
# FIRST AUTHOR <EMAIL@ADDRESS>, 2024. | ||
# | ||
#, fuzzy | ||
msgid "" | ||
msgstr "" | ||
"Project-Id-Version: pydata-sphinx-theme 0.16.0rc0\n" | ||
"Project-Id-Version: pydata-sphinx-theme 0.16.1.dev0\n" | ||
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n" | ||
"POT-Creation-Date: 2024-09-30 17:53+0100\n" | ||
"POT-Creation-Date: 2024-11-18 12:43+0000\n" | ||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" | ||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" | ||
"Language-Team: LANGUAGE <[email protected]>\n" | ||
|
@@ -150,11 +151,10 @@ msgstr "" | |
msgid "System Settings" | ||
msgstr "" | ||
|
||
#: src/pydata_sphinx_theme/theme/pydata_sphinx_theme/components/theme-version.html:3 | ||
#: src/pydata_sphinx_theme/theme/pydata_sphinx_theme/components/theme-version.html:4 | ||
#, python-format | ||
msgid "" | ||
"Built with the <a href=\"https://pydata-sphinx-" | ||
"theme.readthedocs.io/en/stable/index.html\">PyData Sphinx Theme</a> " | ||
"Built with the <a href=\"%(PST_url)s\">PyData Sphinx Theme</a> " | ||
"%(theme_version)s." | ||
msgstr "" | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 4 additions & 1 deletion
5
src/pydata_sphinx_theme/theme/pydata_sphinx_theme/components/theme-version.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,7 @@ | ||
{# Displays the version of pydata-sphinx-theme used to build the documentation. #} | ||
<p class="theme-version"> | ||
{% trans theme_version=theme_version|e %}Built with the <a href="https://pydata-sphinx-theme.readthedocs.io/en/stable/index.html">PyData Sphinx Theme</a> {{ theme_version }}.{% endtrans %} | ||
<!-- # L10n: Setting the PST URL as an argument as this does not need to be localized --> | ||
{% trans trimmed theme_version=theme_version|e, PST_url="https://pydata-sphinx-theme.readthedocs.io/en/stable/index.html" %} | ||
Built with the <a href="{{ PST_url }}">PyData Sphinx Theme</a> {{ theme_version }}. | ||
{% endtrans %} | ||
</p> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters