Skip to content

Commit 158f0a6

Browse files
committed
Merge branch 'main' into add-py-versions
2 parents 6d40a7e + f31ba96 commit 158f0a6

File tree

9 files changed

+373
-138
lines changed

9 files changed

+373
-138
lines changed

.all-contributorsrc

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -846,6 +846,26 @@
846846
"contributions": [
847847
"code"
848848
]
849+
},
850+
{
851+
"login": "MarieRoald",
852+
"name": "Marie Roald",
853+
"avatar_url": "https://avatars.githubusercontent.com/u/3594989?v=4",
854+
"profile": "http://marieroald.github.io",
855+
"contributions": [
856+
"code",
857+
"bug"
858+
]
859+
},
860+
{
861+
"login": "mrgah",
862+
"name": "mrgah",
863+
"avatar_url": "https://avatars.githubusercontent.com/u/11444003?v=4",
864+
"profile": "https://github.com/mrgah",
865+
"contributions": [
866+
"code",
867+
"review"
868+
]
849869
}
850870
],
851871
"contributorsPerLine": 7,

README.md

Lines changed: 8 additions & 6 deletions
Large diffs are not rendered by default.

_static/pyos.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ ugly scrollbar to show all the time
179179

180180
html[data-theme="light"] {
181181
--pst-color-primary: var(--pyos-color-primary);
182-
--pst-color-primary-text: #fff;
182+
--pst-color-primary-text: #272424;
183183
--pst-color-primary-highlight: #053f49;
184184
--sd-color-primary: var(--pst-color-primary);
185185
--sd-color-primary-text: var(--pst-color-primary-text);
@@ -405,7 +405,7 @@ aside.footnote {
405405
/* Make the first column in a table a "header" like thing */
406406

407407
/* Dark mode fix for tables */
408-
@media (prefers-color-scheme: dark) {
408+
@media (data-theme="dark") {
409409
td:not(.row-header):nth-child(1) {
410410
background-color: var(--pst-color-tbl-row); /* Adjust the dark mode color */
411411
color: #ffffff; /* Adjust the text color for better contrast */

_static/translation_stats.json

Lines changed: 118 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,118 @@
1+
{
2+
"es": {
3+
"continuous-integration": {
4+
"total": 38,
5+
"translated": 0,
6+
"fuzzy": 0,
7+
"untranslated": 38,
8+
"percentage": 0.0
9+
},
10+
"CONTRIBUTING": {
11+
"total": 124,
12+
"translated": 0,
13+
"fuzzy": 0,
14+
"untranslated": 124,
15+
"percentage": 0.0
16+
},
17+
"documentation": {
18+
"total": 9,
19+
"translated": 8,
20+
"fuzzy": 1,
21+
"untranslated": 0,
22+
"percentage": 88.89
23+
},
24+
"index": {
25+
"total": 14,
26+
"translated": 11,
27+
"fuzzy": 1,
28+
"untranslated": 2,
29+
"percentage": 78.57
30+
},
31+
"package-structure-code": {
32+
"total": 131,
33+
"translated": 126,
34+
"fuzzy": 1,
35+
"untranslated": 4,
36+
"percentage": 96.18
37+
},
38+
"tests": {
39+
"total": 1,
40+
"translated": 0,
41+
"fuzzy": 1,
42+
"untranslated": 0,
43+
"percentage": 0.0
44+
},
45+
"TRANSLATING": {
46+
"total": 108,
47+
"translated": 0,
48+
"fuzzy": 0,
49+
"untranslated": 108,
50+
"percentage": 0.0
51+
},
52+
"tutorials": {
53+
"total": 12,
54+
"translated": 11,
55+
"fuzzy": 1,
56+
"untranslated": 0,
57+
"percentage": 91.67
58+
}
59+
},
60+
"ja": {
61+
"continuous-integration": {
62+
"total": 38,
63+
"translated": 38,
64+
"fuzzy": 0,
65+
"untranslated": 0,
66+
"percentage": 100.0
67+
},
68+
"CONTRIBUTING": {
69+
"total": 124,
70+
"translated": 124,
71+
"fuzzy": 0,
72+
"untranslated": 0,
73+
"percentage": 100.0
74+
},
75+
"documentation": {
76+
"total": 468,
77+
"translated": 467,
78+
"fuzzy": 1,
79+
"untranslated": 0,
80+
"percentage": 99.79
81+
},
82+
"index": {
83+
"total": 14,
84+
"translated": 11,
85+
"fuzzy": 1,
86+
"untranslated": 2,
87+
"percentage": 78.57
88+
},
89+
"package-structure-code": {
90+
"total": 87,
91+
"translated": 86,
92+
"fuzzy": 1,
93+
"untranslated": 0,
94+
"percentage": 98.85
95+
},
96+
"tests": {
97+
"total": 1,
98+
"translated": 0,
99+
"fuzzy": 1,
100+
"untranslated": 0,
101+
"percentage": 0.0
102+
},
103+
"TRANSLATING": {
104+
"total": 25,
105+
"translated": 24,
106+
"fuzzy": 1,
107+
"untranslated": 0,
108+
"percentage": 96.0
109+
},
110+
"tutorials": {
111+
"total": 12,
112+
"translated": 11,
113+
"fuzzy": 1,
114+
"untranslated": 0,
115+
"percentage": 91.67
116+
}
117+
}
118+
}

locales/ja/LC_MESSAGES/TRANSLATING.po

Lines changed: 34 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,19 @@
11
# SOME DESCRIPTIVE TITLE.
2-
# Copyright (C) 2024, pyOpenSci
2+
# Copyright (C) 2025, pyOpenSci
33
# This file is distributed under the same license as the pyOpenSci Python
44
# Package Guide package.
5-
# FIRST AUTHOR <EMAIL@ADDRESS>, 2024.
5+
# FIRST AUTHOR <EMAIL@ADDRESS>, 2025.
66
#
7+
# Translators:
8+
# Tetsuo Koyama <tkoyama010@gmail.com>, 2025
79
#, fuzzy
810
msgid ""
911
msgstr ""
10-
"Project-Id-Version: pyOpenSci Python Package Guide \n"
12+
"Project-Id-Version: pyOpenSci Python Package Guide\n"
1113
"Report-Msgid-Bugs-To: \n"
12-
"POT-Creation-Date: 2025-02-17 22:50+0000\n"
13-
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
14-
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14+
"POT-Creation-Date: 2025-04-20 11:32+0900\n"
15+
"PO-Revision-Date: 2025-04-14 18:12+0000\n"
16+
"Last-Translator: Tetsuo Koyama <tkoyama010@gmail.com>, 2025\n"
1517
"Language: ja\n"
1618
"Language-Team: ja <LL@li.org>\n"
1719
"Plural-Forms: nplurals=1; plural=0;\n"
@@ -93,7 +95,7 @@ msgid ""
9395
"When the guide is built, Sphinx creates a version of the guide in the "
9496
"original language (English) and the translated versions for the languages"
9597
" defined in the configuration."
96-
msgstr "ガイドがビルドされると、Sphinxはオリジナルの言語(英語)と、コンフィグレーションで定義された言語の翻訳版のガイドを作成します。"
98+
msgstr "ガイドがビルドされると、Sphinxはオリジナルの言語(英語)と、設定で定義された言語の翻訳版のガイドを作成します。"
9799

98100
#: ../../TRANSLATING.md:27
99101
msgid ""
@@ -176,14 +178,13 @@ msgstr ""
176178
"例えば、フランス語への翻訳を開始したい場合は `'fr'` を追加します:"
177179

178180
#: ../../TRANSLATING.md:68
179-
#, fuzzy
180181
msgid ""
181182
"You can find a list of the two-letter Sphinx language option "
182183
"[here](https://www.sphinx-doc.org/en/master/usage/configuration.html"
183184
"#confval-language)."
184185
msgstr ""
185-
"2文字のISO言語コードのリストは "
186-
"[こちら](https://en.wikipedia.org/wiki/List_of_ISO_639_language_codes)。"
186+
"[ここで](https://www.sphinx-doc.org/en/master/usage/configuration.html"
187+
"#confval-language) 、2文字のSphinx言語オプションのリストを見つけることができます。"
187188

188189
#: ../../TRANSLATING.md:71
189190
msgid "Preparing the Translation Files"
@@ -203,7 +204,7 @@ msgstr ""
203204
msgid ""
204205
"You can do this by running the following command, replacing LANG by the "
205206
"language code you plan to work on (e.g., `es` for Spanish):"
206-
msgstr ""
207+
msgstr "以下のコマンドを実行し、LANGを作業する予定の言語コードに置き換えてください (例えばスペイン語は `es`):"
207208

208209
#: ../../TRANSLATING.md:81
209210
msgid ""
@@ -379,7 +380,7 @@ msgid ""
379380
"the entry."
380381
msgstr ""
381382
"`msgid` フィールドには翻訳が必要な元の英語のテキストを入力します。 `msgstr` フィールドには翻訳されたテキストを入力します。 "
382-
"このフィールドには他の人がすでに翻訳したテキストが入っているかもしれません。"
383+
"このフィールドには他の人がすでに翻訳したテキストが入るかもしれません。"
383384

384385
#: ../../TRANSLATING.md:170
385386
msgid ""
@@ -404,7 +405,7 @@ msgid ""
404405
"The English text may also contain links to other sections of the guide or"
405406
" external resources. You should keep the links in the translated text, "
406407
"making sure to update the link text when appropriate."
407-
msgstr "英文テキストには、ガイドの他のセクションや外部リソースへのリンクが含まれている場合があります。リンクは翻訳されたテキストの中に残し、必要に応じてリンクテキストを更新してください。"
408+
msgstr "英文テキストには、ガイドの他のセクションや外部リソースへのリンクが含まれている場合があります。リンクは翻訳されたテキストの中に残してください、必要に応じてリンクテキストを更新してください。"
408409

409410
#: ../../TRANSLATING.md:196
410411
msgid ""
@@ -444,16 +445,17 @@ msgstr ""
444445

445446
#: ../../TRANSLATING.md:221
446447
msgid "Building the Translated Documentation"
447-
msgstr "翻訳されたドキュメントのビルド"
448+
msgstr "翻訳されたドキュメントの構築"
448449

449450
#: ../../TRANSLATING.md:223
450-
#, fuzzy
451451
msgid ""
452452
"Once you finished translating or when you want to check the translation "
453453
"in context, you can build the guide locally on your computer, using the "
454454
"following command, replacing LANG by the proper language code (e.g., `es`"
455455
" for Spanish)"
456-
msgstr "翻訳が終わったら、あるいは文脈の中で翻訳をチェックしたい場合は、次のコマンドを使用して、ガイドをコンピュータにローカルにビルドすることができます:"
456+
msgstr ""
457+
"翻訳が終わったら、あるいは文脈の中で翻訳をチェックしたい場合は、次のコマンドを使用して、ガイドをコンピュータにローカルに構築することができます、 "
458+
"LANGを適切な言語コードに置き換えます (例: スペイン語なら `es` )。"
457459

458460
#: ../../TRANSLATING.md:229
459461
msgid ""
@@ -487,15 +489,14 @@ msgstr ""
487489
"例えば、スペイン語翻訳に取り組んでいる場合、次のように実行します:"
488490

489491
#: ../../TRANSLATING.md:239
490-
#, fuzzy
491492
msgid ""
492493
"Note the `--` before the language code, it indicates that the following "
493494
"arguments should be passed into the nox session and not be interpreted "
494495
"directly by nox. If you forget the `--`, nox will look instead for a "
495496
"session named 'es' and raise an error that it does not exist."
496497
msgstr ""
497498
"言語コードの前の `--` に注意してください。これは次の引数がnoxセッションに渡され、noxによって直接解釈されないことを示します。 もし "
498-
"`--` を忘れると、noxは代わりに 'es' という名前のセッションを探し、それが存在しないと文句を言います。"
499+
"`--` を忘れると、noxは代わりに 'es' という名前のセッションを探し、それが存在しないとエラーを発生させます。"
499500

500501
#: ../../TRANSLATING.md:241
501502
msgid ""
@@ -571,9 +572,8 @@ msgstr ""
571572
"というタグが付けられます。"
572573

573574
#: ../../TRANSLATING.md:268
574-
#, fuzzy
575575
msgid "TODO: This tagging could be automated with a GitHub Actions."
576-
msgstr "TODO: このタグ付けは、GitHubのアクションで自動化できるかもしれません。"
576+
msgstr "TODO: このタグ付けは、GitHub Actionsで自動化できるかもしれません。"
577577

578578
#: ../../TRANSLATING.md:270
579579
msgid ""
@@ -640,15 +640,17 @@ msgid ""
640640
"code to the `RELEASE_LANGUAGES` list in the `noxfile.py` configuration "
641641
"file."
642642
msgstr ""
643-
"言語がリリース準備できたら、メンテナは `noxfile.py` 設定ファイルの `RELEASE_LANGUAGES` "
643+
"言語がライブにする準備ができたら、メンテナは `noxfile.py` 設定ファイルの `RELEASE_LANGUAGES` "
644644
"リストに言語コードを追加します。"
645645

646646
#: ../../TRANSLATING.md:288
647647
msgid ""
648648
"When the guide is built for release in CI, Sphinx will also generate the "
649649
"translated versions of the guide for the languages in the "
650650
"`RELEASE_LANGUAGES` list."
651-
msgstr "ガイドがCIでリリース用にビルドされると、Sphinxは `RELEASE_LANGUAGES` リストにある言語の翻訳版のガイドも生成します。"
651+
msgstr ""
652+
"ガイドがCIでリリースするためにビルドされると、Sphinxは `RELEASE_LANGUAGES` "
653+
"リストにある言語の翻訳版のガイドも生成します。"
652654

653655
#: ../../TRANSLATING.md:290
654656
msgid ""
@@ -684,7 +686,6 @@ msgid "What happens when a string has changed in the original English text?"
684686
msgstr "英語の原文で文字列が変更された場合はどうなりますか?"
685687

686688
#: ../../TRANSLATING.md:300
687-
#, fuzzy
688689
msgid ""
689690
"If a string has changed in the original English version, it will be "
690691
"marked as `fuzzy` in the translation file the next time it is updated "
@@ -693,8 +694,9 @@ msgid ""
693694
"fuzzy entries and make the necessary changes to ensure it is accurate, "
694695
"before removing the `fuzzy` tag."
695696
msgstr ""
696-
"オリジナルの英語版で文字列が変更された場合、次に翻訳ファイルが更新されるとき( `nox -s update-translations` )に "
697-
"`fuzzy` としてマークされます。 翻訳に携わっているコントリビューターは、 `fuzzy` "
697+
"オリジナルの英語版で文字列が変更された場合、次に翻訳ファイルが更新されるとき (`update-language`, `update-all-"
698+
"languages`, または `update-all-release-languages`) に `fuzzy` としてマークされます。 "
699+
"翻訳に携わっているコントリビューターは、 `fuzzy` "
698700
"タグを削除する前に、あいまいなエントリを確認し、正確であることを確認するために必要な変更を行うことができます。"
699701

700702
#: ../../TRANSLATING.md:302
@@ -821,33 +823,18 @@ msgid ""
821823
"guide/issues) in the [Packaging Guide "
822824
"repository](https://github.com/pyOpenSci/python-package-guide)"
823825
msgstr ""
826+
"翻訳について質問がある場合や助けが必要な場合は、 [パッケージングガイドのリポジトリ](https://github.com/pyOpenSci"
827+
"/python-package-guide) に [issue](https://github.com/pyOpenSci/python-"
828+
"package-guide/issues) を作成してください。"
824829

825830
#: ../../TRANSLATING.md:345
826831
msgid ""
827832
"You can also ask in the PyOpenSci Discord server ([click "
828-
"here](https://discord.gg/CvSMp4zcqX) to join), you will find a general "
833+
"here](https://discord.gg/NQtTTqtv) to join), you will find a general "
829834
"channel for questions related to our workflow, processes, and tools "
830835
"(translation-general) and channels for each of the languages we are "
831836
"working on (spanish-translation, japanese-translation, etc)."
832837
msgstr ""
833-
834-
#~ msgid "You can do this by running the following command:"
835-
#~ msgstr "次のコマンドを実行すれば可能です:"
836-
837-
#~ msgid ""
838-
#~ "If you have any questions or need"
839-
#~ " help with your translation, you can"
840-
#~ " create an issue in the repository"
841-
#~ " if you encounter any problems or "
842-
#~ "need assistance."
843-
#~ msgstr "もし翻訳で何か問題が発生したり、サポートが必要な場合は、リポジトリに課題を作成することができます。"
844-
845-
#~ msgid ""
846-
#~ "TODO: Maybe "
847-
#~ "[Discourse](https://pyopensci.discourse.group/) could be"
848-
#~ " used as a way for contributors "
849-
#~ "to ask for help with translations "
850-
#~ "or the translation workflow?"
851-
#~ msgstr ""
852-
#~ "TODO: [Discourse](https://pyopensci.discourse.group/) "
853-
#~ "を、投稿者が翻訳や翻訳ワークフローについて助けを求める方法として使うことができるかもしれません。"
838+
"PyOpenSci Discord サーバでも質問できます (参加は [こちら](https://discord.gg/NQtTTqtv)) "
839+
"、私たちのワークフロー、プロセス、ツールに関する一般的な質問用のチャンネル (translation-general) "
840+
"と、私たちが取り組んでいる各言語のチャンネル (spanish-translation、japanese-translationなど) があります。"

0 commit comments

Comments
 (0)