Skip to content

Commit

Permalink
Update localisation catalogue (pydata#1999)
Browse files Browse the repository at this point in the history
Originally reported in
pydata#1997

It seems some localisation strings were not properly updated after some
recent theme changes, this PR:

- **Update localisation catalogue**
- **Update localisation files**

Marking as a block release as it would be ideal to have these updated
before the `0.16.0` release.
  • Loading branch information
trallard authored and gabalafou committed Oct 6, 2024
1 parent e299178 commit 8fc505b
Show file tree
Hide file tree
Showing 10 changed files with 177 additions and 51 deletions.
20 changes: 16 additions & 4 deletions src/pydata_sphinx_theme/locale/ca/LC_MESSAGES/sphinx.po
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@
msgid ""
msgstr ""

#: docs/conf.py:108
#: docs/conf.py:109
msgid "Click to expand"
msgstr "Fes clic per a desplegar"

#: docs/conf.py:109
#: docs/conf.py:110
msgid "Click to collapse"
msgstr "Fes clic per a replegar"

Expand Down Expand Up @@ -126,8 +126,20 @@ msgstr ""
"%(sphinx_version)s."

#: src/pydata_sphinx_theme/theme/pydata_sphinx_theme/components/theme-switcher.html:3
msgid "light/dark"
msgstr "clar/fosc"
msgid "Color mode"
msgstr ""

#: src/pydata_sphinx_theme/theme/pydata_sphinx_theme/components/theme-switcher.html:4
msgid "Light"
msgstr "Clar"

#: src/pydata_sphinx_theme/theme/pydata_sphinx_theme/components/theme-switcher.html:5
msgid "Dark"
msgstr "Fosc"

#: src/pydata_sphinx_theme/theme/pydata_sphinx_theme/components/theme-switcher.html:6
msgid "System Settings"
msgstr ""

#: src/pydata_sphinx_theme/theme/pydata_sphinx_theme/components/theme-version.html:3
#, python-format
Expand Down
20 changes: 16 additions & 4 deletions src/pydata_sphinx_theme/locale/cs/LC_MESSAGES/sphinx.po
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@
msgid ""
msgstr ""

#: docs/conf.py:108
#: docs/conf.py:109
msgid "Click to expand"
msgstr ""

#: docs/conf.py:109
#: docs/conf.py:110
msgid "Click to collapse"
msgstr ""

Expand Down Expand Up @@ -126,8 +126,20 @@ msgstr ""
"%(sphinx_version)s."

#: src/pydata_sphinx_theme/theme/pydata_sphinx_theme/components/theme-switcher.html:3
msgid "light/dark"
msgstr "světlý/tmavý"
msgid "Color mode"
msgstr ""

#: src/pydata_sphinx_theme/theme/pydata_sphinx_theme/components/theme-switcher.html:4
msgid "Light"
msgstr "Světlý"

#: src/pydata_sphinx_theme/theme/pydata_sphinx_theme/components/theme-switcher.html:5
msgid "Dark"
msgstr "Tmavý"

#: src/pydata_sphinx_theme/theme/pydata_sphinx_theme/components/theme-switcher.html:6
msgid "System Settings"
msgstr ""

#: src/pydata_sphinx_theme/theme/pydata_sphinx_theme/components/theme-version.html:3
#, python-format
Expand Down
21 changes: 18 additions & 3 deletions src/pydata_sphinx_theme/locale/en/LC_MESSAGES/sphinx.po
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@
msgid ""
msgstr ""

#: docs/conf.py:108
#: docs/conf.py:109
msgid "Click to expand"
msgstr ""

#: docs/conf.py:109
#: docs/conf.py:110
msgid "Click to collapse"
msgstr ""

Expand Down Expand Up @@ -124,7 +124,19 @@ msgid ""
msgstr ""

#: src/pydata_sphinx_theme/theme/pydata_sphinx_theme/components/theme-switcher.html:3
msgid "light/dark"
msgid "Color mode"
msgstr ""

#: src/pydata_sphinx_theme/theme/pydata_sphinx_theme/components/theme-switcher.html:4
msgid "Light"
msgstr ""

#: src/pydata_sphinx_theme/theme/pydata_sphinx_theme/components/theme-switcher.html:5
msgid "Dark"
msgstr ""

#: src/pydata_sphinx_theme/theme/pydata_sphinx_theme/components/theme-switcher.html:6
msgid "System Settings"
msgstr ""

#: src/pydata_sphinx_theme/theme/pydata_sphinx_theme/components/theme-version.html:3
Expand Down Expand Up @@ -168,3 +180,6 @@ msgstr ""
#~ msgid "© <a href=\"%(path)s\">Copyright</a> %(copyright)s."
#~ msgstr ""

#~ msgid "light/dark"
#~ msgstr ""

20 changes: 16 additions & 4 deletions src/pydata_sphinx_theme/locale/es/LC_MESSAGES/sphinx.po
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@
msgid ""
msgstr ""

#: docs/conf.py:108
#: docs/conf.py:109
msgid "Click to expand"
msgstr "Haga clic para ampliar"

#: docs/conf.py:109
#: docs/conf.py:110
msgid "Click to collapse"
msgstr "Haga clic para colapsar"

Expand Down Expand Up @@ -126,8 +126,20 @@ msgstr ""
"%(sphinx_version)s."

#: src/pydata_sphinx_theme/theme/pydata_sphinx_theme/components/theme-switcher.html:3
msgid "light/dark"
msgstr "claro/oscuro"
msgid "Color mode"
msgstr ""

#: src/pydata_sphinx_theme/theme/pydata_sphinx_theme/components/theme-switcher.html:4
msgid "Light"
msgstr "Claro"

#: src/pydata_sphinx_theme/theme/pydata_sphinx_theme/components/theme-switcher.html:5
msgid "Dark"
msgstr "Oscuro"

#: src/pydata_sphinx_theme/theme/pydata_sphinx_theme/components/theme-switcher.html:6
msgid "System Settings"
msgstr ""

#: src/pydata_sphinx_theme/theme/pydata_sphinx_theme/components/theme-version.html:3
#, python-format
Expand Down
20 changes: 16 additions & 4 deletions src/pydata_sphinx_theme/locale/fr/LC_MESSAGES/sphinx.po
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@
msgid ""
msgstr ""

#: docs/conf.py:108
#: docs/conf.py:109
msgid "Click to expand"
msgstr "Cliquez pour développer"

#: docs/conf.py:109
#: docs/conf.py:110
msgid "Click to collapse"
msgstr "Cliquer pour réduire"

Expand Down Expand Up @@ -126,8 +126,20 @@ msgstr ""
"%(sphinx_version)s."

#: src/pydata_sphinx_theme/theme/pydata_sphinx_theme/components/theme-switcher.html:3
msgid "light/dark"
msgstr "clair/sombre"
msgid "Color mode"
msgstr ""

#: src/pydata_sphinx_theme/theme/pydata_sphinx_theme/components/theme-switcher.html:4
msgid "Light"
msgstr "Clair"

#: src/pydata_sphinx_theme/theme/pydata_sphinx_theme/components/theme-switcher.html:5
msgid "Dark"
msgstr "Sombre"

#: src/pydata_sphinx_theme/theme/pydata_sphinx_theme/components/theme-switcher.html:6
msgid "System Settings"
msgstr ""

#: src/pydata_sphinx_theme/theme/pydata_sphinx_theme/components/theme-version.html:3
#, python-format
Expand Down
20 changes: 16 additions & 4 deletions src/pydata_sphinx_theme/locale/it/LC_MESSAGES/sphinx.po
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@
msgid ""
msgstr ""

#: docs/conf.py:108
#: docs/conf.py:109
msgid "Click to expand"
msgstr "Fai click per espandere"

#: docs/conf.py:109
#: docs/conf.py:110
msgid "Click to collapse"
msgstr "Fai click per nascondere"

Expand Down Expand Up @@ -126,8 +126,20 @@ msgstr ""
"%(sphinx_version)s."

#: src/pydata_sphinx_theme/theme/pydata_sphinx_theme/components/theme-switcher.html:3
msgid "light/dark"
msgstr "chiaro/scuro"
msgid "Color mode"
msgstr ""

#: src/pydata_sphinx_theme/theme/pydata_sphinx_theme/components/theme-switcher.html:4
msgid "Light"
msgstr "Chiaro"

#: src/pydata_sphinx_theme/theme/pydata_sphinx_theme/components/theme-switcher.html:5
msgid "Dark"
msgstr "Scuro"

#: src/pydata_sphinx_theme/theme/pydata_sphinx_theme/components/theme-switcher.html:6
msgid "System Settings"
msgstr ""

#: src/pydata_sphinx_theme/theme/pydata_sphinx_theme/components/theme-version.html:3
#, python-format
Expand Down
45 changes: 30 additions & 15 deletions src/pydata_sphinx_theme/locale/ja/LC_MESSAGES/sphinx.po
Original file line number Diff line number Diff line change
Expand Up @@ -2,32 +2,31 @@
# Copyright (C) 2023 PyData developers
# This file is distributed under the same license as the pydata-sphinx-theme
# project.
#
#
# Translators:
# Tetsuo Koyama <[email protected]>, 2024
#
msgid ""
msgstr ""

#: docs/conf.py:94
#: docs/conf.py:109
msgid "Click to expand"
msgstr "クリックして拡大"

#: docs/conf.py:95
#: docs/conf.py:110
msgid "Click to collapse"
msgstr "クリックして折りたたむ"

#: src/pydata_sphinx_theme/theme/pydata_sphinx_theme/layout.html:39
#: src/pydata_sphinx_theme/theme/pydata_sphinx_theme/layout.html:48
msgid "Skip to main content"
msgstr "本文へスキップ"

#: src/pydata_sphinx_theme/theme/pydata_sphinx_theme/layout.html:51
#: src/pydata_sphinx_theme/theme/pydata_sphinx_theme/layout.html:60
msgid "Back to top"
msgstr "トップに戻る"

#: src/pydata_sphinx_theme/theme/pydata_sphinx_theme/components/search-button-field.html:5
#: src/pydata_sphinx_theme/theme/pydata_sphinx_theme/components/search-button-field.html:7
#: src/pydata_sphinx_theme/theme/pydata_sphinx_theme/components/search-button.html:5
#: src/pydata_sphinx_theme/theme/pydata_sphinx_theme/components/search-button-field.html:6
#: src/pydata_sphinx_theme/theme/pydata_sphinx_theme/components/search-button-field.html:8
#: src/pydata_sphinx_theme/theme/pydata_sphinx_theme/components/search-button.html:3
#: src/pydata_sphinx_theme/theme/pydata_sphinx_theme/search.html:5
#: src/pydata_sphinx_theme/theme/pydata_sphinx_theme/search.html:28
msgid "Search"
Expand All @@ -41,18 +40,18 @@ msgstr "エラー"
msgid "Please activate JavaScript to enable the search functionality."
msgstr "検索機能を有効にするにはJavaScriptを有効にしてください。"

#: src/pydata_sphinx_theme/theme/pydata_sphinx_theme/components/breadcrumbs.html:13
#: src/pydata_sphinx_theme/theme/pydata_sphinx_theme/components/breadcrumbs.html:6
msgid "Breadcrumb"
msgstr "パンくずリスト"

#: src/pydata_sphinx_theme/theme/pydata_sphinx_theme/components/breadcrumbs.html:17
#: src/pydata_sphinx_theme/theme/pydata_sphinx_theme/components/breadcrumbs.html:10
msgid "Home"
msgstr "ホーム"

#: src/pydata_sphinx_theme/theme/pydata_sphinx_theme/components/copyright.html:5
#, python-format
msgid "© <a href=\"%(path)s\">Copyright</a> %(copyright)s."
msgstr <a href=\"%(path)s\">Copyright</a> %(copyright)s."
msgid "Copyright %(copyright)s"
msgstr "© Copyright %(copyright)s."

#: src/pydata_sphinx_theme/theme/pydata_sphinx_theme/components/copyright.html:8
#, python-format
Expand Down Expand Up @@ -128,9 +127,21 @@ msgstr ""
"<a href=\"https://www.sphinx-doc.org/\">Sphinx</a> %(sphinx_version)s "
"を使用して作成されました。"

#: src/pydata_sphinx_theme/theme/pydata_sphinx_theme/components/theme-switcher.html:3
msgid "Color mode"
msgstr ""

#: src/pydata_sphinx_theme/theme/pydata_sphinx_theme/components/theme-switcher.html:4
msgid "Light"
msgstr "ライト"

#: src/pydata_sphinx_theme/theme/pydata_sphinx_theme/components/theme-switcher.html:5
msgid "light/dark"
msgstr "ライト/ダーク"
msgid "Dark"
msgstr "ダーク"

#: src/pydata_sphinx_theme/theme/pydata_sphinx_theme/components/theme-switcher.html:6
msgid "System Settings"
msgstr ""

#: src/pydata_sphinx_theme/theme/pydata_sphinx_theme/components/theme-version.html:3
#, python-format
Expand Down Expand Up @@ -172,3 +183,7 @@ msgstr "サイトナビゲーション"

#~ msgid "Site Navigation"
#~ msgstr "サイトナビゲーション"

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

20 changes: 16 additions & 4 deletions src/pydata_sphinx_theme/locale/ru/LC_MESSAGES/sphinx.po
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@
msgid ""
msgstr ""

#: docs/conf.py:108
#: docs/conf.py:109
msgid "Click to expand"
msgstr ""

#: docs/conf.py:109
#: docs/conf.py:110
msgid "Click to collapse"
msgstr ""

Expand Down Expand Up @@ -126,8 +126,20 @@ msgstr ""
"%(sphinx_version)s."

#: src/pydata_sphinx_theme/theme/pydata_sphinx_theme/components/theme-switcher.html:3
msgid "light/dark"
msgstr "светлая/темная"
msgid "Color mode"
msgstr ""

#: src/pydata_sphinx_theme/theme/pydata_sphinx_theme/components/theme-switcher.html:4
msgid "Light"
msgstr "светлая"

#: src/pydata_sphinx_theme/theme/pydata_sphinx_theme/components/theme-switcher.html:5
msgid "Dark"
msgstr "темная"

#: src/pydata_sphinx_theme/theme/pydata_sphinx_theme/components/theme-switcher.html:6
msgid "System Settings"
msgstr ""

#: src/pydata_sphinx_theme/theme/pydata_sphinx_theme/components/theme-version.html:3
#, python-format
Expand Down
Loading

0 comments on commit 8fc505b

Please sign in to comment.