-
Notifications
You must be signed in to change notification settings - Fork 322
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BUG - Fix i18n files and compilation for distribution #2042
Merged
Merged
Changes from all commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
42d479a
Fix tox command in CI
trallard 594a040
Compile translations before JS assets
trallard 4cce361
Update translation strings
trallard e3c503e
Add comment to theme-version.html
trallard 6b95431
:globe_with_meridians: Update catalogues
trallard a911121
Add locale compilation to webpack - production only
trallard ed1decb
Add comments to webpack
trallard 5866568
Add build and inspect package to pre-release
trallard a686722
Revert unnecessary change
trallard 0c28478
:rotating_light: Lint files
trallard 773239f
[pre-commit.ci] Automatic linting and formatting fixes
pre-commit-ci[bot] 9494167
:fire: Remove unnecessary file
trallard 0f3aa5c
[pre-commit.ci] Automatic linting and formatting fixes
pre-commit-ci[bot] 85a8b51
Add build comments to webpack.config.js
trallard 75bbbc7
Merge branch 'main' into trallard/patch-translations
trallard 5999b61
Only build and inspect if Python 3.9
trallard 6197020
[pre-commit.ci] Automatic linting and formatting fixes
pre-commit-ci[bot] File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -82,7 +82,7 @@ file, and visible to localizers. For example: | |
|
||
{# L10n: Navigation button at the bottom of the page #} | ||
<button type="button"> | ||
{{- _("Next page") -}} | ||
{{- _('Next page') -}} | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Nit as we use single quotes in a lot of our localisable strings |
||
</button> | ||
|
||
.. _updating-localization-files: | ||
|
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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For whatever reason I had missed this when renaming to
compile-assets