From f9ada1c2b1cc00743c24b7874bc9a6cbdc5bbaca Mon Sep 17 00:00:00 2001 From: Tetsuo Koyama Date: Sat, 10 Oct 2026 22:47:20 +0900 Subject: [PATCH 1/9] i18n: review and fix all fuzzy translations in ja tests catalog - Update translations to match current English source (headings, links, URLs) - Fix missing bold labels, broken code markers, truncated sentences - Fix pre-existing msgfmt -c error (literal % in image alt text) --- locales/ja/LC_MESSAGES/tests.po | 1064 ++++++++++++++----------------- 1 file changed, 469 insertions(+), 595 deletions(-) diff --git a/locales/ja/LC_MESSAGES/tests.po b/locales/ja/LC_MESSAGES/tests.po index 9a6c1ecf..a0fcdeef 100644 --- a/locales/ja/LC_MESSAGES/tests.po +++ b/locales/ja/LC_MESSAGES/tests.po @@ -14,12 +14,12 @@ msgstr "" "POT-Creation-Date: 2026-05-22 12:19-0700\n" "PO-Revision-Date: 2025-04-14 18:12+0000\n" "Last-Translator: Tetsuo Koyama , 2025\n" -"Language: ja\n" "Language-Team: ja \n" -"Plural-Forms: nplurals=1; plural=0;\n" +"Language: ja\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=1; plural=0;\n" "Generated-By: Babel 2.18.0\n" #: ../../tests/code-cov.md:1 @@ -28,8 +28,8 @@ msgstr "Pythonパッケージのテストスイートのコードカバレッジ #: ../../tests/code-cov.md:3 msgid "" -"Code coverage measures how much of your package's code runs during testing." -" Achieving high coverage can help ensure the reliability of your codebase, " +"Code coverage measures how much of your package's code runs during testing. " +"Achieving high coverage can help ensure the reliability of your codebase, " "but it’s not a guarantee of quality. Below, we outline key considerations " "for using code coverage effectively." msgstr "" @@ -43,26 +43,23 @@ msgstr "なぜ高いコードカバレッジを目指すのか?" #: ../../tests/code-cov.md:10 msgid "" -"A good practice is to ensure that every line of your code runs at least " -"once during your test suite. This helps you:" +"A good practice is to ensure that every line of your code runs at least once" +" during your test suite. This helps you:" msgstr "良い習慣は、テストスイートの間に、コードのすべての行が少なくとも一度は実行されるようにすることです。これはあなたを助けます:" #: ../../tests/code-cov.md:13 -#, fuzzy msgid "" -"**Identify untested parts:** Parts of your codebase that are not covered by" -" tests." -msgstr "コードベースのテストされていない部分を特定します。" +"**Identify untested parts:** Parts of your codebase that are not covered by " +"tests." +msgstr "**テストされていない部分の特定:** テストでカバーされていないコードベースの部分。" #: ../../tests/code-cov.md:15 -#, fuzzy msgid "**Catch bugs:** Bugs that might otherwise go unnoticed." -msgstr "他の方法では気づかれないかもしれないバグをキャッチします。" +msgstr "**バグの検出:** 気づかれないかもしれないバグを検出します。" #: ../../tests/code-cov.md:16 -#, fuzzy msgid "**Build confidence:** Confidence in your software's stability." -msgstr "ソフトウェアの安定性に自信を持てます。" +msgstr "**自信の構築:** ソフトウェアの安定性に対する自信。" #: ../../tests/code-cov.md:18 msgid "Limitations of code coverage" @@ -74,15 +71,14 @@ msgstr "高いコードカバレッジは価値がありますが、それには #: ../../tests/code-cov.md:22 msgid "" -"**Difficult-to-test code:** Some parts of your code might be challenging to" -" test, either due to complexity or limited resources." +"**Difficult-to-test code:** Some parts of your code might be challenging to " +"test, either due to complexity or limited resources." msgstr "**テストしにくいコード:** コードの中には、複雑さや限られたリソースのために、テストが難しい部分があるかもしれません。" #: ../../tests/code-cov.md:24 -#, fuzzy msgid "" -"**Missed edge cases:** Running all lines of code doesn't guarantee that " -"edge cases are handled correctly." +"**Missed edge cases:** Running all lines of code doesn't guarantee that edge" +" cases are handled correctly." msgstr "**見逃されたエッジケース:** すべてのコードを実行しても、エッジケースが正しく処理される保証はありません。" #: ../../tests/code-cov.md:27 @@ -96,7 +92,6 @@ msgid "Tools for analyzing Python package code coverage" msgstr "Pythonパッケージのコードカバレッジを分析するツール" #: ../../tests/code-cov.md:32 -#, fuzzy msgid "" "Some common services for analyzing code coverage are " "[codecov.io](https://about.codecov.io/) and " @@ -105,26 +100,23 @@ msgid "" "covered during your tests. We recommend setting up an account (on either " "CodeCov or Coveralls) and using it to keep track of your code coverage." msgstr "" -"コードカバレッジを分析するための一般的なサービスには、 [codecov.io](https://codecov.io/) と " -"[coveralls.io](https://coveralls.io/) があります。 " -"これらのプロジェクトはオープンソースのツールで無料であり、テスト中にコードベースがどの程度カバーされているかを示すダッシュボードを提供してくれます。 " -"(CodeCovまたはCoverallsで) アカウントを設定し、コード・カバレッジを追跡するために使用することをお勧めします。" +"コードカバレッジを分析するための一般的なサービスには、[codecov.io](https://about.codecov.io/) と " +"[coveralls.io](https://coveralls.io/) " +"があります。これらのプロジェクトはオープンソースのツールで無料であり、テスト中にコードベースがどの程度カバーされているかを示すダッシュボードを提供してくれます。(CodeCov" +" または Coveralls のいずれかで) アカウントを設定し、コードカバレッジを追跡するために使用することをお勧めします。" #: ../../tests/code-cov.md:39 -#, python-format msgid "" -"Screenshot of the code cov service - showing test coverage for the " -"stravalib package. This image shows a list of package modules and the " -"associated number of lines and % lines covered by tests. At the top of the " -"image, you can see what branch is being evaluated and the path to the " -"repository." +"Screenshot of the code cov service - showing test coverage for the stravalib" +" package. This image shows a list of package modules and the associated " +"number of lines and % lines covered by tests. At the top of the image, you " +"can see what branch is being evaluated and the path to the repository." msgstr "" "code covサービスのスクリーンショット - stravalibパッケージのテストカバレッジを示します。 " -"この画像は、パッケージモジュールのリストと、関連する行数およびテスト対象行の割合を示しています。 " +"この画像は、パッケージモジュールのリストと、関連する行数およびテストでカバーされた行の割合(%)を示しています。 " "画像の上部には、評価対象のブランチとリポジトリへのパスが表示されています。" #: ../../tests/code-cov.md:44 -#, fuzzy msgid "" "The CodeCov platform is a useful tool if you wish to track code coverage " "visually. Using it, you can get the same summary information that you can " @@ -135,9 +127,11 @@ msgid "" "[integration tests](test-types.md#integration-tests) and [end-to-end " "workflows](test-types.md)." msgstr "" -"CodeCovプラットフォームは、コードカバレッジを視覚的に追跡したい場合に便利なツールです。これを使えば、 **pytest-cov** " -"拡張機能で得られるのと同じサマリー情報を得られるだけではありません。また、テストの対象になっているラインとそうでないラインを確認することもできます。コードカバレッジは、単体テストの評価や、パッケージのコードがどれだけ" -" \"カバー\" されているかを評価するのに役立ちます。しかし、統合テストやエンドツーエンドのワークフローなどは評価されません。" +"CodeCov プラットフォームは、コードカバレッジを視覚的に追跡したい場合に便利なツールです。これを使えば、**pytest-cov** " +"拡張機能で得られるのと同じサマリー情報を得ることができます。また、テストでカバーされている行とそうでない行を確認することもできます。コードカバレッジは、[単体テスト](test-" +"types.md#unit-tests) の評価や、パッケージのコードがどれだけ \"カバー\" " +"されているかを評価するのに役立ちます。しかし、[統合テスト](test-types.md#integration-tests) や " +"[エンドツーエンドのワークフロー](test-types.md) などは評価されません。" #: ../../tests/code-cov.md:56 msgid "Typing & MyPy coverage" @@ -154,9 +148,9 @@ msgstr "ローカルカバレッジレポートのエクスポート" #: ../../tests/code-cov.md:62 msgid "" "In addition to using services like CodeCov or Coveralls, you can generate " -"local coverage reports directly using the **coverage.py** tool. This can be" -" especially useful if you want to create reports in Markdown or HTML format" -" for offline use or documentation." +"local coverage reports directly using the **coverage.py** tool. This can be " +"especially useful if you want to create reports in Markdown or HTML format " +"for offline use or documentation." msgstr "" "CodeCovやCoverallsのようなサービスを利用するだけでなく、 **coverage.py** " "ツールを使って直接ローカルカバレッジレポートを作成することもできます。 " @@ -167,11 +161,10 @@ msgid "To generate a coverage report in **Markdown** format, run:" msgstr "カバレッジレポートを **Markdown** 形式で作成するには、以下を実行します:" #: ../../tests/code-cov.md:73 -#, fuzzy msgid "" -"This command will produce a Markdown-formatted coverage summary that you " -"can include in project documentation or share with your team." -msgstr "このコマンドはMarkdown形式のカバレッジサマリーを作成し、プロジェクトのドキュメントに簡単に記載したり、チームと共有したりすることができます。" +"This command will produce a Markdown-formatted coverage summary that you can" +" include in project documentation or share with your team." +msgstr "このコマンドは Markdown 形式のカバレッジサマリーを生成し、プロジェクトのドキュメントに記載したり、チームと共有したりできます。" #: ../../tests/code-cov.md:76 msgid "" @@ -180,32 +173,32 @@ msgid "" msgstr "どの行がカバーされているか、詳細でインタラクティブなビューを提供するHTMLレポートを生成するには、以下を使用します:" #: ../../tests/code-cov.md:83 -#, fuzzy msgid "" "The generated HTML report will be saved in a directory named `htmlcov` by " -"default. Open the `index.html` file in your browser to explore your " -"coverage results." -msgstr "生成されたHTMLレポートは、デフォルトでhtmlcovというディレクトリに保存されます。index.htmlファイルをブラウザで開き、カバレッジ結果をご覧ください。" +"default. Open the `index.html` file in your browser to explore your coverage" +" results." +msgstr "" +"生成された HTML レポートは、デフォルトで `htmlcov` というディレクトリに保存されます。`index.html` " +"ファイルをブラウザで開き、カバレッジ結果をご覧ください。" #: ../../tests/code-cov.md:87 msgid "" -"These local reports are an excellent way to quickly review coverage without" -" setting up an external service." +"These local reports are an excellent way to quickly review coverage without " +"setting up an external service." msgstr "このようなローカルレポートは、外部サービスを立ち上げることなくカバレッジを素早く確認する優れた方法です。" #: ../../tests/code-cov.md:90 ../../tests/run-tests-nox.md:168 #: ../../tests/run-tests.md:332 ../../tests/test-types.md:346 #: ../../tests/write-tests.md:136 -#, fuzzy msgid "Next steps" -msgstr "単体テスト" +msgstr "次のステップ" #: ../../tests/code-cov.md:92 msgid "" "Writing meaningful tests is the foundation of useful coverage. See [Write " "tests](write-tests.md) and [Test types](test-types.md) to learn more about " -"developing better test suites. Learn how to run your tests both [locally" -"](run-tests.md) and in [continuous integration](tests-ci.md)." +"developing better test suites. Learn how to run your tests both " +"[locally](run-tests.md) and in [continuous integration](tests-ci.md)." msgstr "" "意味のあるテストを作成することは、有用なカバレッジの基礎です。より良いテスト スイートの開発の詳細については、[テストの書き込み](write-" "tests.md) および [テストの種類](test-types.md) を参照してください。 [ローカル](run-tests.md) と " @@ -228,9 +221,8 @@ msgid "Run tests locally" msgstr "ローカルでテストを実行する" #: ../../tests/index.md:70 ../../tests/run-tests-nox.md:7 -#, fuzzy msgid "Run tests with Nox" -msgstr "オンラインテストを実行する" +msgstr "Nox でテストを実行する" #: ../../tests/index.md:70 msgid "Run tests online (using CI)" @@ -249,37 +241,31 @@ msgid "Tests and data for your Python package" msgstr "Pythonパッケージのテストとデータ" #: ../../tests/index.md:4 -#, fuzzy msgid "" "Adding tests to your package provides a set of checks that ensure that its " "functioning how you expect it to." -msgstr "" -"テストは Python " -"パッケージの重要な一部です。なぜなら、テストはパッケージが期待通りに動作しているかどうかを確認するための一連のチェック機能を提供するからです。" +msgstr "パッケージにテストを追加すると、パッケージが期待どおりに動作していることを確認する一連のチェックが提供されます。" #: ../../tests/index.md:7 -#, fuzzy msgid "" "In this section, you will learn about the importance of writing tests for " -"your Python package, different [types of tests that you should consider" -"](test-types) and how you can set up infrastructure to run your tests both " -"[locally](run-tests) and [on GitHub](tests-ci)." +"your Python package, different [types of tests that you should " +"consider](test-types) and how you can set up infrastructure to run your " +"tests both [locally](run-tests) and [on GitHub](tests-ci)." msgstr "" -"このセクションでは、Python パッケージのテストを書くことの重要性と、ローカルと GitHub " -"の両方でテストを実行するためのインフラストラクチャの設定方法について学びます。" +"このセクションでは、Python パッケージのテストを書くことの重要性、考慮すべき[テストの種類](test-" +"types)、そしてテストを[ローカル](run-tests)でも [GitHub](tests-ci) " +"上でも実行できるインフラストラクチャの設定方法について学びます。" #: ../../tests/index.md:16 msgid "✨ Why write tests ✨" msgstr "✨テストを書く理由✨" #: ../../tests/index.md:21 -#, fuzzy msgid "" -"Learn about the importance of writing tests for your Python package and how" -" they help you and potential contributors." -msgstr "" -"Python パッケージのテストを書く技術についてもっと学びましょう。 " -"なぜテストを書く必要があるのか、そしてテストがどのようにあなたやあなたのプロジェクトへの将来の貢献者の助けになるのかを学びましょう。" +"Learn about the importance of writing tests for your Python package and how " +"they help you and potential contributors." +msgstr "Python パッケージのテストを書くことの重要性と、テストがあなたや潜在的な貢献者にどのように役立つかについて学びます。" #: ../../tests/index.md:25 msgid "✨ Types of tests ✨" @@ -289,7 +275,8 @@ msgstr "✨テストの種類✨" msgid "" "Get to know the three test types: unit, integration, and end-to-end tests. " "Learn when and how to use each." -msgstr "単体テスト、統合テスト、エンドツーエンド テストの 3 つのテスト タイプについて理解します。それぞれをいつどのように使用するかを学びます。" +msgstr "" +"単体テスト、統合テスト、エンドツーエンド テストの 3 つのテスト タイプについて理解します。それぞれをいつどのように使用するかを学びます。" #: ../../tests/index.md:34 msgid "✨ Run tests locally ✨" @@ -306,14 +293,13 @@ msgstr "" "バージョン間でテストを実行する例を調べてください。" #: ../../tests/index.md:43 -#, fuzzy msgid "✨ Run tests locally (using nox) ✨" -msgstr "✨オンラインでテストを実行する(CIを使用する)✨" +msgstr "✨ Nox を使ってローカルでテストを実行 ✨" #: ../../tests/index.md:48 msgid "" -"Nox is a python powered task runner that can be used to run tests. Learn " -"how to use nox to run tests." +"Nox is a python powered task runner that can be used to run tests. Learn how" +" to use nox to run tests." msgstr "Nox は、テストの実行に使用できる Python を利用したタスク ランナーです。 nox を使用してテストを実行する方法を学びます。" #: ../../tests/index.md:51 @@ -322,14 +308,13 @@ msgstr "✨オンラインでテストを実行する(CIを使用する)✨" #: ../../tests/index.md:56 msgid "" -"Set up continuous integration with GitHub Actions to run tests across " -"Python versions and operating systems." +"Set up continuous integration with GitHub Actions to run tests across Python" +" versions and operating systems." msgstr "GitHub Actions との継続的統合を設定して、Python のバージョンとオペレーティング システム間でテストを実行します。" #: ../../tests/index.md:60 -#, fuzzy msgid "✨ Code coverage ✨" -msgstr "コードカバレッジ" +msgstr "✨ コードカバレッジ ✨" #: ../../tests/index.md:65 msgid "" @@ -338,15 +323,14 @@ msgid "" msgstr "テスト中に実行されるパッケージ コードの量を測定します。ローカル レポートを生成し、オンラインでカバレッジを視覚化する方法を学びます。" #: ../../tests/run-tests.md:7 -#, fuzzy msgid "Run tests for your Python package" -msgstr "Pythonパッケージのテストを書く" +msgstr "Python パッケージのテストを実行する" #: ../../tests/run-tests.md:9 msgid "" -"Running your tests across different Python versions and operating systems " -"is critical to ensuring your package works for your users. Your users may " -"be running different versions of Python and operating systems than you are." +"Running your tests across different Python versions and operating systems is" +" critical to ensuring your package works for your users. Your users may be " +"running different versions of Python and operating systems than you are." msgstr "" "パッケージがユーザーに対して確実に動作するようにするには、さまざまな Python バージョンおよびオペレーティング " "システム間でテストを実行することが重要です。ユーザーは、あなたとは異なるバージョンの Python やオペレーティング " @@ -354,11 +338,11 @@ msgstr "" #: ../../tests/run-tests.md:13 msgid "" -"This page teaches you how to run tests locally in isolated environments and" -" across multiple Python versions. You'll learn about two main automation " +"This page teaches you how to run tests locally in isolated environments and " +"across multiple Python versions. You'll learn about two main automation " "tools: [**Hatch**](https://hatch.pypa.io/) and " -"[**Nox**](https://nox.thea.codes/en/stable/index.html). In the next lesson," -" you will learn about running your tests online in [continuous integration " +"[**Nox**](https://nox.thea.codes/en/stable/index.html). In the next lesson, " +"you will learn about running your tests online in [continuous integration " "(CI)](tests-ci)." msgstr "" "このページでは、隔離された環境でローカルにテストを実行し、複数の Python バージョンにわたってテストを実行する方法を説明します。 " @@ -368,15 +352,14 @@ msgstr "" "でオンラインでテストを実行する方法を学習します。" #: ../../tests/run-tests.md:20 -#, fuzzy msgid "Why run tests across multiple environments?" -msgstr "隔離された環境でのテストの実行" +msgstr "複数の環境でテストを実行する理由は?" #: ../../tests/run-tests.md:22 msgid "" "When you develop a package on your computer, it works in one specific " -"environment: your Python version, your operating system, and your installed" -" dependencies. Your users, however, will run your code in many different " +"environment: your Python version, your operating system, and your installed " +"dependencies. Your users, however, will run your code in many different " "environments. By running your tests across multiple Python versions and " "operating systems, you catch compatibility issues before users do." msgstr "" @@ -386,32 +369,34 @@ msgstr "" #: ../../tests/run-tests.md:28 msgid "" -"Additionally, running tests in isolated environments ensures that your " -"tests pass because of your code, not because of unexpected dependencies " -"installed on your computer. This gives you confidence that your package " -"will work when others install it." -msgstr "さらに、隔離された環境でテストを実行すると、コンピューターに予期しない依存関係がインストールされているためではなく、コードによってテストが合格することが保証されます。これにより、他の人がインストールしたときに自分のパッケージが動作するという確信が得られます。" +"Additionally, running tests in isolated environments ensures that your tests" +" pass because of your code, not because of unexpected dependencies installed" +" on your computer. This gives you confidence that your package will work " +"when others install it." +msgstr "" +"さらに、隔離された環境でテストを実行すると、コンピューターに予期しない依存関係がインストールされているためではなく、コードによってテストが合格することが保証されます。これにより、他の人がインストールしたときに自分のパッケージが動作するという確信が得られます。" #: ../../tests/run-tests.md:33 msgid "" "On this page, you will learn about the tools that you can use to both run " "tests in isolated environments and across Python versions." -msgstr "このページでは、隔離された環境でテストを実行したり、Python のバージョンを越えてテストを実行したりするために使えるツールについて学びます。" +msgstr "" +"このページでは、隔離された環境でテストを実行したり、Python のバージョンを越えてテストを実行したりするために使えるツールについて学びます。" #: ../../tests/run-tests.md:37 msgid "**Related pages:**" msgstr "**関連ページ:**" #: ../../tests/run-tests.md:39 -msgid "[Write tests](write-tests.md) for best practices on writing test suites" +msgid "" +"[Write tests](write-tests.md) for best practices on writing test suites" msgstr "テスト スイートの作成に関するベスト プラクティスについては、[テストの作成](write-tests.md)" #: ../../tests/run-tests.md:41 -#, fuzzy msgid "" -"[Test types](test-types.md) to understand unit, integration, and end-to-end" -" tests" -msgstr "ユニットテスト、統合テスト、エンドツーエンドテストの比較" +"[Test types](test-types.md) to understand unit, integration, and end-to-end " +"tests" +msgstr "[テストの種類](test-types.md) で単体テスト、統合テスト、エンドツーエンドテストを理解する" #: ../../tests/run-tests.md:43 msgid "[Run tests online with CI](tests-ci.md) for GitHub Actions setup" @@ -422,33 +407,29 @@ msgid "[Code coverage](code-cov.md) to measure how much code your tests cover" msgstr "[コード カバレッジ](code-cov.md) は、テストがカバーするコードの量を測定します。" #: ../../tests/run-tests.md:48 -#, fuzzy msgid "Tools to run your tests" msgstr "テストを実行するためのツール" #: ../../tests/run-tests.md:50 -#, fuzzy msgid "" "There are three categories of tools that will make it easier to setup and " "run your tests in various environments:" -msgstr "さまざまな環境でのテストのセットアップと実行を容易にするツールには、3つのカテゴリーがあります:" +msgstr "さまざまな環境でテストのセットアップと実行を容易にするツールには、3つのカテゴリーがあります:" #: ../../tests/run-tests.md:53 -#, fuzzy msgid "" "**Testing framework (pytest):** Provides the syntax and tools for writing " "and running your tests. Learn more from the [pytest " -"documentation](https://docs.pytest.org/). Below you will learn about " -"pytest, the most commonly used testing framework in the scientific Python " +"documentation](https://docs.pytest.org/). Below you will learn about pytest," +" the most commonly used testing framework in the scientific Python " "ecosystem. Testing frameworks are essential for running tests, but they " -"don't provide an easy way to run tests across Python versions or in " -"isolated environments—that's where automation tools come in." +"don't provide an easy way to run tests across Python versions or in isolated" +" environments—that's where automation tools come in." msgstr "" -"**テストフレームワーク** とは、テストを書いたり実行したりするための特定の構文やツールのセットを提供するパッケージのことです。 " -"いくつかのテストフレームワークにはプラグインがあり、テストがカバーするコードの範囲を評価するなどの機能を追加することができます。 " -"以下では、科学的なエコシステムで最もよく使われている Python テストフレームワークの一つである **pytest** " -"フレームワークについて学びます。 テストフレームワークは必要不可欠ですが、テストを実行するためだけのものです。 " -"これらのフレームワークは、追加の自動化ツールの助けを借りずに Python のバージョンをまたいだテストを簡単に実行する方法は提供しません。" +"**テストフレームワーク (pytest):** テストを書いて実行するための構文とツールを提供します。詳しくは [pytest " +"ドキュメント](https://docs.pytest.org/) を参照してください。以下では、科学 Python " +"エコシステムで最もよく使われているテストフレームワークである pytest について学びます。テストフレームワークはテストの実行に不可欠ですが、複数の " +"Python バージョンや隔離された環境でテストを簡単に実行する方法は提供していません。そこで登場するのが自動化ツールです。" #: ../../tests/run-tests.md:61 msgid "" @@ -456,8 +437,8 @@ msgid "" "environments and across multiple Python versions with a single command. We " "focus on [**Hatch**](https://hatch.pypa.io/) and " "[**Nox**](https://nox.thea.codes/) below. These tools create virtual " -"environments automatically and ensure your tests run consistently. However," -" they typically only test on your local operating system." +"environments automatically and ensure your tests run consistently. However, " +"they typically only test on your local operating system." msgstr "" "**自動化ツール (Nox、Tox、Hatch):** 単一のコマンドで、隔離された環境で複数の Python " "バージョンにわたってテストを実行できます。以下では、[**Hatch**](https://hatch.pypa.io/) と " @@ -485,16 +466,16 @@ msgid "Quick comparison: what each tool does" msgstr "簡単な比較: 各ツールの機能" #: ../../tests/run-tests.md:78 -#, fuzzy msgid "**Testing Framework (pytest):**" -msgstr "テストフレームワーク (pytest)" +msgstr "**テストフレームワーク (pytest):**" #: ../../tests/run-tests.md:80 msgid "Runs your tests locally in your current Python environment" msgstr "現在の Python 環境でローカルにテストを実行します" #: ../../tests/run-tests.md:81 -msgid "Provides the core syntax for writing tests (assertions, fixtures, etc.)" +msgid "" +"Provides the core syntax for writing tests (assertions, fixtures, etc.)" msgstr "テスト (アサーション、フィクスチャなど) を作成するためのコア構文を提供します。" #: ../../tests/run-tests.md:83 @@ -502,14 +483,12 @@ msgid "Can be extended with plugins (like pytest-cov for coverage)" msgstr "プラグインで拡張可能 (カバレッジ用の pytest-cov など)" #: ../../tests/run-tests.md:85 -#, fuzzy msgid "**Automation Tools (Nox, Tox, Hatch):**" -msgstr "自動化ツール(Nox)" +msgstr "**自動化ツール (Nox、Tox、Hatch):**" #: ../../tests/run-tests.md:87 -#, fuzzy msgid "Run tests locally across multiple Python versions" -msgstr "Pythonのバージョンにまたがってテストを実行する" +msgstr "ローカルで複数の Python バージョンにまたがってテストを実行する" #: ../../tests/run-tests.md:88 msgid "Create and manage isolated virtual environments automatically" @@ -524,23 +503,20 @@ msgid "Make it easy to reproduce test environments" msgstr "テスト環境を簡単に再現できるようにする" #: ../../tests/run-tests.md:92 -#, fuzzy msgid "**Continuous Integration (GitHub Actions):**" -msgstr "継続的インテグレーション(GitHub Actions)" +msgstr "**継続的インテグレーション (GitHub Actions):**" #: ../../tests/run-tests.md:94 msgid "Runs tests online automatically for every pull request" msgstr "プルリクエストごとにオンラインでテストを自動的に実行します" #: ../../tests/run-tests.md:95 -#, fuzzy msgid "Tests across different operating systems (Windows, Mac, Linux)" -msgstr "オペレーティングシステム(Windows、MacOS、Linux)にまたがるテストの実行" +msgstr "さまざまなオペレーティングシステム (Windows、Mac、Linux) にまたがるテスト" #: ../../tests/run-tests.md:96 -#, fuzzy msgid "Tests across multiple Python versions in parallel" -msgstr "Pythonのバージョンにまたがってテストを実行する" +msgstr "複数の Python バージョンのテストを並行して実行する" #: ../../tests/run-tests.md:97 msgid "Can automate deployments, releases, and other workflows" @@ -567,15 +543,14 @@ msgstr "" "には、以下のような機能を追加するために使用できる多くの拡張機能もあります:" #: ../../tests/run-tests.md:106 -#, fuzzy msgid "" "[pytest-cov](https://pytest-cov.readthedocs.io/en/latest/) allows you to " -"analyze the code coverage of your package during your tests, and generates " -"a report that you can [upload to codecov](https://about.codecov.io/)." +"analyze the code coverage of your package during your tests, and generates a" +" report that you can [upload to codecov](https://about.codecov.io/)." msgstr "" "[pytest-cov](https://pytest-cov.readthedocs.io/en/latest/) " -"を使うと、テスト中にパッケージのコードカバレッジを分析し、 [codecov](https://codecov.io/) " -"にアップロードできるレポートを生成することができます。" +"を使うと、テスト中にパッケージのコードカバレッジを分析し、[codecov " +"にアップロード](https://about.codecov.io/)できるレポートを生成できます。" #: ../../tests/run-tests.md:108 ../../tests/tests-ci.md:7 msgid "Todo" @@ -587,8 +562,8 @@ msgstr "コードカバレッジについてはこちらをご覧ください。 #: ../../tests/run-tests.md:113 msgid "" -"Your editor or IDE may add additional convenience for running tests, " -"setting breakpoints, and toggling the `–no-cov` flag. Check your editor's " +"Your editor or IDE may add additional convenience for running tests, setting" +" breakpoints, and toggling the `–no-cov` flag. Check your editor's " "documentation for more information." msgstr "" "お使いのエディタや IDE には、テストを実行したり、ブレークポイントを設定したり、 `-no-cov` " @@ -599,7 +574,8 @@ msgid "Run tests using pytest" msgstr "pytest を使ってテストを実行する" #: ../../tests/run-tests.md:118 -msgid "If you are using **pytest**, you can run your tests locally by calling:" +msgid "" +"If you are using **pytest**, you can run your tests locally by calling:" msgstr "**pytest** を使用している場合、テストをローカルで実行することができます:" #: ../../tests/run-tests.md:121 @@ -610,27 +586,27 @@ msgstr "`pytest`" msgid "" "Or if you want to run a specific test file - let's call this file " "\"`test_module.py`\" - you can run:" -msgstr "また、特定のテストファイル - このファイルを \"`test_module.py`\" と呼ぶことにします - を実行したい場合は、次のようにします:" +msgstr "" +"また、特定のテストファイル - このファイルを \"`test_module.py`\" と呼ぶことにします - を実行したい場合は、次のようにします:" #: ../../tests/run-tests.md:125 msgid "`pytest test_module.py`" msgstr "`pytest test_module.py`" #: ../../tests/run-tests.md:127 -#, fuzzy msgid "" "Learn more about pytest [here](https://docs.pytest.org/en/stable/getting-" "started.html)." msgstr "" -"詳しくは [ドキュメントスタートガイド](https://docs.pytest.org/en/7.1.x/getting-started.html)" -" をご覧ください。" +"pytest について詳しくは[こちら](https://docs.pytest.org/en/stable/getting-" +"started.html)をご覧ください。" #: ../../tests/run-tests.md:129 msgid "" "Running pytest on your computer is going to run your tests in whatever " -"Python environment you currently have activated. This means that tests will" -" be run on a single version of Python and only on the operating system that" -" you are running locally." +"Python environment you currently have activated. This means that tests will " +"be run on a single version of Python and only on the operating system that " +"you are running locally." msgstr "" "あなたのコンピュータで pytest を実行すると、現在有効になっている Python 環境でテストが実行されます。 " "つまり、テストは単一のバージョンのPythonで、ローカルで実行しているオペレーティングシステム上でのみ実行されます。" @@ -646,13 +622,11 @@ msgid "Tests across operating systems" msgstr "オペレーティングシステムをまたいだテスト" #: ../../tests/run-tests.md:138 -#, fuzzy msgid "" "If you want to run your tests on different operating systems you can use " "continuous integration. [Learn more here](tests-ci)." msgstr "" -"異なるオペレーティングシステム間でテストを実行したい場合は、 [継続的インテグレーション。 詳細はこちら](tests-ci) " -"を使用することができます。" +"異なるオペレーティングシステムでテストを実行したい場合は、継続的インテグレーションを利用できます。[詳しくはこちら](tests-ci)をご覧ください。" #: ../../tests/run-tests.md:141 msgid "Tools to automate running your tests" @@ -660,11 +634,11 @@ msgstr "テストの実行を自動化するツール" #: ../../tests/run-tests.md:143 msgid "" -"To run tests on various Python versions or in various specific environments" -" with a single command, you can use an automation tool such as `nox` or " +"To run tests on various Python versions or in various specific environments " +"with a single command, you can use an automation tool such as `nox` or " "`tox`. Both `nox` and `tox` can create an isolated virtual environments. " -"This allows you to easily run your tests in multiple environments and " -"across Python versions." +"This allows you to easily run your tests in multiple environments and across" +" Python versions." msgstr "" "一つのコマンドで様々な Python のバージョンや特定の環境でテストを実行するには、 `nox` や `tox` " "のような自動化ツールを使うことができます。 `nox` も `tox` も、隔離された仮想環境を作成することができます。 これにより、複数の環境や " @@ -672,16 +646,15 @@ msgstr "" #: ../../tests/run-tests.md:146 msgid "" -"We will focus on Hatch on this page as Hatch is the default tool that we " -"use in our [tutorials](create-pure-python-package) and for our [Python " -"package template](https://github.com/pyOpenSci/pyos-package-template)." +"We will focus on Hatch on this page as Hatch is the default tool that we use" +" in our [tutorials](create-pure-python-package) and for our [Python package " +"template](https://github.com/pyOpenSci/pyos-package-template)." msgstr "" "Hatch は [チュートリアル](create-pure-python-package) および [Python パッケージ " "テンプレート](https://github.com/pyOpenSci/pyos-package-template) で使用するデフォルト " "ツールであるため、このページでは Hatch に焦点を当てます。" #: ../../tests/run-tests.md:149 -#, fuzzy msgid "" "If you are not a hatch fan, then [Nox](https://nox.thea.codes/) is an " "alternative tool that we cover in the next lesson. `nox` is a Python-based " @@ -691,10 +664,10 @@ msgid "" "Python-based interface. You will learn more about using nox [here](run-" "tests-nox)." msgstr "" -"このガイドでは、 [Nox](https://nox.thea.codes/) に焦点を当てます。 `nox` は Python " -"ベースの自動化ツールで、 `make` と `tox` の機能をベースにしています。 `nox` " -"はテストと開発のワークフローを簡素化し、効率化するように設計されています。 `nox` " -"で行うことはすべて、Pythonベースのインターフェースを使って実装することができます。" +"Hatch が好みでない場合は、次のレッスンで取り上げる [Nox](https://nox.thea.codes/) が代替ツールです。`nox` は" +" Python ベースの自動化ツールで、`make` と `tox` の両方の機能をベースにしています。`nox` " +"はテストと開発のワークフローを簡素化し、効率化するように設計されています。`nox` で行うことはすべて、Python " +"ベースのインターフェースを使って実装できます。nox の使い方について詳しくは[こちら](run-tests-nox)で学べます。" #: ../../tests/run-tests.md:151 msgid "Other automation tools you'll see in the wild" @@ -710,41 +683,39 @@ msgstr "" "は自動化ツールで、ドキュメントのビルドや、Pythonの様々なバージョン間でのテストの実行など、一般的なステップをサポートしています。" #: ../../tests/run-tests.md:159 -#, fuzzy msgid "" "**[Make](https://www.gnu.org/software/make/manual/make.html)** is a build " "automation tool that some developers use for running tests due to its " -"versatility. However, Make's unique syntax can be challenging to learn, and" -" it won't manage environments for you like Hatch and Nox do." +"versatility. However, Make's unique syntax can be challenging to learn, and " +"it won't manage environments for you like Hatch and Nox do." msgstr "" -"[**make:**](https://www.gnu.org/software/make/manual/make.html) " -"ビルド自動化ツールであるMakeは汎用性が高いため、テストの実行に使う開発者もいます; " -"特定の言語に縛られることなく、さまざまなビルドプロセスを実行するために使うことができます。しかし、Makeのユニークな構文とアプローチは、特にあなたがまだMakeに慣れていない場合、習得を難しくする可能性があります。Makeはまた、" -" **nox** がやってくれるような環境管理もしてくれません。" +"**[Make](https://www.gnu.org/software/make/manual/make.html)** " +"はビルド自動化ツールで、その汎用性の高さからテストの実行に使う開発者もいます。しかし、Make の独特な構文は習得が難しく、Hatch や Nox " +"のような環境管理は行ってくれません。" #: ../../tests/run-tests.md:166 -#, fuzzy msgid "Run tests with Hatch" -msgstr "pytest を使ってテストを実行する" +msgstr "Hatch でテストを実行する" #: ../../tests/run-tests.md:168 msgid "" "**Hatch** is a modern Python packaging and environment manager that " "integrates test running capabilities directly into your `pyproject.toml`. " "Unlike Nox (which uses a separate `noxfile.py`), Hatch keeps all your " -"project configuration in one place, making it ideal if you're already using" -" Hatch for packaging workflows." +"project configuration in one place, making it ideal if you're already using " +"Hatch for packaging workflows." msgstr "" "**Hatch** は、テスト実行機能を `pyproject.toml` に直接統合する、最新の Python " -"パッケージングおよび環境マネージャーです。 Nox (別の `noxfile.py` を使用する) とは異なり、Hatch " -"はすべてのプロジェクト構成を 1 か所に保持するため、ワークフローのパッケージ化にすでに Hatch を使用している場合に最適です。" +"パッケージングおよび環境マネージャーです。 Nox (別の `noxfile.py` を使用する) とは異なり、Hatch はすべてのプロジェクト構成を" +" 1 か所に保持するため、ワークフローのパッケージ化にすでに Hatch を使用している場合に最適です。" #: ../../tests/run-tests.md:174 msgid "Why Hatch for testing?" msgstr "なぜテストのためにハッチするのか?" #: ../../tests/run-tests.md:176 -msgid "Configuration lives in `pyproject.toml` alongside your project metadata" +msgid "" +"Configuration lives in `pyproject.toml` alongside your project metadata" msgstr "設定はプロジェクトのメタデータとともに `pyproject.toml` に保存されます" #: ../../tests/run-tests.md:178 @@ -760,9 +731,8 @@ msgid "Easy to share standardized test environments across your team" msgstr "標準化されたテスト環境をチーム全体で簡単に共有" #: ../../tests/run-tests.md:182 -#, fuzzy msgid "Setting up Hatch environments" -msgstr "テスト環境" +msgstr "Hatch 環境のセットアップ" #: ../../tests/run-tests.md:184 msgid "" @@ -795,18 +765,16 @@ msgid "" msgstr "テスト環境を定義したら、簡単なコマンドでテストを実行できます。" #: ../../tests/run-tests.md:215 -#, fuzzy msgid "**List available environments:**" -msgstr "テスト環境" +msgstr "**利用可能な環境の一覧表示:**" #: ../../tests/run-tests.md:221 msgid "**Run pytest in the test environment:**" msgstr "**テスト環境で pytest を実行します:**" #: ../../tests/run-tests.md:228 -#, fuzzy msgid "Testing across Python versions" -msgstr "Pythonのバージョンにまたがってテストを実行する" +msgstr "複数の Python バージョンにまたがるテスト" #: ../../tests/run-tests.md:230 msgid "" @@ -831,7 +799,8 @@ msgid "Using Hatch in GitHub Actions" msgstr "GitHub アクションでのハッチの使用" #: ../../tests/run-tests.md:264 -msgid "Hatch integrates well with CI/CD. Here's a minimal GitHub Actions setup:" +msgid "" +"Hatch integrates well with CI/CD. Here's a minimal GitHub Actions setup:" msgstr "ハッチは CI/CD とうまく統合されます。最小限の GitHub Actions セットアップは次のとおりです。" #: ../../tests/run-tests.md:288 @@ -849,9 +818,9 @@ msgstr "Nox と Hatch: 適切なツールの選択" #: ../../tests/run-tests.md:294 msgid "" -"Both Hatch and Nox are excellent automation tools / task runners for " -"running tests across Python versions. Here's how they compare to help you " -"decide which fits your workflow:" +"Both Hatch and Nox are excellent automation tools / task runners for running" +" tests across Python versions. Here's how they compare to help you decide " +"which fits your workflow:" msgstr "" "Hatch と Nox は両方とも、Python バージョン間でテストを実行するための優れた自動化ツール/タスク " "ランナーです。どちらがワークフローに適しているかを判断するために、これらを比較する方法は次のとおりです。" @@ -863,8 +832,8 @@ msgstr "ハッチ" #: ../../tests/run-tests.md:300 msgid "" "**Configuration:** Hatch uses a `declarative` configuration approach. You " -"tell it what goes into an environment and that empowers Hatch to create the" -" environment for you. All configuration settings live in your " +"tell it what goes into an environment and that empowers Hatch to create the " +"environment for you. All configuration settings live in your " "`pyproject.toml` alongside your project metadata" msgstr "" "**構成:** Hatch は「宣言的」構成アプローチを使用します。環境に何が入るかを伝えると、Hatch " @@ -888,9 +857,9 @@ msgstr "**学習曲線:** コードベースのワークフローよりも宣言 #: ../../tests/run-tests.md:304 msgid "" "**packaging scope** Hatch is better for simpler workflows that focus on " -"testing and packaging. If you have more complex builds or are creating a " -"non pure python package you might prefer Nox. The scientific Python " -"development guide has more details on this." +"testing and packaging. If you have more complex builds or are creating a non" +" pure python package you might prefer Nox. The scientific Python development" +" guide has more details on this." msgstr "" "**パッケージ化の範囲** Hatch " "は、テストとパッケージ化に重点を置いた単純なワークフローに適しています。より複雑なビルドを使用している場合、または非純粋な Python " @@ -907,7 +876,8 @@ msgid "Nox" msgstr "ノックス" #: ../../tests/run-tests.md:310 -msgid "**Configuration:** Python-driven via `noxfile.py` for maximum flexibility" +msgid "" +"**Configuration:** Python-driven via `noxfile.py` for maximum flexibility" msgstr "**構成:** 最大限の柔軟性を実現する「noxfile.py」経由の Python 駆動" #: ../../tests/run-tests.md:311 @@ -932,17 +902,18 @@ msgstr "私たちが推奨するもの" #: ../../tests/run-tests.md:319 msgid "" -"**If you're using Hatch for packaging:** Use Hatch for testing too. You get" -" everything in one place and one consistent tool." +"**If you're using Hatch for packaging:** Use Hatch for testing too. You get " +"everything in one place and one consistent tool." msgstr "" "**パッケージ化に Hatch を使用している場合:** テストにも Hatch を使用します。すべてを 1 か所で、一貫した 1 " "つのツールで入手できます。" #: ../../tests/run-tests.md:322 msgid "" -"**If you need maximum flexibility:** Choose Nox. Its Python-driven approach" -" lets you implement almost any workflow." -msgstr "**最大限の柔軟性が必要な場合:** Nox を選択してください。 Python ベースのアプローチにより、ほぼすべてのワークフローを実装できます。" +"**If you need maximum flexibility:** Choose Nox. Its Python-driven approach " +"lets you implement almost any workflow." +msgstr "" +"**最大限の柔軟性が必要な場合:** Nox を選択してください。 Python ベースのアプローチにより、ほぼすべてのワークフローを実装できます。" #: ../../tests/run-tests.md:325 msgid "" @@ -962,24 +933,24 @@ msgstr "" #: ../../tests/run-tests.md:334 msgid "" -"Now that you understand how to run tests locally across Python versions, " -"you can learn about [running tests automatically in GitHub Actions with " +"Now that you understand how to run tests locally across Python versions, you" +" can learn about [running tests automatically in GitHub Actions with " "continuous integration](tests-ci). You can also review [test types](test-" "types) and [write tests](write-tests) for your package." msgstr "" "Python のバージョン間でテストをローカルで実行する方法を理解したので、[継続的インテグレーションを使用した GitHub Actions " -"でのテストの自動実行](tests-ci) について学習できます。パッケージの [テスト タイプ](test-types) および [書き込みテスト" -"](write-tests) を確認することもできます。" +"でのテストの自動実行](tests-ci) について学習できます。パッケージの [テスト タイプ](test-types) および " +"[書き込みテスト](write-tests) を確認することもできます。" #: ../../tests/run-tests-nox.md:9 msgid "" -"**Nox** is a Python-based automation tool for running tests across multiple" -" Python versions and managing isolated test environments. If you prefer " -"Python-driven configuration over TOML, or need complex automation " -"workflows, Nox is an excellent choice." +"**Nox** is a Python-based automation tool for running tests across multiple " +"Python versions and managing isolated test environments. If you prefer " +"Python-driven configuration over TOML, or need complex automation workflows," +" Nox is an excellent choice." msgstr "" -"**Nox** は、複数の Python バージョン間でテストを実行し、分離されたテスト環境を管理するための Python ベースの自動化ツールです。" -" TOML よりも Python ベースの構成を好む場合、または複雑な自動化ワークフローが必要な場合は、Nox が最適な選択肢です。" +"**Nox** は、複数の Python バージョン間でテストを実行し、分離されたテスト環境を管理するための Python ベースの自動化ツールです。 " +"TOML よりも Python ベースの構成を好む場合、または複雑な自動化ワークフローが必要な場合は、Nox が最適な選択肢です。" #: ../../tests/run-tests-nox.md:14 msgid "" @@ -987,27 +958,24 @@ msgid "" "documentation](https://nox.thea.codes/) or the [Scientific Python guide to " "testing](https://scientific-python.org/tools/testing)." msgstr "" -"Nox の詳細については、[公式 Nox ドキュメント](https://nox.thea.codes/) または [Scientific " -"Python テスト ガイド](https://scientific-python.org/tools/testing) を参照してください。" +"Nox の詳細については、[公式 Nox ドキュメント](https://nox.thea.codes/) または [Scientific Python" +" テスト ガイド](https://scientific-python.org/tools/testing) を参照してください。" #: ../../tests/run-tests-nox.md:18 msgid "Why Nox?" msgstr "なぜノックスなのか?" #: ../../tests/run-tests-nox.md:20 -#, fuzzy msgid "**Nox** is a great automation tool because it:" -msgstr "**Nox** は素晴らしい自動化ツールです:" +msgstr "**Nox** が優れた自動化ツールである理由は次のとおりです:" #: ../../tests/run-tests-nox.md:22 -#, fuzzy msgid "Is Python-based, making it accessible if you already know Python" -msgstr "Pythonベースですので、Pythonをすでに知っていれば利用しやすいです。" +msgstr "Python ベースなので、Python をすでに知っていれば利用しやすい" #: ../../tests/run-tests-nox.md:23 -#, fuzzy msgid "Will create isolated environments to run workflows" -msgstr "ワークフローを実行するための隔離された環境を構築します。" +msgstr "ワークフローを実行するための隔離された環境を作成する" #: ../../tests/run-tests-nox.md:24 msgid "Supports complex, custom automation beyond standard testing" @@ -1018,156 +986,144 @@ msgid "Is flexible and powerful for intricate build and test scenarios" msgstr "複雑なビルドおよびテストのシナリオに柔軟かつ強力です" #: ../../tests/run-tests-nox.md:27 -#, fuzzy msgid "" -"`nox` simplifies creating and managing testing environments. With `nox`, " -"you can set up virtual environments and run tests across Python versions " -"using the environment manager of your choice with a single command." +"`nox` simplifies creating and managing testing environments. With `nox`, you" +" can set up virtual environments and run tests across Python versions using " +"the environment manager of your choice with a single command." msgstr "" -"`nox` はテスト環境の作成と管理を簡単にします。 `nox` を使うと、仮想環境をセットアップし、好きな環境マネージャを使って Python " -"のバージョンをまたいだテストをコマンド一つで実行することができます。" +"`nox` はテスト環境の作成と管理を簡単にします。`nox` を使うと、仮想環境をセットアップし、好みの環境マネージャを使って Python " +"のバージョンをまたいだテストをコマンド一つで実行できます。" #: ../../tests/run-tests-nox.md:31 msgid "Set up Nox" msgstr "Noxをセットアップする" #: ../../tests/run-tests-nox.md:33 -#, fuzzy msgid "" -"To get started with Nox, you create a `noxfile.py` file at the root of your" -" project directory. You then define commands using Python functions." +"To get started with Nox, you create a `noxfile.py` file at the root of your " +"project directory. You then define commands using Python functions." msgstr "" -"noxを使い始めるには、プロジェクトディレクトリのルートに `noxfile.py` ファイルを作成します。 " -"そして、Pythonの関数を使ってコマンドを定義します。 以下にその例をいくつか挙ます。" +"Nox を使い始めるには、プロジェクトディレクトリのルートに `noxfile.py` ファイルを作成します。そして、Python " +"の関数を使ってコマンドを定義します。" #: ../../tests/run-tests-nox.md:37 -#, fuzzy msgid "Nox installations" -msgstr "Noxのインストール" +msgstr "Nox のインストール" #: ../../tests/run-tests-nox.md:39 -#, fuzzy msgid "" -"When you install and use Nox to run tests across different Python versions," -" Nox will create and manage individual `venv` environments for each Python " +"When you install and use Nox to run tests across different Python versions, " +"Nox will create and manage individual `venv` environments for each Python " "version that you specify in the Nox function. Nox will manage each " "environment on its own." msgstr "" -"異なる Python バージョン間でテストを実行するために nox をインストールして使用する場合、nox は nox 関数で指定した Python " -"バージョンごとに個別の `venv` 環境を作成して管理します。" +"異なる Python バージョン間でテストを実行するために Nox をインストールして使用する場合、Nox は Nox 関数で指定した Python " +"バージョンごとに個別の `venv` 環境を作成して管理します。Nox は各環境をそれぞれ独立して管理します。" #: ../../tests/run-tests-nox.md:45 -#, fuzzy msgid "" "Nox can also be used for other development tasks such as building " -"documentation, creating your package distribution, and testing " -"installations across both PyPI-related environments (e.g., venv, " -"virtualenv) and `conda` (e.g., `conda-forge`)." +"documentation, creating your package distribution, and testing installations" +" across both PyPI-related environments (e.g., venv, virtualenv) and `conda` " +"(e.g., `conda-forge`)." msgstr "" -"nox は、ドキュメントのビルド、パッケージ配布の作成、PyPI 関連の環境 (venv や virtualenv など) と `conda` " -"(conda-forge` など) の両方にわたるインストールのテストなど、その他の開発作業にも使用できます。" +"Nox は、ドキュメントのビルド、パッケージ配布物の作成、PyPI 関連の環境 (venv や virtualenv など) と `conda` " +"(`conda-forge` など) の両方にわたるインストールのテストなど、その他の開発タスクにも使用できます。" #: ../../tests/run-tests-nox.md:50 -#, fuzzy msgid "Test environments" msgstr "テスト環境" #: ../../tests/run-tests-nox.md:52 -#, fuzzy msgid "" "By default, `nox` uses Python's built-in `venv` environment manager. A " "virtual environment (`venv`) is a self-contained Python environment that " -"allows you to isolate and manage dependencies for different Python " -"projects. It helps ensure that project-specific libraries and packages do " -"not interfere with each other, promoting a clean and organized development " +"allows you to isolate and manage dependencies for different Python projects." +" It helps ensure that project-specific libraries and packages do not " +"interfere with each other, promoting a clean and organized development " "environment." msgstr "" -"デフォルトでは、 `nox` は Python 組み込みの `venv` 環境マネージャを使用します。 仮想環境 (`venv`) は自己完結型の " -"Python 環境で、異なる Python プロジェクトの依存関係を分離して管理することができます。 " -"プロジェクト固有のライブラリやパッケージが互いに干渉しないようにし、クリーンで整理された開発環境を促進します。" +"デフォルトでは、`nox` は Python 組み込みの `venv` 環境マネージャを使用します。仮想環境 (`venv`) は自己完結型の " +"Python 環境で、異なる Python " +"プロジェクトの依存関係を分離して管理できます。プロジェクト固有のライブラリやパッケージが互いに干渉しないようにし、クリーンで整理された開発環境を促進します。" #: ../../tests/run-tests-nox.md:58 msgid "Nox with venv environments" msgstr "venv環境のnox" #: ../../tests/run-tests-nox.md:60 -#, fuzzy msgid "" "Below is an example of setting up Nox to run tests using `venv`, which is " "the built-in environment manager that comes with base Python." -msgstr "以下は、Pythonに組み込まれている環境マネージャーである `venv` を使ってテストを実行するようにnoxをセットアップする例です。" +msgstr "" +"以下は、Python に組み込まれている環境マネージャーである `venv` を使ってテストを実行するように Nox をセットアップする例です。" #: ../../tests/run-tests-nox.md:63 -#, fuzzy msgid "" "Note that the example below assumes that you have setup your " "`pyproject.toml` to declare test dependencies using `project.optional-" "dependencies`:" msgstr "" -"以下の例では、 [pipが理解できる方法でテストの依存関係を宣言するように`pyproject.toml`をセットアップする](../package-" -"structure-code/declare-dependencies.md) ことを前提としていることに注意してください。 " -"そのセットアップの例を以下に示します。" +"以下の例では、`project.optional-dependencies` を使ってテストの依存関係を `pyproject.toml` " +"に宣言していることを前提としていることに注意してください:" #: ../../tests/run-tests-nox.md:83 -#, fuzzy msgid "" -"With this setup, you can use `session.install(\".[tests]\")` to install " -"your test dependencies. Notice that below one single Nox session allows you" -" to run your tests on 4 different Python environments (Python 3.9, 3.10, " -"3.11, and 3.12)." +"With this setup, you can use `session.install(\".[tests]\")` to install your" +" test dependencies. Notice that below one single Nox session allows you to " +"run your tests on 4 different Python environments (Python 3.9, 3.10, 3.11, " +"and 3.12)." msgstr "" -"上記の設定ができていれば、 `session.install(\".[tests]\")` を使ってテストの依存関係をインストールすることができます。" -" 以下のように、1つのnoxセッションで4つの異なるPython環境(Python " -"3.9、3.10、3.11、3.12)でテストを実行できることに注意してください。" +"この設定ができていれば、`session.install(\".[tests]\")` " +"を使ってテストの依存関係をインストールできます。以下のように、1つの Nox セッションで4つの異なる Python 環境 (Python " +"3.9、3.10、3.11、3.12) でテストを実行できることに注意してください。" #: ../../tests/run-tests-nox.md:89 msgid "" -"For this to run you will need to have python3.9, python3.10, python3.11, " -"and python3.12 installed on your computer. Otherwise nox will skip running " +"For this to run you will need to have python3.9, python3.10, python3.11, and" +" python3.12 installed on your computer. Otherwise nox will skip running " "tests for whatever versions are missing." msgstr "" "これを実行するには、コンピューターに python3.9、python3.10、python3.11、および python3.12 " "がインストールされている必要があります。それ以外の場合、nox は不足しているバージョンのテストの実行をスキップします。" #: ../../tests/run-tests-nox.md:107 -#, fuzzy msgid "" "Above you create a Nox session in the form of a function with a " "`@nox.session` decorator. Notice that within the decorator you declare the " "versions of Python that you wish to run." msgstr "" -"上の例では、 `@nox.session` デコレーターを使って関数の形で nox セッションを作成しています。 デコレータの中で、実行したい " -"python のバージョンを宣言していることに注意してください。" +"上の例では、`@nox.session` デコレーターを使って関数の形で Nox セッションを作成しています。デコレーターの中で、実行したい " +"Python のバージョンを宣言していることに注意してください。" #: ../../tests/run-tests-nox.md:111 -#, fuzzy msgid "" "To run the above, you'd execute the following command, specifying which " -"session with `--session` (sometimes shortened to `-s`). Your function above" -" is called `test`, therefore the session name is `test`:" +"session with `--session` (sometimes shortened to `-s`). Your function above " +"is called `test`, therefore the session name is `test`:" msgstr "" -"上記を実行するには、 `--session` ( `-s` " -"と短縮されることもある)でセッションを指定し、以下のコマンドを実行します。上記の関数はtestという名前なので、セッション名はtestです。" +"上記を実行するには、`--session` (`-s` と短縮されることもある) でセッションを指定し、以下のコマンドを実行します。上記の関数は " +"test という名前なので、セッション名は test です:" #: ../../tests/run-tests-nox.md:119 msgid "Nox with conda / mamba" msgstr "conda / mamba による nox" #: ../../tests/run-tests-nox.md:121 -#, fuzzy msgid "" "Below is an example for setting up Nox to use mamba (or conda) for your " "environment manager. Unlike venv, conda can automatically install the " -"various versions of Python that you need. You won't need to install all " -"four Python versions if you use conda/mamba, like you do with `venv`." +"various versions of Python that you need. You won't need to install all four" +" Python versions if you use conda/mamba, like you do with `venv`." msgstr "" -"以下は、noxが環境マネージャーにmamba(またはconda)を使うように設定する例です。venvと違って、condaは必要なPythonの様々なバージョンを自動的にインストールできることに注意してください。conda/mambaを使う場合は、" -" `venv` のように4つのPythonバージョンをインストールする必要はありません。" +"以下は、Nox が環境マネージャーに mamba (または conda) を使うように設定する例です。venv と違って、conda は必要な " +"Python のさまざまなバージョンを自動的にインストールできます。conda/mamba を使う場合は、`venv` のように4つの Python " +"バージョンをすべてインストールする必要はありません。" #: ../../tests/run-tests-nox.md:127 msgid "" -"For `conda` to work with `nox`, you will need to ensure that either `conda`" -" or `mamba` is installed on your computer." +"For `conda` to work with `nox`, you will need to ensure that either `conda` " +"or `mamba` is installed on your computer." msgstr "" "`nox` で `conda` を動作させるには、コンピュータに `conda` か `mamba` " "のどちらかがインストールされていることを確認する必要があります。" @@ -1202,13 +1158,14 @@ msgstr "**すでにパッケージングに Hatch を使用していて、すべ msgid "" "**Choose Nox** if you need maximum flexibility, prefer Python-driven " "configuration, or need complex automation workflows" -msgstr "**最大限の柔軟性が必要な場合、Python ベースの構成を好む場合、または複雑な自動化ワークフローが必要な場合は、Nox を選択してください**" +msgstr "" +"**最大限の柔軟性が必要な場合、Python ベースの構成を好む場合、または複雑な自動化ワークフローが必要な場合は、Nox を選択してください**" #: ../../tests/run-tests-nox.md:170 msgid "" "Now that you understand how to run tests locally with Nox, you can learn " -"about [running tests automatically with continuous integration](tests-ci) " -"or [running tests with Hatch](run-tests.md)." +"about [running tests automatically with continuous integration](tests-ci) or" +" [running tests with Hatch](run-tests.md)." msgstr "" "Nox を使用してローカルでテストを実行する方法を理解したので、[継続的インテグレーションを使用してテストを自動的に実行する](tests-ci) " "または [Hatch を使用してテストを実行する](run-tests.md) について学ぶことができます。" @@ -1218,7 +1175,6 @@ msgid "Test Types for Python packages" msgstr "Pythonパッケージのテストタイプ" #: ../../tests/test-types.md:3 -#, fuzzy msgid "Three types of tests: unit, integration, and functional tests" msgstr "3種類のテスト: 単体テスト、統合テスト、機能テスト" @@ -1237,45 +1193,44 @@ msgid "Integration tests" msgstr "統合テスト" #: ../../tests/test-types.md:10 -#, fuzzy msgid "End-to-end (also known as functional) tests" -msgstr "エンドツーエンド(機能テストとも呼ばれる)テスト" +msgstr "エンドツーエンド (機能テストとも呼ばれる) テスト" #: ../../tests/test-types.md:12 -#, fuzzy msgid "" "Each type of test has a different purpose. Here, you will learn about all " "three types of tests by working through simple examples." -msgstr "それぞれのテストには異なる目的があります。 ここでは、3種類のテストすべてについて学びます。" +msgstr "それぞれのテストには異なる目的があります。ここでは、簡単な例に取り組みながら、3種類のテストすべてについて学びます。" #: ../../tests/test-types.md:17 msgid "" "A unit test involves testing individual components or units of code in " -"isolation to ensure that they work correctly. The goal of unit testing is " -"to verify that each part of the software, typically at the function or " -"method level, performs its intended task correctly." -msgstr "単体テストは、個々のコンポーネントやコードの単位を分離してテストし、それらが正しく動作することを確認するものです。単体テストの目的は、ソフトウェアの各部分、通常は関数やメソッドのレベルが、意図したタスクを正しく実行することを検証することです。" +"isolation to ensure that they work correctly. The goal of unit testing is to" +" verify that each part of the software, typically at the function or method " +"level, performs its intended task correctly." +msgstr "" +"単体テストは、個々のコンポーネントやコードの単位を分離してテストし、それらが正しく動作することを確認するものです。単体テストの目的は、ソフトウェアの各部分、通常は関数やメソッドのレベルが、意図したタスクを正しく実行することを検証することです。" #: ../../tests/test-types.md:22 -#, fuzzy msgid "" -"Unit tests can be compared to examining each piece of your puzzle to ensure" -" parts or subsections of it are not broken. If all of the pieces of that " +"Unit tests can be compared to examining each piece of your puzzle to ensure " +"parts or subsections of it are not broken. If all of the pieces of that " "section of your puzzle don't fit together, you will never complete it. " "Similarly, when working with code, tests ensure that each function, " "attribute, class, and method works properly when isolated." -msgstr "単体テストは、パズルの各パーツが壊れていないかどうかを調べることに例えることができます。パズルのピースがすべて合わなければ、完成することはありません。同様に、コードを扱う場合、テストは各関数、プロパティ、クラス、メソッドが分離されたときに正しく機能することを保証します。" +msgstr "" +"単体テストは、パズルの各パーツが壊れていないかどうかを調べることに例えられます。パズルのピースがすべて合わなければ、完成することはありません。同様に、コードを扱う場合、テストは各関数、属性、クラス、メソッドが分離されたときに正しく機能することを保証します。" #: ../../tests/test-types.md:28 -#, fuzzy msgid "" "**Unit test example:** Suppose you have a function that adds two numbers " -"together. A unit test for that function ensures that when provided with two" -" numbers, it returns the correct sum. This is a unit test because it checks" -" a single unit (function) in isolation." +"together. A unit test for that function ensures that when provided with two " +"numbers, it returns the correct sum. This is a unit test because it checks a" +" single unit (function) in isolation." msgstr "" -"**ユニットテスト例:** " -"温度値を摂氏から華氏に変換する関数があるとします。その関数のテストは、摂氏の値が提供されたとき、その関数が正しい華氏の値を返すことを保証するかもしれません。この関数はユニットテストです。これは、コード内の1つのユニット(関数)をチェックします。" +"**ユニットテストの例:** " +"2つの数値を足し合わせる関数があるとします。その関数のユニットテストは、2つの数値を与えると正しい合計が返されることを保証します。これは、単一のユニット" +" (関数) を隔離してチェックするものなので、ユニットテストです。" #: ../../tests/test-types.md:54 msgid "" @@ -1285,11 +1240,11 @@ msgstr "上記の関数のユニットテスト例。このテストは、 **tes #: ../../tests/test-types.md:76 msgid "" -"Notice that the tests above don't just test one case where numbers are " -"added together. Instead, they test multiple scenarios: adding positive " -"numbers, adding a negative number, and adding zero. This helps ensure that " -"the `add_numbers` function behaves correctly in different situations and is" -" the beginning of thinking about programming defensively." +"Notice that the tests above don't just test one case where numbers are added" +" together. Instead, they test multiple scenarios: adding positive numbers, " +"adding a negative number, and adding zero. This helps ensure that the " +"`add_numbers` function behaves correctly in different situations and is the " +"beginning of thinking about programming defensively." msgstr "" "上記のテストは、数値を加算する 1 " "つのケースだけをテストするわけではないことに注意してください。代わりに、正の数の追加、負の数の追加、ゼロの追加などの複数のシナリオをテストします。これは、「add_numbers」関数がさまざまな状況で正しく動作することを保証するのに役立ち、防御的なプログラミングについて考える始まりになります。" @@ -1314,19 +1269,21 @@ msgstr "ユニットテストでは、コードの各部分がそれ自体で期 #: ../../tests/test-types.md:95 msgid "" -"Integration tests involve testing how parts of your package work together " -"or integrate. Integration tests can be compared to connecting a bunch of " +"Integration tests involve testing how parts of your package work together or" +" integrate. Integration tests can be compared to connecting a bunch of " "puzzle pieces together to form a whole picture. Integration tests focus on " "how different pieces of your code fit and work together." -msgstr "統合テストでは、パッケージの各パーツがどのように連動するか、あるいは統合されるかをテストします。統合テストは、パズルのピースをつなげて全体像を作るようなものです。統合テストは、コードのさまざまな部分がどのように適合し、連携して動作するかに焦点を当てます。" +msgstr "" +"統合テストでは、パッケージの各パーツがどのように連動するか、あるいは統合されるかをテストします。統合テストは、パズルのピースをつなげて全体像を作るようなものです。統合テストは、コードのさまざまな部分がどのように適合し、連携して動作するかに焦点を当てます。" #: ../../tests/test-types.md:100 msgid "" "For example, suppose you have functions that convert temperatures and " -"calculate statistics. An integration test would ensure that these functions" -" work together correctly in a workflow where you convert temperatures and " +"calculate statistics. An integration test would ensure that these functions " +"work together correctly in a workflow where you convert temperatures and " "then analyze them." -msgstr "たとえば、温度を変換し、統計を計算する関数があるとします。統合テストでは、温度を変換して分析するワークフロー内でこれらの機能が正しく連携して動作することを確認します。" +msgstr "" +"たとえば、温度を変換し、統計を計算する関数があるとします。統合テストでは、温度を変換して分析するワークフロー内でこれらの機能が正しく連携して動作することを確認します。" #: ../../tests/test-types.md:178 msgid "" @@ -1349,10 +1306,11 @@ msgstr "パズルのピースが2つあり、一部欠けている画像です #: ../../tests/test-types.md:212 msgid "" "If puzzle pieces have missing ends, they can’t work together with other " -"elements in the puzzle. The same is true with individual functions, methods" -" and classes in your software. The code needs to work both individually and" -" together to perform certain sets of tasks." -msgstr "パズルのピースの両端が欠けていると、パズルの他の要素と連動することができません。ソフトウェアの個々の関数、メソッド、クラスについても同様です。コードは、ある一連のタスクを実行するために、個々に、そして一緒に働く必要があります。" +"elements in the puzzle. The same is true with individual functions, methods " +"and classes in your software. The code needs to work both individually and " +"together to perform certain sets of tasks." +msgstr "" +"パズルのピースの両端が欠けていると、パズルの他の要素と連動することができません。ソフトウェアの個々の関数、メソッド、クラスについても同様です。コードは、ある一連のタスクを実行するために、個々に、そして一緒に働く必要があります。" #: ../../tests/test-types.md:220 msgid "" @@ -1365,30 +1323,28 @@ msgid "End-to-end (functional) tests" msgstr "エンドツーエンド(機能)テスト" #: ../../tests/test-types.md:226 -#, fuzzy msgid "" "End-to-end tests (also referred to as functional tests) in Python are like " "comprehensive checklists for your software. They simulate real user " "workflows to make sure the code base supports real-life applications and " -"use-cases from start to finish. These tests help catch issues that might " -"not show up in smaller tests and ensure your entire application behaves " -"correctly. Think of them as a way to give your software a final check " -"before it's put into action, making sure it's ready to deliver a smooth " -"user experience." +"use-cases from start to finish. These tests help catch issues that might not" +" show up in smaller tests and ensure your entire application behaves " +"correctly. Think of them as a way to give your software a final check before" +" it's put into action, making sure it's ready to deliver a smooth user " +"experience." msgstr "" -"Python " -"におけるエンドツーエンドのテスト(機能テストとも呼ばれる)は、ソフトウェアの包括的なチェックリストのようなものです。実際のユーザーのエンドツーエンドのワークフローをシミュレートし、コードベースが実際のアプリケーションやユースケースを最初から最後までサポートすることを確認します。これらのテストは、小規模なテストでは表示されないかもしれない問題をキャッチし、アプリケーションやプログラム全体が正しく動作することを確認するのに役立ちます。ソフトウェアを実用化する前に最終チェックを行い、ユーザーにスムーズなエクスペリエンスを提供する準備ができていることを確認する方法だと考えてください。" +"Python におけるエンドツーエンドテスト (機能テストとも呼ばれる) " +"は、ソフトウェアの包括的なチェックリストのようなものです。実際のユーザーのワークフローをシミュレートし、コードベースが実際のアプリケーションやユースケースを最初から最後までサポートすることを確認します。これらのテストは、小規模なテストでは見つからないかもしれない問題を検出し、アプリケーション全体が正しく動作することを確認するのに役立ちます。ソフトウェアを実用化する前に最終チェックを行い、スムーズなユーザー体験を提供する準備ができていることを確認する方法だと考えてください。" #: ../../tests/test-types.md:235 msgid "Image of a completed puzzle showing a daisy" msgstr "デイジーを描いたパズルの完成イメージ" #: ../../tests/test-types.md:240 -#, fuzzy msgid "" "End-to-end or functional tests represent an entire workflow that your " "package supports." -msgstr "エンドツーエンドテストまたは機能テストは、パッケージがサポートすることを期待するワークフロー全体を表します。" +msgstr "エンドツーエンドテストまたは機能テストは、パッケージがサポートするワークフロー全体を表します。" #: ../../tests/test-types.md:244 msgid "" @@ -1408,25 +1364,27 @@ msgstr "" msgid "" "This end-to-end test exercises the entire user workflow: providing sample " "data, converting and averaging it, and verifying the output is correct." -msgstr "このエンドツーエンドのテストでは、サンプル データの提供、変換と平均化、出力が正しいことの確認というユーザー ワークフロー全体を実行します。" +msgstr "" +"このエンドツーエンドのテストでは、サンプル データの提供、変換と平均化、出力が正しいことの確認というユーザー ワークフロー全体を実行します。" #: ../../tests/test-types.md:278 -#, fuzzy msgid "" "End-to-end tests also verify how a program runs from start to finish. A " -"tutorial that you add to your documentation and run in CI is another " -"example of an end-to-end test. For example, a Jupyter (`.ipynb`) notebook " -"or `.md` file with embedded code that demonstrates a complete user " -"workflow." -msgstr "エンドツーエンドのテストも、プログラムが最初から最後までどのように実行されるかをテストします。ドキュメントに追加するチュートリアルは、分離された環境のCIで実行され、エンドツーエンドのテストのもう一つの例です。" +"tutorial that you add to your documentation and run in CI is another example" +" of an end-to-end test. For example, a Jupyter (`.ipynb`) notebook or `.md` " +"file with embedded code that demonstrates a complete user workflow." +msgstr "" +"エンドツーエンドテストは、プログラムが最初から最後までどのように実行されるかも検証します。ドキュメントに追加して CI " +"で実行するチュートリアルも、エンドツーエンドテストのもう一つの例です。たとえば、完全なユーザーワークフローを示すコードが埋め込まれた Jupyter " +"(`.ipynb`) ノートブックや `.md` ファイルなどです。" #: ../../tests/test-types.md:285 -#, fuzzy msgid "" "For scientific packages, creating short tutorials that highlight core " "workflows that your package supports, that are run when your documentation " "is built, could also serve as end-to-end tests." -msgstr "科学的なパッケージの場合、パッケージがサポートする中核的なワークフローを強調する短いチュートリアルを作成し、ドキュメントのビルド時に実行することで、エンドツーエンドのテストを兼ねることができます。" +msgstr "" +"科学的なパッケージの場合、パッケージがサポートする中核的なワークフローを強調する短いチュートリアルを作成し、ドキュメントのビルド時に実行することで、エンドツーエンドテストを兼ねることができます。" #: ../../tests/test-types.md:290 msgid "When to use which test type" @@ -1435,9 +1393,10 @@ msgstr "どのテストタイプをいつ使用するか" #: ../../tests/test-types.md:292 msgid "" "If you’re new to testing, start with unit tests. They are the simplest to " -"write, fastest to run, and easiest to debug. As your package grows, you can" -" then add integration and end-to-end tests where they add the most value." -msgstr "テストが初めての場合は、単体テストから始めてください。これらは最も簡単に作成でき、最も速く実行でき、デバッグも簡単です。パッケージが成長するにつれて、最も価値が高まる統合テストとエンドツーエンドのテストを追加できます。" +"write, fastest to run, and easiest to debug. As your package grows, you can " +"then add integration and end-to-end tests where they add the most value." +msgstr "" +"テストが初めての場合は、単体テストから始めてください。これらは最も簡単に作成でき、最も速く実行でき、デバッグも簡単です。パッケージが成長するにつれて、最も価値が高まる統合テストとエンドツーエンドのテストを追加できます。" #: ../../tests/test-types.md:294 msgid "Start by writing unit tests" @@ -1468,9 +1427,8 @@ msgid "If something breaks, unit tests make it easy to find where" msgstr "何かが壊れた場合、単体テストによりどこが壊れているかを簡単に見つけることができます。" #: ../../tests/test-types.md:305 -#, fuzzy msgid "Add integration tests next" -msgstr "統合テスト" +msgstr "次に統合テストを追加する" #: ../../tests/test-types.md:307 msgid "Are you testing how multiple components work together?" @@ -1497,14 +1455,16 @@ msgid "Use end-to-end tests for core workflows" msgstr "コアワークフローにエンドツーエンドテストを使用する" #: ../../tests/test-types.md:317 -msgid "Are you testing a complete, realistic user workflow from start to finish?" +msgid "" +"Are you testing a complete, realistic user workflow from start to finish?" msgstr "完全で現実的なユーザー ワークフローを最初から最後までテストしていますか?" #: ../../tests/test-types.md:319 msgid "" "→ **Yes:** Use an [end-to-end test](test-types.md#end-to-end-functional-" "tests)." -msgstr "→ **はい:** [エンドツーエンド テスト](test-types.md#end-to-end-function-tests) を使用します。" +msgstr "" +"→ **はい:** [エンドツーエンド テスト](test-types.md#end-to-end-function-tests) を使用します。" #: ../../tests/test-types.md:321 msgid "Example: Run a full data-processing workflow a user would follow" @@ -1519,16 +1479,15 @@ msgid "Use them sparingly for the most important workflows." msgstr "最も重要なワークフローには慎重に使用してください。" #: ../../tests/test-types.md:324 -msgid "Tutorials run during documentation builds can serve as end-to-end tests." +msgid "" +"Tutorials run during documentation builds can serve as end-to-end tests." msgstr "ドキュメントのビルド中に実行されるチュートリアルは、エンドツーエンドのテストとして機能します。" #: ../../tests/test-types.md:326 -#, fuzzy msgid "Comparing unit, integration, and end-to-end tests" -msgstr "ユニットテスト、統合テスト、エンドツーエンドテストの比較" +msgstr "単体テスト、統合テスト、エンドツーエンドテストの比較" #: ../../tests/test-types.md:328 -#, fuzzy msgid "" "Unit tests, integration tests, and end-to-end tests have complementary " "advantages and disadvantages. The fine-grained nature of unit tests makes " @@ -1536,9 +1495,7 @@ msgid "" "tests are not useful for verifying that different sections of code work " "together." msgstr "" -"単体テスト、統合テスト、エンドツーエンドテストには、それぞれ相補的な長所と短所があります。 " -"単体テストは、そのきめ細かな性質から、どこでエラーが発生しているかを切り分けるのに適しています。 " -"しかし、ユニットテストは、コードの異なるセクションが連携して動作することを検証するのには役に立ちません。" +"単体テスト、統合テスト、エンドツーエンドテストには、それぞれ相補的な長所と短所があります。単体テストは、そのきめ細かな性質から、どこでエラーが発生しているかを切り分けるのに適しています。しかし、単体テストは、コードの異なるセクションが連携して動作することを検証するのには役に立ちません。" #: ../../tests/test-types.md:334 msgid "" @@ -1554,25 +1511,25 @@ msgid "Tests don't have to be perfect" msgstr "テストは完璧である必要はない" #: ../../tests/test-types.md:339 -#, fuzzy msgid "" "It is important to note that you don't need to spend energy worrying about " "the specifics of test types. When you begin to work on your test suite, " "consider what your package does and how you may need to test parts of it. " "Being familiar with different test types provides a framework to help you " "think about writing tests and how they can complement each other." -msgstr "重要なのは、さまざまな種類のテストにまつわる詳細について心配することにエネルギーを費やす必要はないということです。テストスイートの作成に取りかかるときには、パッケージが何をするのか、そしてパッケージの一部をどのようにテストする必要があるのかを考えてください。さまざまな種類のテストに慣れ親しむことは、テストの書き方や、さまざまな種類のテストが互いにどのように補完し合えるかを考える際のフレームワークとなります。" +msgstr "" +"重要なのは、さまざまな種類のテストにまつわる詳細について心配することにエネルギーを費やす必要はないということです。テストスイートの作成に取りかかるときには、パッケージが何をするのか、そしてパッケージの一部をどのようにテストする必要があるのかを考えてください。さまざまな種類のテストに慣れ親しむことは、テストの書き方や、さまざまな種類のテストが互いにどのように補完し合えるかを考える際のフレームワークとなります。" #: ../../tests/test-types.md:348 msgid "" -"Now that you understand test types, learn how to [write effective tests" -"](write-tests) for your package. Then explore how to [run tests locally" -"](run-tests) and in [continuous integration](tests-ci). You can also learn " -"about tracking test coverage using tools like [CodeCov](code-cov)." +"Now that you understand test types, learn how to [write effective " +"tests](write-tests) for your package. Then explore how to [run tests " +"locally](run-tests) and in [continuous integration](tests-ci). You can also " +"learn about tracking test coverage using tools like [CodeCov](code-cov)." msgstr "" -"テストの種類を理解したので、パッケージの [効果的なテストを作成する](テストの作成) 方法を学びましょう。次に、[ローカルでテストを実行する" -"](run-tests) および [継続的インテグレーション](tests-ci) で行う方法を調べます。 [CodeCov](code-cov) " -"などのツールを使用してテスト カバレッジの追跡について学ぶこともできます。" +"テストの種類を理解したので、パッケージの [効果的なテストを作成する](テストの作成) " +"方法を学びましょう。次に、[ローカルでテストを実行する](run-tests) および [継続的インテグレーション](tests-ci) " +"で行う方法を調べます。 [CodeCov](code-cov) などのツールを使用してテスト カバレッジの追跡について学ぶこともできます。" #: ../../tests/tests-ci.md:1 msgid "Run tests with Continuous Integration" @@ -1582,11 +1539,11 @@ msgstr "継続的インテグレーションによるテストの実行" msgid "" "Running your [test suite locally](run-tests) is useful as you develop code " "and also test new features or changes to the code base. However, you also " -"will want to setup Continuous Integration (CI) to run your tests online. CI" -" allows you to run all of your tests in the cloud. While you may only be " -"able to run tests locally on a specific operating system, using CI you can " -"specify tests to run both on various versions of Python and across " -"different operating systems." +"will want to setup Continuous Integration (CI) to run your tests online. CI " +"allows you to run all of your tests in the cloud. While you may only be able" +" to run tests locally on a specific operating system, using CI you can " +"specify tests to run both on various versions of Python and across different" +" operating systems." msgstr "" "[テストスイートをローカルで実行する](run-tests) " "ことは、コードを開発したり、新しい機能やコード・ベースの変更をテストしたりするときに便利です。しかし、テストをオンラインで実行するために、継続的インテグレーション(CI)もセットアップしたいです。CIを使えば、すべてのテストをクラウド上で実行できます。特定のオペレーティングシステム上でしかローカルにテストを実行できないかもしれませんが、CIを使用すると、Pythonのさまざまなバージョンや異なるオペレーティングシステム間で実行するテストを指定できます。" @@ -1616,10 +1573,10 @@ msgstr "CIとプルリクエスト" msgid "" "CI is invaluable if you have outside people contributing to your software. " "You can setup CI to run on all pull requests submitted to your repository. " -"CI can make your repository more friendly to new potential contributors. It" -" allows users to contribute code, documentation fixes and more without " -"having to create development environments, run tests and build " -"documentation locally." +"CI can make your repository more friendly to new potential contributors. It " +"allows users to contribute code, documentation fixes and more without having" +" to create development environments, run tests and build documentation " +"locally." msgstr "" "CIは、外部の人があなたのソフトウェアに貢献している場合、非常に貴重です。 " "リポジトリに投稿されたすべてのプルリクエストに対してCIを実行するように設定できます。 " @@ -1649,98 +1606,87 @@ msgid "Write tests for your Python package" msgstr "Pythonパッケージのテストを書く" #: ../../tests/write-tests.md:3 -#, fuzzy msgid "" -"**Writing code** that tests your package code, also known as test suites, " -"is important for you as a maintainer, your users, and package contributors." -" Test suites consist of sets of functions, methods, and classes that are " -"written with the intention of making sure a specific part of your code " -"works as you expected it to." +"**Writing code** that tests your package code, also known as test suites, is" +" important for you as a maintainer, your users, and package contributors. " +"Test suites consist of sets of functions, methods, and classes that are " +"written with the intention of making sure a specific part of your code works" +" as you expected it to." msgstr "" -"パッケージのコードをテストするコードを書くことは、テスト・スイートとしても知られています。 " -"テスト・スイートは、関数、メソッド、クラスのセットで構成され、コードの特定の部分が期待通りに動作することを確認することを意図して書かれます。" +"**パッケージのコードをテストするコード** (テストスイートとも呼ばれる) " +"を書くことは、メンテナであるあなた、ユーザー、そしてパッケージの貢献者にとって重要です。テストスイートは、コードの特定の部分が期待どおりに動作することを確認する目的で書かれる関数、メソッド、クラスの集まりで構成されます。" #: ../../tests/write-tests.md:9 msgid "Why write tests for your package?" msgstr "なぜパッケージのテストを書くのか?" #: ../../tests/write-tests.md:11 -#, fuzzy msgid "" "Tests act as a safety net for code changes. They help you identify and fix " "bugs before they affect users. Tests also instill confidence that code " "changes from contributors won't break existing functionality." msgstr "" -"テストはコード変更のセーフティネットとして機能します。 バグがユーザーに影響を与える前に発見し、修正するのに役立ちます。 " -"テストはまた、貢献者によるコード改変が既存の機能を壊さないという確信を与えます。" +"テストはコード変更のセーフティネットとして機能します。バグがユーザーに影響を与える前に発見して修正するのに役立ちます。また、貢献者によるコード変更が既存の機能を壊さないという自信を得られます。" #: ../../tests/write-tests.md:15 msgid "Writing tests for your Python package is important because:" msgstr "Pythonパッケージのテストを書くことは重要です:" #: ../../tests/write-tests.md:17 -#, fuzzy msgid "" -"**Catch mistakes:** Tests are a safety net. When you make changes or add " -"new features to your package, tests can quickly tell you if you " -"accidentally broke something that was working fine before." +"**Catch mistakes:** Tests are a safety net. When you make changes or add new" +" features to your package, tests can quickly tell you if you accidentally " +"broke something that was working fine before." msgstr "" -"**キャッチミス:** " -"テストはセーフティネットです。パッケージに変更を加えたり、新機能を追加したりした場合、テストによって、以前は問題なく動作していたものを誤って壊してしまったかどうかをすぐに知ることができます。" +"**ミスの検出:** " +"テストはセーフティネットです。パッケージに変更を加えたり新機能を追加したりしたとき、以前は問題なく動作していたものを誤って壊していないかをテストがすぐに教えてくれます。" #: ../../tests/write-tests.md:20 -#, fuzzy msgid "" -"**Save time:** Imagine you have a magic button that can automatically check" -" if your package is still working properly. Tests are like that magic " -"button! They can run all those checks for you, saving you time." +"**Save time:** Imagine you have a magic button that can automatically check " +"if your package is still working properly. Tests are like that magic button!" +" They can run all those checks for you, saving you time." msgstr "" -"**時間を節約する:** " -"あなたのパッケージがまだ正常に動作しているかどうかを自動的にチェックできる魔法のボタンがあるとしましょう。テストは魔法のボタンのようなものです! " -"あなたの時間を節約するために、すべてのチェックを実行してくれます。" +"**時間の節約:** " +"あなたのパッケージがまだ正常に動作しているかどうかを自動的にチェックできる魔法のボタンがあるとしましょう。テストはその魔法のボタンのようなものです!すべてのチェックを実行してくれるので、時間を節約できます。" #: ../../tests/write-tests.md:23 -#, fuzzy msgid "" "**Easier collaboration:** If you're working with others or have outside " -"contributors, tests help everyone stay on the same page. Your tests explain" -" how your package is supposed to work, making it easier for others to " +"contributors, tests help everyone stay on the same page. Your tests explain " +"how your package is supposed to work, making it easier for others to " "understand and contribute to your project." msgstr "" "**より容易なコラボレーション:** " -"他の人と一緒に仕事をしていたり、外部の協力者がいる場合、テストは全員が同じページにとどまるのに役立ちます。テストは、パッケージがどのように動作するかを説明し、他の人が理解しやすくし、プロジェクトに貢献しやすくします。" +"他の人と一緒に仕事をしていたり、外部の協力者がいる場合、テストは全員が同じ認識を保つののに役立ちます。テストはパッケージがどのように動作するはずかを説明するので、他の人が理解しやすくなり、プロジェクトに貢献しやすくなります。" #: ../../tests/write-tests.md:27 -#, fuzzy msgid "" -"**Fearless refactoring:** Refactoring means making improvements to your " -"code structure without changing its behavior. Tests empower you to make " -"these changes; if you break something, test failures will let you know." +"**Fearless refactoring:** Refactoring means making improvements to your code" +" structure without changing its behavior. Tests empower you to make these " +"changes; if you break something, test failures will let you know." msgstr "" -"**大胆不敵なリファクタリング:** リファクタリングとは、コードの振る舞いを変えることなく、コード構造を改善することです。 " -"テストは、あなたが何かを壊した場合、テストの失敗があなたに知らせてくれるので、このような変更を行う力を与えてくれます。" +"**恐れずにリファクタリング:** " +"リファクタリングとは、動作を変えずにコード構造を改善することです。テストがあれば安心して変更でき、何かを壊した場合はテストの失敗が知らせてくれます。" #: ../../tests/write-tests.md:30 -#, fuzzy msgid "" "**Documentation:** Tests serve as technical examples of how to use your " "package. This can be helpful for new technical contributors who want to " "contribute code to your package. They can look at your tests to understand " "how parts of your code functionality fits together." msgstr "" -"**文書化:** テストは、あなたのパッケージの使い方の技術的な例となります。 " -"これは、あなたのパッケージにコードを提供しようとする新しい技術的貢献者にとって役に立ちます。 " -"彼らはあなたのテストを見て、コードの機能の一部がどのように組み合わされているかを理解することができます。" +"**ドキュメントとしての役割:** " +"テストはパッケージの使い方の技術的な例になります。これは、パッケージにコードを提供しようとする新しい技術的貢献者にとって役に立ちます。テストを見ることで、コードの機能がどのように組み合わされているかを理解できます。" #: ../../tests/write-tests.md:34 -#, fuzzy msgid "" "**Long-term ease of maintenance:** As your package evolves, tests ensure " "that your code continues to behave as expected, even as you make changes " "over time. Thus you are helping your future self when writing tests." msgstr "" "**長期的なメンテナンスの容易さ:** " -"パッケージが進化するにつれて、テストは、時間の経過とともに変更を加えても、コードが期待通りに動作し続けることを保証します。こうして、テストを書くときに将来の自分を助けることになります。" +"パッケージが進化するにつれて、テストは、時間の経過とともに変更を加えても、コードが期待どおりに動作し続けることを保証します。テストを書くことで、将来の自分を助けることになります。" #: ../../tests/write-tests.md:38 msgid "" @@ -1762,10 +1708,10 @@ msgstr "ユーザーエッジケースのテスト" msgid "" "Edge cases refer to unexpected or \"outlier\" ways that some users may use " "your package. Tests enable you to address various edge cases that could " -"impair your package's functionality. For example, what occurs if a function" -" expects a pandas `dataframe` but a user supplies a numpy `array`? Does " -"your code gracefully handle this situation, providing clear feedback, or " -"does it leave users frustrated by an unexplained failure?" +"impair your package's functionality. For example, what occurs if a function " +"expects a pandas `dataframe` but a user supplies a numpy `array`? Does your " +"code gracefully handle this situation, providing clear feedback, or does it " +"leave users frustrated by an unexplained failure?" msgstr "" "エッジケースとは、あるユーザがあなたのパッケージを使用する際の、予期せぬ、あるいは \"外れ値\" の使い方を指します。 " "テストによって、パッケージの機能を損なう可能性のある様々なエッジケースに対処することができます。 例えば、ある関数がpandasの " @@ -1778,17 +1724,17 @@ msgid "" "lesson](https://swcarpentry.github.io/python-novice-" "inflammation/10-defensive.html)" msgstr "" -"テストの入門書としては、 [このSoftware Carpentryのレッスン](https://swcarpentry.github.io" -"/python-novice-inflammation/10-defensive.html) を参照してください。" +"テストの入門書としては、 [このSoftware " +"Carpentryのレッスン](https://swcarpentry.github.io/python-novice-" +"inflammation/10-defensive.html) を参照してください。" #: ../../tests/write-tests.md:59 msgid "Test examples" msgstr "テスト例" #: ../../tests/write-tests.md:62 -#, fuzzy msgid "Let's say you have a Python function that adds two numbers together." -msgstr "例えば、2つの数値aとbを足し合わせるPython関数があるとしましょう。" +msgstr "例えば、2つの数値を足し合わせる Python 関数があるとしましょう。" #: ../../tests/write-tests.md:84 msgid "" @@ -1797,14 +1743,12 @@ msgid "" msgstr "異なる数値が与えられたときに、その関数が期待通りに実行されることを確認するテストは次のようになります:" #: ../../tests/write-tests.md:103 -#, fuzzy msgid "🧩🐍 How do you know what type of tests to write?" -msgstr "どのような種類のテストを書けばいいのか、どうすればわかりますか?" +msgstr "🧩🐍 どのような種類のテストを書けばよいでしょうか?" #: ../../tests/write-tests.md:105 -#, fuzzy msgid "As you begin to write tests for your package, you should consider:" -msgstr "なぜパッケージのテストを書くのか?" +msgstr "パッケージのテストを書き始めるときには、次のことを考慮してください:" #: ../../tests/write-tests.md:107 msgid "" @@ -1813,22 +1757,22 @@ msgid "" msgstr "開発のガイドに役立つ [3 種類のテスト Python パッケージのテスト タイプ](test-types.md) があります。" #: ../../tests/write-tests.md:108 -msgid "your tests should consider how a user might use (and misuse!) your package." +msgid "" +"your tests should consider how a user might use (and misuse!) your package." msgstr "テストでは、ユーザーがパッケージをどのように使用 (そして悪用!) するかを考慮する必要があります。" #: ../../tests/write-tests.md:111 -#, fuzzy msgid "" "This section has been adapted from [a presentation by Nick " "Murphy](https://zenodo.org/records/8185113)." msgstr "" -"このセクションは、 [Nick Murphyのプレゼンテーション](https://zenodo.org/record/8185113) " -"から引用しました。" +"このセクションは、[Nick Murphy " +"によるプレゼンテーション](https://zenodo.org/records/8185113)を参考にしています。" #: ../../tests/write-tests.md:115 -#, fuzzy -msgid "But, what should you be testing in your package? Below are a few examples:" -msgstr "この時点で、あなたは疑問に思うかもしれません-あなたのパッケージで何をテストすべきか? 以下にいくつか例を挙げます:" +msgid "" +"But, what should you be testing in your package? Below are a few examples:" +msgstr "では、パッケージで何をテストすべきでしょうか?いくつか例を挙げます:" #: ../../tests/write-tests.md:118 msgid "" @@ -1841,35 +1785,33 @@ msgstr "" "パッケージが、ユーザーが使用したときに期待通りに機能することをテストします。例えば、パッケージが2つの数値を足すことになっている場合、その2つの数値を足した結果が正しいかどうかをテストします。" #: ../../tests/write-tests.md:123 -#, fuzzy msgid "" "**Test special cases:** Sometimes there are special or outlier cases. For " "instance, if a function performs a specific calculation that may become " "problematic closer to the value of 0, test it with the input of both 0 and " "nearby values." msgstr "" -"**特別なケースをテストする:** " -"時には特殊なケースや異常なケースもあります。例えば、ある関数が特定の計算を実行し、その計算が値=0に近いほど問題になる可能性がある場合、その関数の入力を0と" +"**特殊なケースのテスト:** 特殊なケースや外れ値のケースが存在することもあります。たとえば、ある関数が特定の計算を実行し、その計算が 0 " +"に近い値ほど問題になる可能性がある場合は、0 とその近傍の値を入力としてテストします。" #: ../../tests/write-tests.md:128 -#, fuzzy msgid "" "**Test at and near expected boundaries:** If a function requires a value " -"that is greater than or equal to 1, make sure that the function still works" -" with the values 1 and 0.999, as well as 1.001 (values close to the " +"that is greater than or equal to 1, make sure that the function still works " +"with the values 1 and 0.999, as well as 1.001 (values close to the " "constraint). Make sure that the function fails gracefully when given " "unexpected values and that the user can easily understand why it failed by " "providing a useful error message." msgstr "" -"**コードが正しく失敗するかテストする** 関数が1以上の値を必要とする場合は、0.999でテストします。 " -"予期しない値やヘルプが与えられたときに、関数が差し障り無く失敗し、ユーザが失敗した理由を簡単に理解できるようにします(有用なエラーメッセージを提供します)。" +"**期待される境界付近でのテスト:** 関数が 1 以上の値を必要とする場合は、1 と 0.999、さらに 1.001 (制約に近い値) " +"でも関数が正しく動作することを確認します。予期しない値が与えられたときに、有用なエラーメッセージを提供することで、関数がわかりやすく失敗し、ユーザーが失敗の理由を簡単に理解できるようにします。" #: ../../tests/write-tests.md:138 msgid "" "Now that you understand what and why to test, explore the [three types of " -"tests](test-types.md) (unit, integration, and end-to-end) to determine " -"which style of tests best fits your package. Then, learn how to [run your " -"tests locally](run-tests.md) and [in continuous integration](tests-ci.md). " +"tests](test-types.md) (unit, integration, and end-to-end) to determine which" +" style of tests best fits your package. Then, learn how to [run your tests " +"locally](run-tests.md) and [in continuous integration](tests-ci.md). " "Finally, track your progress with [code coverage](code-cov.md) metrics." msgstr "" "何をテストするのか、なぜテストするのかが理解できたので、[3 種類のテスト](test-types.md) (単体、統合、エンドツーエンド) " @@ -1878,36 +1820,28 @@ msgstr "" "メトリクスを使用して進捗状況を追跡します。" #~ msgid "" -#~ "There are three general types of " -#~ "tests that you can write for your" -#~ " Python package: unit tests, integration " -#~ "tests and end-to-end (or functional)" -#~ " tests. Learn about all three." +#~ "There are three general types of tests that you can write for your Python " +#~ "package: unit tests, integration tests and end-to-end (or functional) tests." +#~ " Learn about all three." #~ msgstr "" -#~ "Python パッケージで書くことのできるテストには、ユニットテスト、統合テスト、エンドツーエンドテスト " -#~ "(あるいは機能テスト) の 3 種類があります。 この 3 " -#~ "つについて学びましょう。" +#~ "Python パッケージで書くことのできるテストには、ユニットテスト、統合テスト、エンドツーエンドテスト (あるいは機能テスト) の 3 " +#~ "種類があります。 この 3 つについて学びましょう。" #~ msgid "" -#~ "If you expect your users to use " -#~ "your package across different versions of" -#~ " Python, then using an automation tool" -#~ " such as nox to run your tests" -#~ " is useful. Learn about the various " -#~ "tools that you can use to run " -#~ "your tests across python versions here." +#~ "If you expect your users to use your package across different versions of " +#~ "Python, then using an automation tool such as nox to run your tests is " +#~ "useful. Learn about the various tools that you can use to run your tests " +#~ "across python versions here." #~ msgstr "" -#~ "もしユーザがあなたのパッケージを異なるバージョンの Python で使うことを想定しているなら、テストを実行するために" -#~ " nox のような自動化ツールを使うと便利です。 Python " +#~ "もしユーザがあなたのパッケージを異なるバージョンの Python で使うことを想定しているなら、テストを実行するために nox " +#~ "のような自動化ツールを使うと便利です。 Python " #~ "のバージョンにまたがってテストを実行するために使える様々なツールについては、こちらを参照してください。" #~ msgid "" -#~ "Continuous integration platforms such as " -#~ "GitHub Actions can be useful for " -#~ "running your tests across both different" -#~ " Python versions and different operating " -#~ "systems. Learn about setting up tests " -#~ "to run in Continuous Integration here." +#~ "Continuous integration platforms such as GitHub Actions can be useful for " +#~ "running your tests across both different Python versions and different " +#~ "operating systems. Learn about setting up tests to run in Continuous " +#~ "Integration here." #~ msgstr "" #~ "GitHub Actionsのような継続的インテグレーションプラットフォームは、Python " #~ "のバージョンやオペレーティングシステムの違いを問わずテストを実行するのに便利です。 " @@ -1920,67 +1854,45 @@ msgstr "" #~ msgstr "Pythonパッケージテストの実行" #~ msgid "" -#~ "Running your tests is important to " -#~ "ensure that your package is working " -#~ "as expected. It's good practice to " -#~ "consider that tests will run on your" -#~ " computer and your users' computers " -#~ "that may be running a different " -#~ "Python version and operating systems. " -#~ "Think about the following when running " -#~ "your tests:" +#~ "Running your tests is important to ensure that your package is working as " +#~ "expected. It's good practice to consider that tests will run on your " +#~ "computer and your users' computers that may be running a different Python " +#~ "version and operating systems. Think about the following when running your " +#~ "tests:" #~ msgstr "" -#~ "テストを実行することは、パッケージが期待通りに動作していることを確認するために重要です。 " -#~ "テストは、あなたのコンピュータと、Python " +#~ "テストを実行することは、パッケージが期待通りに動作していることを確認するために重要です。 テストは、あなたのコンピュータと、Python " #~ "のバージョンやオペレーティングシステムが異なるユーザのコンピュータで実行されることを考慮するのがよい習慣です。 " #~ "テストを実行する際には、以下のことを考慮してください:" #~ msgid "" -#~ "Run your test suite in a matrix " -#~ "of environments that represent the Python" -#~ " versions and operating systems your " -#~ "users are likely to have." +#~ "Run your test suite in a matrix of environments that represent the Python " +#~ "versions and operating systems your users are likely to have." #~ msgstr "テストスイートは、Python のバージョンとユーザーが使用する可能性のあるオペレーティングシステムを表す環境のマトリックスで実行します。" #~ msgid "" -#~ "Running your tests in an isolated " -#~ "environment provides confidence in the " -#~ "tests and their reproducibility. This " -#~ "ensures that tests do not pass " -#~ "randomly due to your computer's specific" -#~ " setup. For instance, you might have" -#~ " unexpectedly installed dependencies on your" -#~ " local system that are not declared " -#~ "in your package's dependency list. This" -#~ " oversight could lead to issues when" -#~ " others try to install or run " -#~ "your package on their computers." +#~ "Running your tests in an isolated environment provides confidence in the " +#~ "tests and their reproducibility. This ensures that tests do not pass " +#~ "randomly due to your computer's specific setup. For instance, you might have" +#~ " unexpectedly installed dependencies on your local system that are not " +#~ "declared in your package's dependency list. This oversight could lead to " +#~ "issues when others try to install or run your package on their computers." #~ msgstr "" #~ "隔離された環境でテストを実行することで、テストとその再現性に自信を持つことができます。 " #~ "これにより、あなたのコンピュータの設定によってテストがランダムにパスすることがなくなります。 " -#~ "たとえば、あなたのパッケージの依存関係リストで宣言されていない依存関係を、予期せずローカルシステムにインストールしてしまったかもしれません。" -#~ " このような見落としは、他の人があなたのパッケージを自分のコン " -#~ "ピュータにインストールしたり実行しようとしたときに、問題につながる可能性 があります。" +#~ "たとえば、あなたのパッケージの依存関係リストで宣言されていない依存関係を、予期せずローカルシステムにインストールしてしまったかもしれません。 " +#~ "このような見落としは、他の人があなたのパッケージを自分のコン ピュータにインストールしたり実行しようとしたときに、問題につながる可能性 があります。" #~ msgid "" -#~ "**Automation tools** allow you to automate" -#~ " running workflows such as tests in " -#~ "specific ways using user-defined commands." -#~ " For instance it's useful to be " -#~ "able to run tests across different " -#~ "Python versions with a single command. " -#~ "Tools such as " -#~ "[**nox**](https://nox.thea.codes/en/stable/index.html) and " -#~ "[**tox**](https://tox.wiki/en/latest/index.html) also allow" -#~ " you to run tests across Python " -#~ "versions. However, it will be difficult" -#~ " to test your build on different " -#~ "operating systems using only nox and " -#~ "tox - this is where continuous " -#~ "integration (CI) comes into play." +#~ "**Automation tools** allow you to automate running workflows such as tests " +#~ "in specific ways using user-defined commands. For instance it's useful to be" +#~ " able to run tests across different Python versions with a single command. " +#~ "Tools such as [**nox**](https://nox.thea.codes/en/stable/index.html) and " +#~ "[**tox**](https://tox.wiki/en/latest/index.html) also allow you to run tests" +#~ " across Python versions. However, it will be difficult to test your build on" +#~ " different operating systems using only nox and tox - this is where " +#~ "continuous integration (CI) comes into play." #~ msgstr "" -#~ "**自動化ツール** " -#~ "を使うと、ユーザー定義のコマンドを使って、テストのようなワークフローを特定の方法で実行することを自動化できます。 " +#~ "**自動化ツール** を使うと、ユーザー定義のコマンドを使って、テストのようなワークフローを特定の方法で実行することを自動化できます。 " #~ "例えば、1つのコマンドで異なるPythonのバージョンにまたがってテストを実行できると便利です。 " #~ "[**nox**](https://nox.thea.codes/en/stable/index.html) や " #~ "[**tox**](https://tox.wiki/en/latest/index.html) " @@ -1989,21 +1901,15 @@ msgstr "" #~ "ここで継続的インテグレーション(CI)の出番です。" #~ msgid "" -#~ "**Continuous Integration (CI):** is the " -#~ "last tool that you'll need to run" -#~ " your tests. CI will not only " -#~ "allow you to replicate any automated " -#~ "builds you create using nox or tox" -#~ " to run your package in different " -#~ "Python environments. It will also allow" -#~ " you to run your tests on " -#~ "different operating systems (Windows, Mac " -#~ "and Linux). [We discuss using CI to" -#~ " run tests here](tests-ci)." +#~ "**Continuous Integration (CI):** is the last tool that you'll need to run " +#~ "your tests. CI will not only allow you to replicate any automated builds you" +#~ " create using nox or tox to run your package in different Python " +#~ "environments. It will also allow you to run your tests on different " +#~ "operating systems (Windows, Mac and Linux). [We discuss using CI to run " +#~ "tests here](tests-ci)." #~ msgstr "" -#~ "**継続的インテグレーション (CI):** は、テストを実行するために必要な最後のツールです。 CI" -#~ " は、nox や tox を使って作成した自動ビルドを複製して、異なる Python" -#~ " 環境でパッケージを実行できるようにするだけではありません。 " +#~ "**継続的インテグレーション (CI):** は、テストを実行するために必要な最後のツールです。 CI は、nox や tox " +#~ "を使って作成した自動ビルドを複製して、異なる Python 環境でパッケージを実行できるようにするだけではありません。 " #~ "また、異なるオペレーティングシステム(Windows、Mac、Linux)でテストを実行することもできます。 " #~ "[テストを実行するためにCIを使うことについては、ここで説明します](tests-ci) 。" @@ -2029,22 +1935,17 @@ msgstr "" #~ msgstr "その他の自動化タスクに使用する(ドキュメントの作成など)" #~ msgid "" -#~ "**[Hatch](https://github.com/pypa/hatch)** is a modern" -#~ " end-to-end packaging tool that " -#~ "works with the popular build backend " -#~ "called hatchling. `hatch` offers a " -#~ "`tox`-like setup where you can run " -#~ "tests locally using different Python " -#~ "versions. If you are using `hatch` " -#~ "to support your packaging workflow, you" -#~ " may want to also use its testing" -#~ " capabilities rather than using `nox`." +#~ "**[Hatch](https://github.com/pypa/hatch)** is a modern end-to-end packaging " +#~ "tool that works with the popular build backend called hatchling. `hatch` " +#~ "offers a `tox`-like setup where you can run tests locally using different " +#~ "Python versions. If you are using `hatch` to support your packaging " +#~ "workflow, you may want to also use its testing capabilities rather than " +#~ "using `nox`." #~ msgstr "" #~ "**[Hatch](https://github.com/pypa/hatch)** " -#~ "は、hatchlingと呼ばれる人気のあるビルドバックエンドで動作する最新のエンドツーエンドパッケージングツールです。 " -#~ "`hatch` は `tox` のようなセットアップを提供し、異なる Python " -#~ "バージョンを使ってローカルでテストを実行することができます。 パッケージングのワークフローをサポートするために " -#~ "`hatch` を使っているのであれば、 `nox` を使うよりも `hatch` " +#~ "は、hatchlingと呼ばれる人気のあるビルドバックエンドで動作する最新のエンドツーエンドパッケージングツールです。 `hatch` は `tox`" +#~ " のようなセットアップを提供し、異なる Python バージョンを使ってローカルでテストを実行することができます。 " +#~ "パッケージングのワークフローをサポートするために `hatch` を使っているのであれば、 `nox` を使うよりも `hatch` " #~ "のテスト機能を使った方が良いかもしれない。" #~ msgid "Run tests across Python versions with nox" @@ -2054,97 +1955,70 @@ msgstr "" #~ msgstr "Noxはそれぞれの環境を独自に管理します。" #~ msgid "" -#~ "An example of using nox to run " -#~ "tests in `venv` environments for Python" -#~ " versions 3.9, 3.10, 3.11 and 3.12 " -#~ "is below." +#~ "An example of using nox to run tests in `venv` environments for Python " +#~ "versions 3.9, 3.10, 3.11 and 3.12 is below." #~ msgstr "noxを使ってPythonバージョン3.9、3.10、3.11、3.12の `venv` 環境でテストを実行する例を以下に示します。" #~ msgid "" -#~ "Note that for the code below to " -#~ "work, you need to have all 4 " -#~ "versions of Python installed on your " -#~ "computer for `nox` to find." +#~ "Note that for the code below to work, you need to have all 4 versions of " +#~ "Python installed on your computer for `nox` to find." #~ msgstr "" #~ "以下のコードが動作するためには、 `nox` " #~ "が見つけることができる4つのバージョンのPythonがコンピュータにインストールされている必要があることに注意してください。" #~ msgid "" -#~ "TODO: add some tests above and show" -#~ " what the output would look like " -#~ "in the examples below..." +#~ "TODO: add some tests above and show what the output would look like in the " +#~ "examples below..." #~ msgstr "TODO: 上記のテストをいくつか追加し、以下の例で出力がどのようになるかを示す..." #~ msgid "Integration" #~ msgstr "統合" #~ msgid "" -#~ "I think this page would be stronger" -#~ " if we did have some examples " -#~ "from our package here: " -#~ "https://github.com/pyOpenSci/pyosPackage" +#~ "I think this page would be stronger if we did have some examples from our " +#~ "package here: https://github.com/pyOpenSci/pyosPackage" #~ msgstr "" #~ "私たちのパッケージからの例があれば、このページはもっと強くなると思います: " #~ "https://github.com/pyOpenSci/pyosPackage " #~ msgid "" -#~ "For example, if you had a series " -#~ "of steps that collected temperature data" -#~ " in a spreadsheet, converted it from" -#~ " degrees celsius to Fahrenheit and then" -#~ " provided an average temperature for a" -#~ " particular time period. An integration " -#~ "test would ensure that all parts of" -#~ " that workflow behaved as expected." -#~ msgstr "例えば、スプレッドシートに温度データを収集し、摂氏から華氏に変換し、特定の期間の平均温度を提供する一連のステップがあったとします。統合テストは、そのワークフローのすべての部分が期待通りに動作することを保証します。" +#~ "For example, if you had a series of steps that collected temperature data in" +#~ " a spreadsheet, converted it from degrees celsius to Fahrenheit and then " +#~ "provided an average temperature for a particular time period. An integration" +#~ " test would ensure that all parts of that workflow behaved as expected." +#~ msgstr "" +#~ "例えば、スプレッドシートに温度データを収集し、摂氏から華氏に変換し、特定の期間の平均温度を提供する一連のステップがあったとします。統合テストは、そのワークフローのすべての部分が期待通りに動作することを保証します。" #~ msgid "" -#~ "Integration and end-to-end tests " -#~ "verify that the different portions of " -#~ "the program work together, but are " -#~ "less well-suited for isolating where " -#~ "errors are occurring. For example, when" -#~ " you refactor your code, it is " -#~ "possible that that your end-to-end" -#~ " tests will break. But if the " -#~ "refactor didn't introduce new behavior to" -#~ " your existing code, then you can " -#~ "rely on your unit tests to continue" -#~ " to pass, testing the original " -#~ "functionality of your code." -#~ msgstr "統合テストとエンドツーエンドテストは、プログラムのさまざまな部分が連携して動作することを検証しますが、どこでエラーが発生しているかを切り分けるにはあまり適していません。例えば、コードをリファクタリングすると、エンドツーエンドのテストが壊れる可能性があります。しかし、リファクタリングによって既存のコードに新しい動作が導入されなかったのであれば、コードの元の機能をテストするユニットテストがパスし続けることに頼ることができます。" +#~ "Integration and end-to-end tests verify that the different portions of the " +#~ "program work together, but are less well-suited for isolating where errors " +#~ "are occurring. For example, when you refactor your code, it is possible that" +#~ " that your end-to-end tests will break. But if the refactor didn't introduce" +#~ " new behavior to your existing code, then you can rely on your unit tests to" +#~ " continue to pass, testing the original functionality of your code." +#~ msgstr "" +#~ "統合テストとエンドツーエンドテストは、プログラムのさまざまな部分が連携して動作することを検証しますが、どこでエラーが発生しているかを切り分けるにはあまり適していません。例えば、コードをリファクタリングすると、エンドツーエンドのテストが壊れる可能性があります。しかし、リファクタリングによって既存のコードに新しい動作が導入されなかったのであれば、コードの元の機能をテストするユニットテストがパスし続けることに頼ることができます。" #~ msgid "" -#~ "Imagine you're working on a puzzle " -#~ "where each puzzle piece represents a " -#~ "function, method, class or attribute in" -#~ " your Python package that you want " -#~ "other people to be able to use. " -#~ "Would you want to give someone a " -#~ "puzzle that has missing pieces or " -#~ "pieces that don't fit together? Providing" -#~ " people with the right puzzle pieces" -#~ " that work together can be compared " -#~ "to writing tests for your Python " -#~ "package." +#~ "Imagine you're working on a puzzle where each puzzle piece represents a " +#~ "function, method, class or attribute in your Python package that you want " +#~ "other people to be able to use. Would you want to give someone a puzzle that" +#~ " has missing pieces or pieces that don't fit together? Providing people with" +#~ " the right puzzle pieces that work together can be compared to writing tests" +#~ " for your Python package." #~ msgstr "" #~ "パズルのピースが、あなたのPythonパッケージの関数、メソッド、クラス、属性を表しているとしましょう。 " -#~ "そしてあなたは他の人に使ってもらいたいと思っています。 " -#~ "ピースが欠けていたり、ピースが合わなかったりするパズルを誰かに渡したいと思いますか? " +#~ "そしてあなたは他の人に使ってもらいたいと思っています。 ピースが欠けていたり、ピースが合わなかったりするパズルを誰かに渡したいと思いますか? " #~ "パズルのピースを正しく組み合わせて提供することは、Python パッケージのテストを書くことに例えることができます。" #~ msgid "🧩🐍" #~ msgstr "🧩🐍" #~ msgid "" -#~ "**Test at and near the expected " -#~ "boundaries:** If a function requires a " -#~ "value that is greater than or equal" -#~ " to 1, make sure that the " -#~ "function still works with both the " -#~ "values 1 and less than one and " -#~ "1.001 as well (something close to " -#~ "the constraint value).." +#~ "**Test at and near the expected boundaries:** If a function requires a value" +#~ " that is greater than or equal to 1, make sure that the function still works" +#~ " with both the values 1 and less than one and 1.001 as well (something close" +#~ " to the constraint value).." #~ msgstr "" -#~ "**予想される境界線とその付近でテストする:** 関数が1以上の値を必要とする場合、この関数が、1と1未満と1.001の両方の値" -#~ " (制約値に近い値) でも動作することを確認してください。" +#~ "**予想される境界線とその付近でテストする:** 関数が1以上の値を必要とする場合、この関数が、1と1未満と1.001の両方の値 (制約値に近い値) " +#~ "でも動作することを確認してください。" From 043fcee5c5569ad51bcb095459a5dbac033a5dc6 Mon Sep 17 00:00:00 2001 From: Tetsuo Koyama Date: Sat, 10 Oct 2026 22:47:54 +0900 Subject: [PATCH 2/9] i18n: review and fix all fuzzy translations in ja index catalog --- locales/ja/LC_MESSAGES/index.po | 159 +++++++++++++++----------------- 1 file changed, 73 insertions(+), 86 deletions(-) diff --git a/locales/ja/LC_MESSAGES/index.po b/locales/ja/LC_MESSAGES/index.po index 47c4dc69..4b99d793 100644 --- a/locales/ja/LC_MESSAGES/index.po +++ b/locales/ja/LC_MESSAGES/index.po @@ -14,12 +14,12 @@ msgstr "" "POT-Creation-Date: 2026-05-22 12:19-0700\n" "PO-Revision-Date: 2025-04-14 18:12+0000\n" "Last-Translator: Tetsuo Koyama , 2025\n" -"Language: ja\n" "Language-Team: ja \n" -"Plural-Forms: nplurals=1; plural=0;\n" +"Language: ja\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=1; plural=0;\n" "Generated-By: Babel 2.18.0\n" #: ../../index.md:257 @@ -55,9 +55,8 @@ msgid "Glossary" msgstr "用語集" #: ../../index.md:296 -#, fuzzy msgid "Reference" -msgstr "✿ リファレンスガイド ✿" +msgstr "リファレンス" #: ../../index.md:1 msgid "pyOpenSci Python Package Guide" @@ -101,12 +100,12 @@ msgstr "このガイドについて" #: ../../index.md:29 msgid "" "Image with the pyOpenSci flower logo in the upper right hand corner. The " -"image shows the packaging lifecycle. The graphic shows a high level " -"overview of the elements of a Python package. The inside circle has 5 items" -" - user documentation, code/api, test suite, contributor documentation, " -"project metadata / license / readme. In the middle of the circle is says " -"maintainers and has a small icon with people. On the outside circle there " -"is an arrow and it says infrastructure." +"image shows the packaging lifecycle. The graphic shows a high level overview" +" of the elements of a Python package. The inside circle has 5 items - user " +"documentation, code/api, test suite, contributor documentation, project " +"metadata / license / readme. In the middle of the circle is says maintainers" +" and has a small icon with people. On the outside circle there is an arrow " +"and it says infrastructure." msgstr "" "右上にpyOpenSciの花のロゴがある画像。画像はパッケージングのライフサイクルを示しています。図にはPythonパッケージの要素のハイレベルな概要が示されています。内側の円には5つの項目があります" " - " @@ -129,14 +128,16 @@ msgid "Navigate and make decisions around tool options" msgstr "ツールオプションのナビゲートと決定" #: ../../index.md:40 -msgid "Understand all of the pieces of creating and maintaining a Python package" +msgid "" +"Understand all of the pieces of creating and maintaining a Python package" msgstr "Pythonパッケージの作成と保守のすべてを理解する" #: ../../index.md:42 msgid "" "You will also find best practice recommendations and curated lists of " "community resources surrounding packaging and package documentation." -msgstr "また、パッケージングとパッケージドキュメンテーションにまつわるベストプラクティスの推奨や、コミュニティリソースのキュレーションリストもご覧いただけます。" +msgstr "" +"また、パッケージングとパッケージドキュメンテーションにまつわるベストプラクティスの推奨や、コミュニティリソースのキュレーションリストもご覧いただけます。" #: ../../index.md:45 msgid "Todo" @@ -171,9 +172,8 @@ msgid "Publish your docs" msgstr "ドキュメントを公開する" #: ../../index.md:59 -#, fuzzy msgid "Tutorial Series: Create a Python Package" -msgstr "_new_ チュートリアルシリーズ: Pythonパッケージの作成" +msgstr "チュートリアルシリーズ: Pythonパッケージの作成" #: ../../index.md:61 msgid "" @@ -183,8 +183,9 @@ msgid "" "here](https://github.com/pyOpenSci/python-package-guide)." msgstr "" "コミュニティが開発した、科学者のためのPythonパッケージの作り方チュートリアルシリーズの第一弾が完成しました! " -"コミュニティのレビュープロセスに参加したり、 [GitHub リポジトリはこちら](https://github.com/pyOpenSci" -"/python-package-guide) で今後のチュートリアルの開発を見守ったりしてください。" +"コミュニティのレビュープロセスに参加したり、 [GitHub " +"リポジトリはこちら](https://github.com/pyOpenSci/python-package-guide) " +"で今後のチュートリアルの開発を見守ったりしてください。" #: ../../index.md:68 msgid "✿ Create a Package Tutorials ✿" @@ -195,9 +196,8 @@ msgid "[What is a Python package?](/tutorials/intro)" msgstr "[Pythonパッケージとは何か?](/tutorials/intro)" #: ../../index.md:73 -#, fuzzy msgid "[Create a Python package](/tutorials/create-python-package)" -msgstr "[コードをインストール可能にする](/tutorials/create-python-package)" +msgstr "[Python パッケージの作成](/tutorials/create-python-package)" #: ../../index.md:74 msgid "[Publish your package to (test) PyPI](/tutorials/publish-pypi)" @@ -219,7 +219,8 @@ msgstr "[READMEファイルの追加方法](/tutorials/add-readme)" msgid "" "[How to add metadata to a pyproject.toml file for publication to " "PyPI.](/tutorials/pyproject-toml.md)" -msgstr "[PyPIに公開するためにpyproject.tomlファイルにメタデータを追加する方法](/tutorials/pyproject-toml.md)" +msgstr "" +"[PyPIに公開するためにpyproject.tomlファイルにメタデータを追加する方法](/tutorials/pyproject-toml.md)" #: ../../index.md:86 msgid "✿ Packaging Tool Tutorials ✿" @@ -230,9 +231,8 @@ msgid "[Introduction to Hatch](/tutorials/get-to-know-hatch)" msgstr "[Hatch入門](/tutorials/get-to-know-hatch)" #: ../../index.md:91 -#, fuzzy msgid "[Run Python scripts using Hatch](/tutorials/run-python-scripts-hatch)" -msgstr "[コードをインストール可能にする](/tutorials/create-python-package)" +msgstr "[Hatch を使って Python スクリプトを実行する](/tutorials/run-python-scripts-hatch)" #: ../../index.md:94 msgid "✿ Reference Guides ✿" @@ -249,8 +249,8 @@ msgstr "科学者のためのPythonパッケージング" #: ../../index.md:104 msgid "" "Learn about Python packaging best practices. You will also get to know the " -"the vibrant ecosystem of packaging tools that are available to help you " -"with your Python packaging needs." +"the vibrant ecosystem of packaging tools that are available to help you with" +" your Python packaging needs." msgstr "" "Python のパッケージングのベストプラクティスについて学びます。 また、Python " "のパッケージングを支援するために利用可能なパッケージングツールの活発なエコシステムを知ることができます。" @@ -260,7 +260,8 @@ msgid "✨ Create your package ✨" msgstr "✨パッケージの作成✨" #: ../../index.md:115 -msgid "[Package file structure](/package-structure-code/python-package-structure)" +msgid "" +"[Package file structure](/package-structure-code/python-package-structure)" msgstr "[パッケージファイル構造](/package-structure-code/python-package-structure)" #: ../../index.md:116 @@ -295,7 +296,8 @@ msgstr "" msgid "" "[Non pure Python builds](package-structure-code/complex-python-package-" "builds.md)" -msgstr "[純粋な Python 以外のビルド](package-structure-code/complex-python-package-builds.md)" +msgstr "" +"[純粋な Python 以外のビルド](package-structure-code/complex-python-package-builds.md)" #: ../../index.md:123 msgid "✨ Publish your package ✨" @@ -311,7 +313,8 @@ msgstr "Pythonのパッケージングエコシステムをより深く理解す msgid "" "[Package versioning & release](/package-structure-code/python-package-" "versions.md)" -msgstr "[パッケージのバージョン管理とリリース](/package-structure-code/python-package-versions.md)" +msgstr "" +"[パッケージのバージョン管理とリリース](/package-structure-code/python-package-versions.md)" #: ../../index.md:131 msgid "" @@ -333,8 +336,8 @@ msgstr "[ユーザーのための文書を作成する](/documentation/write-use #: ../../index.md:146 msgid "" -"[Core files to include in your package repository](/documentation" -"/repository-files/intro)" +"[Core files to include in your package " +"repository](/documentation/repository-files/intro)" msgstr "[パッケージリポジトリに含めるコアファイル](/documentation/repository-files/intro)" #: ../../index.md:147 @@ -342,8 +345,8 @@ msgid "" "[Write tutorials to show how your package is used](/documentation/write-" "user-documentation/create-package-tutorials)" msgstr "" -"[パッケージがどのように使われるかを示すチュートリアルを書く](/documentation/write-user-documentation" -"/create-package-tutorials)" +"[パッケージがどのように使われるかを示すチュートリアルを書く](/documentation/write-user-" +"documentation/create-package-tutorials)" #: ../../index.md:150 msgid "✨ Developer Docs ✨" @@ -351,9 +354,10 @@ msgstr "✨開発者向けドキュメント✨" #: ../../index.md:153 msgid "" -"[Create documentation for collaborating developers](/documentation" -"/repository-files/contributing-file)" -msgstr "[共同開発者のためのドキュメントの作成](/documentation/repository-files/contributing-file)" +"[Create documentation for collaborating " +"developers](/documentation/repository-files/contributing-file)" +msgstr "" +"[共同開発者のためのドキュメントの作成](/documentation/repository-files/contributing-file)" #: ../../index.md:154 msgid "" @@ -369,7 +373,8 @@ msgstr "✨コミュニティのためのドキュメント✨" msgid "" "[Writing a README file](/documentation/repository-files/readme-file-best-" "practices)" -msgstr "[READMEファイルの書き方](/documentation/repository-files/readme-file-best-practices)" +msgstr "" +"[READMEファイルの書き方](/documentation/repository-files/readme-file-best-practices)" #: ../../index.md:161 msgid "" @@ -406,8 +411,8 @@ msgid "" "[Host your docs on Read The Docs or GitHub Pages](/documentation/hosting-" "tools/publish-documentation-online)" msgstr "" -"[Read The Docs または GitHub Pages でドキュメントをホストする](/documentation/hosting-tools" -"/publish-documentation-online)" +"[Read The Docs または GitHub Pages でドキュメントをホストする](/documentation/hosting-" +"tools/publish-documentation-online)" #: ../../index.md:181 msgid "✨ Tests for your Python package ✨" @@ -430,14 +435,12 @@ msgid "✨ Run your tests ✨" msgstr "✨テストの実行✨" #: ../../index.md:192 -#, fuzzy msgid "[Run tests locally with Hatch](tests/run-tests)" -msgstr "[ローカルでテストを実行する](tests/run-tests)" +msgstr "[Hatch でローカルにテストを実行する](tests/run-tests)" #: ../../index.md:193 -#, fuzzy msgid "[Run tests with nox](tests/run-tests-nox)" -msgstr "[ローカルでテストを実行する](tests/run-tests)" +msgstr "[Nox でテストを実行する](tests/run-tests-nox)" #: ../../index.md:194 msgid "[Run tests in CI](tests/tests-ci)" @@ -476,8 +479,8 @@ msgstr "コミュニティが作るガイドブック" #: ../../index.md:229 msgid "" "Every page in this guidebook goes through an extensive community review " -"process. To ensure our guidebook is both beginner-friendly and accurate, we" -" encourage reviews from a diverse set of pythonistas and scientists with a " +"process. To ensure our guidebook is both beginner-friendly and accurate, we " +"encourage reviews from a diverse set of pythonistas and scientists with a " "wide range of skills and expertise." msgstr "" "このガイドブックのすべてのページは、コミュニティの広範なレビュープロセスを経ています。 " @@ -519,28 +522,28 @@ msgstr "このガイドの方向性" #: ../../index.md:250 msgid "" -"If you have ideas of things you'd like to see here clarified in this guide," -" [we invite you to open an issue on GitHub.](https://github.com/pyOpenSci" -"/python-package-guide/issues)." +"If you have ideas of things you'd like to see here clarified in this guide, " +"[we invite you to open an issue on " +"GitHub.](https://github.com/pyOpenSci/python-package-guide/issues)." msgstr "" -"このガイドで明確にしてほしいことがあれば、 [GitHubにissueを開いてください。](https://github.com/pyOpenSci" -"/python-package-guide/issues) 。" +"このガイドで明確にしてほしいことがあれば、 " +"[GitHubにissueを開いてください。](https://github.com/pyOpenSci/python-package-" +"guide/issues) 。" #: ../../index.md:253 -#, fuzzy msgid "" -"If you have questions about our peer review process or packaging in " -"general, you are welcome to use our [GitHub " +"If you have questions about our peer review process or packaging in general," +" you are welcome to use our [GitHub " "Discussions](https://github.com/orgs/pyOpenSci/discussions)." msgstr "" -"レビュープロセスやパッケージング全般について質問がある場合は、 [pyOpenSci Discourse " -"forum](https://pyopensci.discourse.group/) をご利用ください。" +"レビュープロセスやパッケージング全般について質問がある場合は、[GitHub " +"Discussions](https://github.com/orgs/pyOpenSci/discussions) をご利用ください。" #: ../../index.md:255 msgid "" "This living Python packaging guide is updated as tools and best practices " -"evolve in the Python packaging ecosystem. We will be adding new content " -"over the next year." +"evolve in the Python packaging ecosystem. We will be adding new content over" +" the next year." msgstr "" "これは Python のパッケージングエコシステムにおけるツールやベストプラクティスの進化に合わせて更新されるこの生きた Python " "パッケージングガイドです。 来年にかけて新しいコンテンツを追加していく予定です。" @@ -549,41 +552,25 @@ msgstr "" #~ msgstr "CI/CD" #~ msgid "" -#~ "*We are actively working on this " -#~ "section. [Follow development " +#~ "*We are actively working on this section. [Follow development " #~ "here.](https://github.com/pyOpenSci/python-package-guide)*" #~ msgstr "" #~ "*私たちはこのセクションに積極的に取り組んでいます。 " -#~ "[開発のフォローはこちら](https://github.com/pyOpenSci/python-package-" -#~ "guide)*" +#~ "[開発のフォローはこちら](https://github.com/pyOpenSci/python-package-guide)*" #~ msgid "" -#~ "xkcd comic showing a stick figure on" -#~ " the ground and one in the air." -#~ " The one on the ground is saying." -#~ " `You're flying! how?` The person in" -#~ " the air replies `Python!` Below is" -#~ " a 3 rectangle comic with the " -#~ "following text in each box. Box 1" -#~ " - I learned it last night. " -#~ "Everything is so simple. Hello world " -#~ "is just print hello world. Box 2 " -#~ "- the person on the ground says " -#~ "- come join us programming is fun" -#~ " again. It's a whole new world. " -#~ "But how are you flying? box 3 " -#~ "- the person flying says - i " -#~ "just typed import antigravity. I also " -#~ "sampled everything in the medicine " -#~ "cabinet. But i think this is the " -#~ "python. The person on the ground is" -#~ " saying - that's it?" +#~ "xkcd comic showing a stick figure on the ground and one in the air. The one " +#~ "on the ground is saying. `You're flying! how?` The person in the air " +#~ "replies `Python!` Below is a 3 rectangle comic with the following text in " +#~ "each box. Box 1 - I learned it last night. Everything is so simple. Hello " +#~ "world is just print hello world. Box 2 - the person on the ground says - " +#~ "come join us programming is fun again. It's a whole new world. But how are " +#~ "you flying? box 3 - the person flying says - i just typed import " +#~ "antigravity. I also sampled everything in the medicine cabinet. But i think " +#~ "this is the python. The person on the ground is saying - that's it?" #~ msgstr "" -#~ "xkcdの漫画で、地面に置かれた棒人間と空中にある棒人間が描かれている。地上にいる人が言っている。 " -#~ "`あなたは飛んでいる!どうやって?` 空中にいる人は `Python!` " -#~ "と答える。以下は3つの長方形のマンガで、各ボックスに次のテキストが入っている。ボックス1 - " -#~ "昨夜学んだ。すべてがとてもシンプルだ。Hello worldはprint hello " -#~ "worldだけ。ボックス2 - 地上にいる人が言う。まったく新しい世界だ。でもどうやって飛んでるの?ボックス3 " -#~ "- 飛んでいる人はこう言う。- " -#~ "`反重力をインポートしました。薬箱の中のものも全部試しました。でもこれがpythonだと思う。地上の人はこう言っている。- " -#~ "これで終わり?" +#~ "xkcdの漫画で、地面に置かれた棒人間と空中にある棒人間が描かれている。地上にいる人が言っている。 `あなたは飛んでいる!どうやって?` 空中にいる人は" +#~ " `Python!` と答える。以下は3つの長方形のマンガで、各ボックスに次のテキストが入っている。ボックス1 - " +#~ "昨夜学んだ。すべてがとてもシンプルだ。Hello worldはprint hello worldだけ。ボックス2 - " +#~ "地上にいる人が言う。まったく新しい世界だ。でもどうやって飛んでるの?ボックス3 - 飛んでいる人はこう言う。- " +#~ "`反重力をインポートしました。薬箱の中のものも全部試しました。でもこれがpythonだと思う。地上の人はこう言っている。- これで終わり?" From 233b02cf4921cabcf524bc8bbd610070bbab2d91 Mon Sep 17 00:00:00 2001 From: Tetsuo Koyama Date: Sat, 10 Oct 2026 22:48:04 +0900 Subject: [PATCH 3/9] i18n: fix badge URL in ja index catalog fuzzy entry --- locales/ja/LC_MESSAGES/index.po | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/locales/ja/LC_MESSAGES/index.po b/locales/ja/LC_MESSAGES/index.po index 4b99d793..c19cfb47 100644 --- a/locales/ja/LC_MESSAGES/index.po +++ b/locales/ja/LC_MESSAGES/index.po @@ -69,7 +69,6 @@ msgid "" msgstr "私たちは、科学者がオープンサイエンスのワークフローを作成するために必要なPythonツールをサポートしています。" #: ../../index.md:20 -#, fuzzy msgid "" "![GitHub release (latest by " "date)](https://img.shields.io/github/v/release/pyopensci/python-package-" @@ -82,7 +81,7 @@ msgstr "" "date)](https://img.shields.io/github/v/release/pyopensci/python-package-" "guide?color=purple&display_name=tag&style=plastic) " "[![](https://img.shields.io/github/stars/pyopensci/python-package-" -"guide?style=social)](https://github.com/pyopensci/contributing-guide) " +"guide?style=social)](https://github.com/pyopensci/python-package-guide) " "[![DOI](https://zenodo.org/badge/556814582.svg)](https://zenodo.org/badge/latestdoi/556814582)" #: ../../index.md:20 From 31074633c0a3b331a8c3717b66e4d526dcb47856 Mon Sep 17 00:00:00 2001 From: Tetsuo Koyama Date: Sat, 10 Oct 2026 22:48:16 +0900 Subject: [PATCH 4/9] i18n: review and fix fuzzy translation in ja CONTRIBUTING catalog --- locales/ja/LC_MESSAGES/CONTRIBUTING.po | 232 +++++++++++++------------ 1 file changed, 119 insertions(+), 113 deletions(-) diff --git a/locales/ja/LC_MESSAGES/CONTRIBUTING.po b/locales/ja/LC_MESSAGES/CONTRIBUTING.po index 2b038c8b..b08ec427 100644 --- a/locales/ja/LC_MESSAGES/CONTRIBUTING.po +++ b/locales/ja/LC_MESSAGES/CONTRIBUTING.po @@ -14,13 +14,12 @@ msgstr "" "POT-Creation-Date: 2026-08-25 07:47+0900\n" "PO-Revision-Date: 2025-04-14 18:12+0000\n" "Last-Translator: Tetsuo Koyama , 2025\n" +"Language-Team: Japanese (https://app.transifex.com/tkoyama010/teams/196662/ja/)\n" "Language: ja\n" -"Language-Team: Japanese " -"(https://app.transifex.com/tkoyama010/teams/196662/ja/)\n" -"Plural-Forms: nplurals=1; plural=0;\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=1; plural=0;\n" "Generated-By: Babel 2.18.0\n" #: ../../CONTRIBUTING.md:4 @@ -45,19 +44,20 @@ msgid "" "[please open an issue here](https://github.com/pyOpenSci/python-package-" "guide/issues)." msgstr "" -"ガイドに含めるべきもののアイデアがあれば、 [ここにissueを開いてください](https://github.com/pyOpenSci" -"/python-package-guide/issues) 。" +"ガイドに含めるべきもののアイデアがあれば、 " +"[ここにissueを開いてください](https://github.com/pyOpenSci/python-package-guide/issues)" +" 。" #: ../../CONTRIBUTING.md:13 msgid "" "If you find a typo, feel free to [submit a pull " -"request](https://github.com/pyOpenSci/python-package-guide/pulls) to modify" -" the text directly. Or, if you are less comfortable with pull requests, " -"feel free to open an issue." +"request](https://github.com/pyOpenSci/python-package-guide/pulls) to modify " +"the text directly. Or, if you are less comfortable with pull requests, feel " +"free to open an issue." msgstr "" -"もしタイプミスを見つけたら、遠慮なく [submit a pull request](https://github.com/pyOpenSci" -"/python-package-guide/pulls) して直接テキストを修正してください。 " -"あるいは、プルリクエストに抵抗がある場合は、遠慮なくissueを開いてください。" +"もしタイプミスを見つけたら、遠慮なく [submit a pull " +"request](https://github.com/pyOpenSci/python-package-guide/pulls) " +"して直接テキストを修正してください。 あるいは、プルリクエストに抵抗がある場合は、遠慮なくissueを開いてください。" #: ../../CONTRIBUTING.md:14 msgid "" @@ -67,8 +67,8 @@ msgstr "このガイドを他の言語に翻訳することに興味がある方 #: ../../CONTRIBUTING.md:15 msgid "" -"If you want to see a larger change to the content of the guide book, please" -" submit an issue first!" +"If you want to see a larger change to the content of the guide book, please " +"submit an issue first!" msgstr "ガイドブックの内容をもっと大きく変えてほしいという方は、まずissueを投稿してください!" #: ../../CONTRIBUTING.md:17 @@ -104,10 +104,10 @@ msgstr "このガイドには2つの方法で貢献することができます #: ../../CONTRIBUTING.md:29 msgid "" -"The first approach is using a local copy of the guide in your computer. " -"This option requires a more involved setup, but allows you to build the " -"guide locally to verify your contribution did not introduce any bugs before" -" submitting a pull request. It is the recommended approach for larger " +"The first approach is using a local copy of the guide in your computer. This" +" option requires a more involved setup, but allows you to build the guide " +"locally to verify your contribution did not introduce any bugs before " +"submitting a pull request. It is the recommended approach for larger " "contribution, like writing a whole new section." msgstr "" "最初のアプローチは、あなたのコンピュータにあるガイドのローカルコピーを使用することです。 " @@ -120,13 +120,12 @@ msgid "" "website. This option does not require any setup on your computer and while " "your contribution will still be tested when you submit a PR (continuous " "integration), it will take longer for you to get any feedback in case of " -"issue. It is the best way to make small contribution, like fixing typos, or" -" if this is your first contribution to open source and the first approach " +"issue. It is the best way to make small contribution, like fixing typos, or " +"if this is your first contribution to open source and the first approach " "feels too intimidating." msgstr "" -"二つ目の方法は、GitHub のウェブサイトで直接貢献する方法です。 " -"この方法ではコンピュータのセットアップは不要で、PRを投稿した時点であなたの貢献は (継続的インテグレーション) " -"テストされますが、問題が発生した場合にフィードバックを得るまでに時間がかかります。 " +"二つ目の方法は、GitHub のウェブサイトで直接貢献する方法です。 この方法ではコンピュータのセットアップは不要で、PRを投稿した時点であなたの貢献は" +" (継続的インテグレーション) テストされますが、問題が発生した場合にフィードバックを得るまでに時間がかかります。 " "誤字脱字の修正のような小さな貢献をする場合や、オープンソースへの貢献が初めてで、最初のアプローチが敷居が高いと感じる場合に最適な方法です。" #: ../../CONTRIBUTING.md:33 @@ -149,8 +148,9 @@ msgid "" "Repos](https://datascienceskills.org/lessons/git-github/git-intro/3-fork-" "clone/) is a good resource to learn more about forking." msgstr "" -"[さらに詳しく: GitHub ReposのFork と Clone](https://datascienceskills.org/lessons" -"/git-github/git-intro/3-fork-clone/) は、フォークについて学ぶのに良いリソースです。" +"[さらに詳しく: GitHub ReposのFork と " +"Clone](https://datascienceskills.org/lessons/git-github/git-intro/3-fork-" +"clone/) は、フォークについて学ぶのに良いリソースです。" #: ../../CONTRIBUTING.md:40 msgid "To fork a repo," @@ -161,26 +161,26 @@ msgid "Make sure you are logged into GitHub." msgstr "GitHubにログインしていることを確認してください。" #: ../../CONTRIBUTING.md:44 -#, fuzzy msgid "" "Go to the repo you would like to fork, in this case the [Python Packaging " "Guide](https://github.com/pyopensci/python-package-guide) repo." msgstr "" -"フォークしたいリポジトリ、ここでは [Pythonパッケージングガイド](https://www.github.com/pyopensci" -"/python-package-guide) リポジトリに移動します。" +"フォークしたいリポジトリ、ここでは [Python Packaging " +"Guide](https://github.com/pyopensci/python-package-guide) リポジトリに移動します。" #: ../../CONTRIBUTING.md:46 msgid "" "In the top right-hand corner of the page there is a 'Fork' button. Click " -"that button. You will be brought to a new page where you will 'Create a new" -" fork'. Feel free to keep all the default inputs and click 'Create fork'. " -"This will create a copy of the repo at `https://github.com//python-package-guide`, where `` is your GitHub username." +"that button. You will be brought to a new page where you will 'Create a new " +"fork'. Feel free to keep all the default inputs and click 'Create fork'. " +"This will create a copy of the repo at " +"`https://github.com//python-package-guide`, where `` is " +"your GitHub username." msgstr "" -"ページの右上に 'Fork' ボタンがあります。そのボタンをクリックしてください。 新しいページが表示され、そこで '新しいフォークを作成' します。" -" デフォルトの入力のまま、'Create fork' をクリックします。 これで、 `https://github.com/1" -"/python-package-guide` にリポジトリのコピーが作成されます。 `` はあなたの GitHub " -"ユーザー名です。" +"ページの右上に 'Fork' ボタンがあります。そのボタンをクリックしてください。 新しいページが表示され、そこで '新しいフォークを作成' します。 " +"デフォルトの入力のまま、'Create fork' をクリックします。 これで、 " +"`https://github.com/1/python-package-guide` にリポジトリのコピーが作成されます。 " +"`` はあなたの GitHub ユーザー名です。" #: ../../CONTRIBUTING.md:51 msgid "Contributing via the GitHub website" @@ -193,9 +193,9 @@ msgstr "MarkDownファイルの編集方法" #: ../../CONTRIBUTING.md:55 msgid "" "The Python Packaging Guide is written in myST, a variant of MarkDown. You " -"can edit the files directly in the GitHub website. To do so, navigate to " -"the file you want to edit and click the pencil icon in the top right corner" -" of the file." +"can edit the files directly in the GitHub website. To do so, navigate to the" +" file you want to edit and click the pencil icon in the top right corner of " +"the file." msgstr "" "Python パッケージングガイドは、MarkDown の変種である myST " "で書かれています。GitHubのウェブサイトでファイルを直接編集できます。編集したいファイルに移動し、ファイルの右上にある鉛筆のアイコンをクリックします。" @@ -216,8 +216,8 @@ msgstr "GitHubの編集ファイル" #: ../../CONTRIBUTING.md:72 msgid "" -"An image showing when a file is being edited in GitHub. The file content is" -" displayed in a text editor." +"An image showing when a file is being edited in GitHub. The file content is " +"displayed in a text editor." msgstr "GitHubでファイルが編集されているときに表示される画像です。 ファイルの内容はテキストエディタで表示されます。" #: ../../CONTRIBUTING.md:75 @@ -244,9 +244,9 @@ msgstr "変更をコミットする方法" #: ../../CONTRIBUTING.md:88 msgid "" "When you are done editing the file, scroll down to the bottom of the page. " -"You will see a section called \"Commit changes\". Here you can write a " -"title and a description for your changes. Make sure to write a clear and " -"concise title that describes the changes you made." +"You will see a section called \"Commit changes\". Here you can write a title" +" and a description for your changes. Make sure to write a clear and concise " +"title that describes the changes you made." msgstr "" "ファイルの編集が終わったら、ページの下までスクロールしてください。 \"変更をコミット\" " "というセクションが表示されます。ここでは、変更内容のタイトルと説明を書くことができます。タイトルは、あなたが行った変更を説明する明確で簡潔なものにしましょう。" @@ -258,8 +258,8 @@ msgstr "GitHubで変更をコミットする" #: ../../CONTRIBUTING.md:97 msgid "" "An image showing how to commit changes in GitHub. The commit message is " -"displayed in a text editor. The commit changes section is highlighted with " -"a red rectangle." +"displayed in a text editor. The commit changes section is highlighted with a" +" red rectangle." msgstr "" "GitHub で変更をコミットする方法を示す画像です。コミットのメッセージはテキストエディタで表示されます。 " "コミット変更セクションは赤い四角で強調表示されます。" @@ -282,12 +282,13 @@ msgstr "フォークしたリポジトリをクローンする" msgid "" "To clone your forked repository to your computer, you need to copy the URL " "of your forked repository and run the following command in your terminal:" -msgstr "フォークしたリポジトリを自分のコンピューターにクローンするには、フォークしたリポジトリのURLをコピーし、ターミナルで以下のコマンドを実行する必要があります:" +msgstr "" +"フォークしたリポジトリを自分のコンピューターにクローンするには、フォークしたリポジトリのURLをコピーし、ターミナルで以下のコマンドを実行する必要があります:" #: ../../CONTRIBUTING.md:111 msgid "" -"Replace `` with the URL of your forked repository. You can find the " -"URL by clicking the green \"Code\" button on your forked repository page." +"Replace `` with the URL of your forked repository. You can find the URL" +" by clicking the green \"Code\" button on your forked repository page." msgstr "" "`` をフォークしたリポジトリのURLに置き換えてください。URLは、フォークしたリポジトリページの緑色の \"Code\" " "ボタンをクリックすると表示されます。" @@ -312,9 +313,10 @@ msgstr "新しいブランチを作る" #: ../../CONTRIBUTING.md:124 msgid "" "Before making any changes, you should create a new branch to work on. This " -"will help keep your changes separate from the main branch and make it " -"easier to submit a pull request." -msgstr "変更を加える前に、作業をする新しいブランチを作成してください。こうすることで、あなたの変更をメインブランチから切り離すことができ、プルリクエストを提出しやすくなります。" +"will help keep your changes separate from the main branch and make it easier" +" to submit a pull request." +msgstr "" +"変更を加える前に、作業をする新しいブランチを作成してください。こうすることで、あなたの変更をメインブランチから切り離すことができ、プルリクエストを提出しやすくなります。" #: ../../CONTRIBUTING.md:126 msgid "To create a new branch, run the following command in your terminal:" @@ -327,9 +329,10 @@ msgstr "仮想環境を作る" #: ../../CONTRIBUTING.md:134 msgid "" "To build the guide locally, you need to create a virtual environment and " -"install the dependencies. You can do this by running the following commands" -" in your terminal:" -msgstr "ガイドをローカルでビルドするには、仮想環境を作成し、依存関係をインストールする必要があります。ターミナルで以下のコマンドを実行すれば可能です:" +"install the dependencies. You can do this by running the following commands " +"in your terminal:" +msgstr "" +"ガイドをローカルでビルドするには、仮想環境を作成し、依存関係をインストールする必要があります。ターミナルで以下のコマンドを実行すれば可能です:" #: ../../CONTRIBUTING.md:136 msgid "**On Windows**:" @@ -364,9 +367,9 @@ msgid "" "`cmd.exe` prompt you need to remove them and run `python -m pip install -e " ".[dev]` instead, because `cmd.exe` does not strip single quotes." msgstr "" -"Windows では、これらは PowerShell では無害ですが、古い `cmd.exe` " -"プロンプトを使用している場合は、それらを削除し、代わりに `python -m pip install -e .[dev]` " -"を実行する必要があります。これは、`cmd.exe` が一重引用符を削除しないためです。" +"Windows では、これらは PowerShell では無害ですが、古い `cmd.exe` プロンプトを使用している場合は、それらを削除し、代わりに" +" `python -m pip install -e .[dev]` を実行する必要があります。これは、`cmd.exe` " +"が一重引用符を削除しないためです。" #: ../../CONTRIBUTING.md:160 msgid "Commit your changes" @@ -374,8 +377,8 @@ msgstr "変更をコミットする" #: ../../CONTRIBUTING.md:162 msgid "" -"After making your changes, you need to commit them to your local " -"repository. To do this, run the following commands in your terminal:" +"After making your changes, you need to commit them to your local repository." +" To do this, run the following commands in your terminal:" msgstr "変更を加えたら、ローカルリポジトリにコミットする必要があります。 これを行うには、ターミナルで以下のコマンドを実行します:" #: ../../CONTRIBUTING.md:164 @@ -392,8 +395,8 @@ msgstr "変更をコミットするには:" #: ../../CONTRIBUTING.md:176 msgid "" -"Replace `\"Your commit message here\"` with a clear and concise message " -"that describes the changes you made." +"Replace `\"Your commit message here\"` with a clear and concise message that" +" describes the changes you made." msgstr "`\"Your commit message here\"` を、あなたが行った変更を説明する明確で簡潔なメッセージに置き換えてください。" #: ../../CONTRIBUTING.md:178 @@ -402,9 +405,8 @@ msgstr "ローカルでのガイドのビルド方法" #: ../../CONTRIBUTING.md:180 msgid "" -"To build the guide locally, you can use the `nox` command. This will run " -"the default `nox` session, which builds the guide and opens it in your " -"browser." +"To build the guide locally, you can use the `nox` command. This will run the" +" default `nox` session, which builds the guide and opens it in your browser." msgstr "" "ガイドをローカルにビルドするには、`nox`コマンドを使うことができます。これはデフォルトの `nox` " "セッションを実行し、ガイドをビルドしてブラウザで開きます。" @@ -450,14 +452,14 @@ msgstr "`docs-test`: このセッションでは、ガイドのテストを実 #: ../../CONTRIBUTING.md:205 msgid "" -"If the tests fail, you will see an error message in your terminal. You need" -" to fix the errors before submitting your pull request." +"If the tests fail, you will see an error message in your terminal. You need " +"to fix the errors before submitting your pull request." msgstr "テストが失敗すると、ターミナルにエラーメッセージが表示されます。 プルリクエストを提出する前にエラーを修正する必要があります。" #: ../../CONTRIBUTING.md:207 msgid "" -"`docs-live`: this session builds the guide and opens it in your browser " -"with live reloading." +"`docs-live`: this session builds the guide and opens it in your browser with" +" live reloading." msgstr "`docs-live`: このセッションでガイドを作成し、ライブリローディングしてブラウザで開きます。" #: ../../CONTRIBUTING.md:211 @@ -478,10 +480,10 @@ msgstr "プルリクエストを提出する前に、必ずテストを実行し #: ../../CONTRIBUTING.md:220 msgid "" -"If the tests fail, you will see an error message in your terminal. You need" -" to fix the errors before submitting your pull request. Also make sure to " -"check the formatting of your documentation by building the docs locally and" -" checking that your changes look correct." +"If the tests fail, you will see an error message in your terminal. You need " +"to fix the errors before submitting your pull request. Also make sure to " +"check the formatting of your documentation by building the docs locally and " +"checking that your changes look correct." msgstr "" "テストに失敗すると、ターミナルにエラーメッセージが表示されます。 プルリクエストを提出する前にエラーを修正する必要があります。 " "また、ドキュメントをローカルでビルドし、変更が正しく見えるかどうかをチェックすることで、ドキュメントのフォーマットを確認してください。" @@ -526,8 +528,8 @@ msgstr "GitHubで新しいプルリクエストを作成する方法を示す画 #: ../../CONTRIBUTING.md:250 msgid "" -"Write a clear and concise title and description for your pull request. Make" -" sure to describe the changes you made and why they are necessary." +"Write a clear and concise title and description for your pull request. Make " +"sure to describe the changes you made and why they are necessary." msgstr "プルリクエストのタイトルと説明を明確かつ簡潔に書きましょう。変更した内容と、それが必要な理由を必ず説明してください。" #: ../../CONTRIBUTING.md:252 @@ -537,9 +539,9 @@ msgstr "プルリクエストを提出するとどうなるか(CI/CD)" #: ../../CONTRIBUTING.md:254 msgid "" "Once you submit a pull request, a series of checks will be run to ensure " -"that your changes do not introduce any bugs or errors. These checks " -"include:" -msgstr "あなたがプルリクエストを提出すると、あなたの変更がバグやエラーを引き起こさないように、一連のチェックが実行されます。これらのチェックには以下が含まれます:" +"that your changes do not introduce any bugs or errors. These checks include:" +msgstr "" +"あなたがプルリクエストを提出すると、あなたの変更がバグやエラーを引き起こさないように、一連のチェックが実行されます。これらのチェックには以下が含まれます:" #: ../../CONTRIBUTING.md:256 msgid "" @@ -576,7 +578,8 @@ msgstr "" msgid "" "If any of these checks fail, you will see an error message in your pull " "request. You need to fix the errors before your changes can be merged." -msgstr "これらのチェックのいずれかが失敗した場合、プルリクエストにエラーメッセージが表示されます。変更をマージする前に、エラーを修正する必要があります。" +msgstr "" +"これらのチェックのいずれかが失敗した場合、プルリクエストにエラーメッセージが表示されます。変更をマージする前に、エラーを修正する必要があります。" #: ../../CONTRIBUTING.md:271 msgid "Pull request checks failed in GitHub" @@ -631,7 +634,8 @@ msgid "" "You can make changes to your pull request by pushing new commits to the " "branch. The pull request will be updated automatically with your new " "changes." -msgstr "新しいコミットをブランチにプッシュすることで、プルリクエストに変更を加えることができます。プルリクエストはあなたの新しい変更で自動的に更新されます。" +msgstr "" +"新しいコミットをブランチにプッシュすることで、プルリクエストに変更を加えることができます。プルリクエストはあなたの新しい変更で自動的に更新されます。" #: ../../CONTRIBUTING.md:292 msgid "" @@ -649,9 +653,9 @@ msgstr "助けを求めるには" #: ../../CONTRIBUTING.md:298 msgid "" -"*__TODO__: This section should describe the options for finding more help " -"in case beginner contributors need more help (e.g., create an issue, post " -"in a forum, etc).*" +"*__TODO__: This section should describe the options for finding more help in" +" case beginner contributors need more help (e.g., create an issue, post in a" +" forum, etc).*" msgstr "" "*__TODO__: このセクションには、初心者の投稿者がさらに助けを必要とする場合に備えて、より多くの助けを見つけるためのオプション " "(イシューの作成、フォーラムへの投稿など) を記述してください。*" @@ -662,8 +666,8 @@ msgstr "その他のリソース" #: ../../CONTRIBUTING.md:302 msgid "" -"*__TODO__: It should also include links to beginner documentation, like the" -" GitHub docs.*" +"*__TODO__: It should also include links to beginner documentation, like the " +"GitHub docs.*" msgstr "*__TODO__: また、GitHubのドキュメントのような初心者向けのドキュメントへのリンクも含める必要があります。*" #: ../../CONTRIBUTING.md:304 @@ -678,8 +682,8 @@ msgstr "コード例" msgid "" "This guide uses the [literalinclude Sphinx directive](https://www.sphinx-" "doc.org/en/master/usage/restructuredtext/directives.html#directive-" -"literalinclude) whenever possible to keep code and prose separate. Code for" -" use in the documentation is kept in the `examples/` folder." +"literalinclude) whenever possible to keep code and prose separate. Code for " +"use in the documentation is kept in the `examples/` folder." msgstr "" "このガイドでは、可能な限り [iteralinclude Sphinx ディレクティブ](https://www.sphinx-" "doc.org/en/master/usage/restructuredtext/directives.html#directive-" @@ -694,7 +698,8 @@ msgid "" "If an example is present elsewhere in the documentation that you want to " "use, you can copy the `literalinclude` directive verbatim and the examples " "will stay in sync." -msgstr "使用したい例がドキュメントの他の場所にある場合、 `literalinclude` ディレクティブをそのままコピーすれば、例は同期されたままになります。" +msgstr "" +"使用したい例がドキュメントの他の場所にある場合、 `literalinclude` ディレクティブをそのままコピーすれば、例は同期されたままになります。" #: ../../CONTRIBUTING.md:317 msgid "" @@ -702,20 +707,20 @@ msgid "" "documentation, a new `literalinclude` can be made to extract it into the " "site. Only a relative path to the code is required for a working " "`literalinclude`, but you should in almost all cases also provide a " -"`:language:` and `:lines:`. The former makes code examples prettier, and " -"the later can protect your example from future modifications to the code." +"`:language:` and `:lines:`. The former makes code examples prettier, and the" +" later can protect your example from future modifications to the code." msgstr "" "すでに example フォルダに新しいドキュメントに使えそうなコードがある場合は、新しい `literalinclude` " -"を作成して、それをサイトに展開することができます。 動作する `literalinclude` " -"に必要なのはコードへの相対パスだけですが、ほとんどの場合 `:language:` と `:lines:` も指定する必要があります。 " +"を作成して、それをサイトに展開することができます。 動作する `literalinclude` に必要なのはコードへの相対パスだけですが、ほとんどの場合" +" `:language:` と `:lines:` も指定する必要があります。 " "前者はコード例をより美しくし、後者は将来的なコードの変更からサンプルを守ることができます。" #: ../../CONTRIBUTING.md:322 msgid "" "**Pro tip**: As an alternative to `:lines:` there are also the `:start-" "after:`, `:start-at:`, `:end-before:`, and `:end-at:` options. And if the " -"example code is Python, `:pyobject:` can be an even more future-proof way " -"to keep the same documentation content even through code refactors." +"example code is Python, `:pyobject:` can be an even more future-proof way to" +" keep the same documentation content even through code refactors." msgstr "" "**プロからのヒント** : `:lines:` の代わりに `:start-after:`, `:start-at:`, `:end-" "before:`, `:end-at:` オプションもあります。 また、サンプルコードがPythonの場合、 `:pyobject:` " @@ -723,8 +728,8 @@ msgstr "" #: ../../CONTRIBUTING.md:326 msgid "" -"If you need example code that doesn't yet exist in `examples/` see " -"[creating code for documentation](#creating-code-for-documentation)." +"If you need example code that doesn't yet exist in `examples/` see [creating" +" code for documentation](#creating-code-for-documentation)." msgstr "" "`examples/` にまだ存在しないサンプルコードが必要な場合は、 [ドキュメント用のコードを作成する](#creating-code-for-" "documentation) を参照してください。" @@ -736,9 +741,9 @@ msgstr "ドキュメント用コードの作成" #: ../../CONTRIBUTING.md:331 msgid "" "Whenever you come across a place that could benefit from a code block, " -"instead of writing it in-line with a code fence (`` ``` `` blocked text) " -"you can write it as a file in its own format. Your example may even already" -" exist; [see referencing code in documentation ](#referencing-code-in-" +"instead of writing it in-line with a code fence (`` ``` `` blocked text) you" +" can write it as a file in its own format. Your example may even already " +"exist; [see referencing code in documentation ](#referencing-code-in-" "documentation)." msgstr "" "コードブロックが役立つ場所に出くわしたら、コードフェンス (`` ``` `` " @@ -750,8 +755,8 @@ msgid "" "If you want to add a new example that doesn't fit into any of the existing " "example files, you can create a new file and reference it in a " "`literalinclude` block. If it makes sense for that file to live within one " -"of the existing example projects please add it there; otherwise create a " -"new folder in the `examples` directory." +"of the existing example projects please add it there; otherwise create a new" +" folder in the `examples` directory." msgstr "" "既存のサンプルファイルのどれにも当てはまらない新しいサンプルを追加したい場合は、新しいファイルを作成して `literalinclude` " "ブロックで参照することができます。 " @@ -772,20 +777,21 @@ msgstr "" #: ../../CONTRIBUTING.md:343 msgid "" -"Example code is checked for correctness, so adding a new example may " -"require adding additional tests for coverage, and will require fixing any " -"failing tests." -msgstr "例題のコードは正しさをチェックされるので、新しい例題を追加するには、カバレッジのためのテストを追加する必要があるかもしれないし、失敗したテストを修正する必要があるかもしれません。" +"Example code is checked for correctness, so adding a new example may require" +" adding additional tests for coverage, and will require fixing any failing " +"tests." +msgstr "" +"例題のコードは正しさをチェックされるので、新しい例題を追加するには、カバレッジのためのテストを追加する必要があるかもしれないし、失敗したテストを修正する必要があるかもしれません。" #: ../../CONTRIBUTING.md:346 msgid "" -"***⚠️ WARNING***: great care should be taken when modifying existing " -"example code, especially any modification beyond appending to the end of " -"the file. All code examples are (potentially) shared examples. This makes " -"for more consistent examples in the guide but can mean action-at-a-distance" -" when modifying the examples for one particular use case. If you find " -"yourself modifying existing examples try running this command and then " -"checking those pages in a new build." +"***⚠️ WARNING***: great care should be taken when modifying existing example" +" code, especially any modification beyond appending to the end of the file. " +"All code examples are (potentially) shared examples. This makes for more " +"consistent examples in the guide but can mean action-at-a-distance when " +"modifying the examples for one particular use case. If you find yourself " +"modifying existing examples try running this command and then checking those" +" pages in a new build." msgstr "" "***⚠️ 警告***: 既存のサンプル・コードを変更する場合、特にファイルの末尾に追加する以上の変更を加える場合は、細心の注意が必要です。 " "すべてのコード例は(潜在的に)共有例です。 " @@ -806,8 +812,8 @@ msgstr "python は `.py` ファイルに展開することができます。" #: ../../CONTRIBUTING.md:381 msgid "" -"As another example, if you only need to show part of a `pyproject.toml`, we" -" already have complete project definitions, you need only to find the " +"As another example, if you only need to show part of a `pyproject.toml`, we " +"already have complete project definitions, you need only to find the " "relevant part." msgstr "" "別の例として、 `pyproject.toml` " From b0b30558537c7a5494ebd31f9d06682b0a443294 Mon Sep 17 00:00:00 2001 From: Tetsuo Koyama Date: Sat, 10 Oct 2026 22:48:44 +0900 Subject: [PATCH 5/9] i18n: review and fix all fuzzy translations in ja TRANSLATING catalog Update noxfile.py/LANGUAGES references to conf.py/languages per current source --- locales/ja/LC_MESSAGES/TRANSLATING.po | 427 +++++++++++++------------- 1 file changed, 214 insertions(+), 213 deletions(-) diff --git a/locales/ja/LC_MESSAGES/TRANSLATING.po b/locales/ja/LC_MESSAGES/TRANSLATING.po index 01f18383..a88eacb2 100644 --- a/locales/ja/LC_MESSAGES/TRANSLATING.po +++ b/locales/ja/LC_MESSAGES/TRANSLATING.po @@ -14,12 +14,12 @@ msgstr "" "POT-Creation-Date: 2026-08-25 07:47+0900\n" "PO-Revision-Date: 2025-04-14 18:12+0000\n" "Last-Translator: Tetsuo Koyama , 2025\n" -"Language: ja\n" "Language-Team: ja \n" -"Plural-Forms: nplurals=1; plural=0;\n" +"Language: ja\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=1; plural=0;\n" "Generated-By: Babel 2.18.0\n" #: ../../TRANSLATING.md:5 @@ -28,8 +28,8 @@ msgstr "Python パッケージングガイドの翻訳ガイド" #: ../../TRANSLATING.md:7 msgid "" -"This guide will help you get started contributing to the translation of the" -" Python Packaging Guide." +"This guide will help you get started contributing to the translation of the " +"Python Packaging Guide." msgstr "このガイドは Python パッケージングガイドの翻訳への貢献を始めるのに役立ちます。" #: ../../TRANSLATING.md:9 @@ -38,7 +38,8 @@ msgid "" "the process of contributing to the guide itself, except that instead of " "working on the guide source files directly, you will be working on the " "translation files." -msgstr "ガイドの翻訳に貢献するプロセスは、ガイドのソースファイルに直接取り組むのではなく、翻訳ファイルに取り組むという点を除けば、ガイドそのものに貢献するプロセスと似ています。" +msgstr "" +"ガイドの翻訳に貢献するプロセスは、ガイドのソースファイルに直接取り組むのではなく、翻訳ファイルに取り組むという点を除けば、ガイドそのものに貢献するプロセスと似ています。" #: ../../TRANSLATING.md:11 msgid "Translation Status" @@ -50,8 +51,9 @@ msgid "" "translations. You can see the status of the translations by going to [this " "link](https://www.pyopensci.org/python-package-guide/TRANSLATING)" msgstr "" -"翻訳ステータス グラフは、翻訳を含む書籍が構築されるたびに更新されます。 [このリンク](https://www.pyopensci.org" -"/python-package-guide/TRANSLATING) にアクセスすると、翻訳のステータスを確認できます。" +"翻訳ステータス グラフは、翻訳を含む書籍が構築されるたびに更新されます。 " +"[このリンク](https://www.pyopensci.org/python-package-guide/TRANSLATING) " +"にアクセスすると、翻訳のステータスを確認できます。" #: ../../TRANSLATING.md:18 msgid "Overview of the Translation Process" @@ -61,8 +63,8 @@ msgstr "翻訳プロセスの概要" msgid "" "The process of adapting software to different languages is called " "internationalization, or i18n for short. Internationalization makes sure " -"that translation can happen without having to modify the source code, or in" -" our case, the original English source files of the guide." +"that translation can happen without having to modify the source code, or in " +"our case, the original English source files of the guide." msgstr "" "ソフトウェアを異なる言語に適応させるプロセスは国際化、略してi18nと呼ばれます。 " "国際化はソースコード、私たちの場合はガイドのオリジナルの英語のソースファイルを修正することなく翻訳が行われるようにします。" @@ -72,13 +74,14 @@ msgid "" "Sphinx, the documentation engine we use to build the Python Package Guide, " "has built-in support for internationalization, so the workflow is very " "straightforward." -msgstr "Pythonパッケージガイドをビルドするために使っているドキュメントエンジンであるSphinxは、国際化をビルトインでサポートしているので、ワークフローはとても簡単です。" +msgstr "" +"Pythonパッケージガイドをビルドするために使っているドキュメントエンジンであるSphinxは、国際化をビルトインでサポートしているので、ワークフローはとても簡単です。" #: ../../TRANSLATING.md:24 msgid "" "The process of actually translating the guide into different languages is " -"called localization, or l10n for short. This is the step you will be " -"helping with your contribution." +"called localization, or l10n for short. This is the step you will be helping" +" with your contribution." msgstr "ガイドを実際に異なる言語に翻訳するプロセスをローカリゼーション、略してl10nと呼びます。 あなたが貢献するのはこのステップです。" #: ../../TRANSLATING.md:26 @@ -98,7 +101,8 @@ msgid "" msgstr "ソースファイルはSphinxによって処理され、各ターゲット言語のフォルダに格納された翻訳ファイルのセットを生成します。" #: ../../TRANSLATING.md:30 -msgid "Contributors (like you!) translate these files into the different languages." +msgid "" +"Contributors (like you!) translate these files into the different languages." msgstr "(あなたのような!)貢献者は、これらのファイルをさまざまな言語に翻訳します。" #: ../../TRANSLATING.md:31 @@ -110,8 +114,8 @@ msgstr "ガイドがビルドされると、Sphinxはオリジナルの言語( #: ../../TRANSLATING.md:34 msgid "" -"You don't need to understand the technical details to contribute, but if " -"you are interested in learning how Sphinx handles internationalization and " +"You don't need to understand the technical details to contribute, but if you" +" are interested in learning how Sphinx handles internationalization and " "localization, you can find more information [here](https://www.sphinx-" "doc.org/en/master/usage/advanced/intl.html)." msgstr "" @@ -120,9 +124,8 @@ msgstr "" "に詳しい情報があります。" #: ../../TRANSLATING.md:37 -#, fuzzy msgid "Two Ways to Contribute a Translation" -msgstr "翻訳作業" +msgstr "翻訳に貢献する2つの方法" #: ../../TRANSLATING.md:39 msgid "" @@ -134,15 +137,15 @@ msgstr "翻訳を投稿するには 2 つの方法があり、1 つ目の方法 msgid "" "**From the GitHub website.** Translation files are plain text, so you can " "edit them right in your browser. Fork the repository, edit a `.po` file in " -"your fork, and open a pull request. This is the best place to start if this" -" is your first open source contribution. The contributing guide walks " -"through the browser workflow in [Contributing via the GitHub " -"website](CONTRIBUTING.md#contributing-via-the-github-website). Once you " -"have a fork, you can skip ahead to [Editing the Translation Files" -"](#editing-the-translation-files)." -msgstr "" -"**GitHub Web サイトより。** 翻訳ファイルはプレーンテキストであるため、ブラウザで直接編集できます。リポジトリをフォークし、フォーク内の" -" `.po` ファイルを編集して、プル リクエストを開きます。初めてオープンソースに貢献する場合は、ここから始めるのが最適です。コントリビュート " +"your fork, and open a pull request. This is the best place to start if this " +"is your first open source contribution. The contributing guide walks through" +" the browser workflow in [Contributing via the GitHub " +"website](CONTRIBUTING.md#contributing-via-the-github-website). Once you have" +" a fork, you can skip ahead to [Editing the Translation Files](#editing-the-" +"translation-files)." +msgstr "" +"**GitHub Web サイトより。** 翻訳ファイルはプレーンテキストであるため、ブラウザで直接編集できます。リポジトリをフォークし、フォーク内の " +"`.po` ファイルを編集して、プル リクエストを開きます。初めてオープンソースに貢献する場合は、ここから始めるのが最適です。コントリビュート " "ガイドでは、[GitHub Web サイト経由でのコントリビュート](CONTRIBUTING.md#contributing-via-the-" "github-website) でブラウザのワークフローを説明します。フォークを取得したら、[翻訳ファイルの編集](#editing-the-" "translation-files) に進んでください。" @@ -151,12 +154,12 @@ msgstr "" msgid "" "**From a local copy on your computer.** This takes more setup, but it lets " "you check how much of a file is translated with `sphinx-intl stat` and " -"preview the translated guide in your browser before you open a pull " -"request. Choose this if you plan to translate a lot of strings or want to " -"see your work in context." +"preview the translated guide in your browser before you open a pull request." +" Choose this if you plan to translate a lot of strings or want to see your " +"work in context." msgstr "" -"**コンピュータ上のローカル コピーから。** これにはさらにセットアップが必要ですが、プル リクエストを開く前に、`sphinx-intl " -"stat` " +"**コンピュータ上のローカル コピーから。** これにはさらにセットアップが必要ですが、プル リクエストを開く前に、`sphinx-intl stat`" +" " "でファイルのどの程度が翻訳されているかを確認し、ブラウザで翻訳されたガイドをプレビューできます。大量の文字列を翻訳する予定がある場合、または作業内容をコンテキスト内で確認したい場合は、これを選択してください。" #: ../../TRANSLATING.md:45 @@ -172,15 +175,18 @@ msgid "" "Setting up to translate is no different from setting up to contribute " "anything else to the guide, so rather than repeat the steps here, follow " "these sections of the contributing guide in order:" -msgstr "翻訳するための設定は、ガイドに他の何かを投稿するための設定と何ら変わりません。そのため、ここで手順を繰り返すのではなく、投稿ガイドの次のセクションを順番に実行してください。" +msgstr "" +"翻訳するための設定は、ガイドに他の何かを投稿するための設定と何ら変わりません。そのため、ここで手順を繰り返すのではなく、投稿ガイドの次のセクションを順番に実行してください。" #: ../../TRANSLATING.md:51 msgid "[Forking the repository](CONTRIBUTING.md#forking-the-repository)" msgstr "[リポジトリのフォーク](CONTRIBUTING.md#forking-the-repository)" #: ../../TRANSLATING.md:52 -msgid "[Clone your forked repository](CONTRIBUTING.md#clone-your-forked-repository)" -msgstr "[フォークされたリポジトリのクローンを作成する](CONTRIBUTING.md#clone-your-forked-repository)" +msgid "" +"[Clone your forked repository](CONTRIBUTING.md#clone-your-forked-repository)" +msgstr "" +"[フォークされたリポジトリのクローンを作成する](CONTRIBUTING.md#clone-your-forked-repository)" #: ../../TRANSLATING.md:53 msgid "[Create a new branch](CONTRIBUTING.md#create-a-new-branch)" @@ -207,8 +213,9 @@ msgid "" "`sphinx-intl` reports how much of each file has been translated, and `nox` " "builds the guide so you can preview your work." msgstr "" -"開発依存関係をインストールすると、環境内で「sphinx-intl」と「nox」が使用可能になります。両方ともこのガイドの後半で使用します" -"。「sphinx-intl」は各ファイルがどれだけ翻訳されたかを報告し、「nox」は作業をプレビューできるようにガイドを構築します。" +"開発依存関係をインストールすると、環境内で「sphinx-" +"intl」と「nox」が使用可能になります。両方ともこのガイドの後半で使用します。「sphinx-" +"intl」は各ファイルがどれだけ翻訳されたかを報告し、「nox」は作業をプレビューできるようにガイドを構築します。" #: ../../TRANSLATING.md:61 msgid "Starting a New Language Translation" @@ -226,15 +233,15 @@ msgstr "重要" #: ../../TRANSLATING.md:66 msgid "" -"If you would like to start the translation of the guide into a new " -"language, start by [creating an issue](https://github.com/pyOpenSci/python-" -"package-guide/issues) in the repository." +"If you would like to start the translation of the guide into a new language," +" start by [creating an issue](https://github.com/pyOpenSci/python-package-" +"guide/issues) in the repository." msgstr "" -"新しい言語へのガイドの翻訳を開始したい場合は、リポジトリに [issueを作成する](https://github.com/pyOpenSci" -"/python-package-guide/issues) ことから始めてください。" +"新しい言語へのガイドの翻訳を開始したい場合は、リポジトリに " +"[issueを作成する](https://github.com/pyOpenSci/python-package-guide/issues) " +"ことから始めてください。" #: ../../TRANSLATING.md:69 -#, fuzzy msgid "" "To generate the translation files for a new language, add the language to " "the `languages` list in the `conf.py` configuration file. " @@ -242,28 +249,27 @@ msgid "" "manage the building of the guide and its translations, and it reads this " "list from `conf.py`." msgstr "" -"新しい言語の翻訳ファイルを生成するには、 `noxfile.py` 設定ファイルの `LANGUAGES` リストにその言語を追加します。 " -"[Nox](https://nox.thea.codes/en/stable/index.html) " -"はガイドとその翻訳のビルドを管理するために使うツールです。" +"新しい言語の翻訳ファイルを生成するには、`conf.py` 設定ファイルの `languages` " +"リストにその言語を追加します。[Nox](https://nox.thea.codes/en/stable/index.html) " +"はガイドとその翻訳のビルドを管理するために使うツールで、このリストを `conf.py` から読み込みます。" #: ../../TRANSLATING.md:71 -#, fuzzy msgid "" "Inside `conf.py`, find the `languages` list and add the corresponding two-" -"letter code. For example, if you want to start the translation of the guide" -" into French, you would add `'fr'`:" +"letter code. For example, if you want to start the translation of the guide " +"into French, you would add `'fr'`:" msgstr "" -"`noxfile.py` の中で `LANGUAGES` リストを見つけて、対応する2文字のコードを追加します。 " -"例えば、フランス語への翻訳を開始したい場合は `'fr'` を追加します:" +"`conf.py` の中で `languages` リストを見つけて、対応する2文字のコードを追加します。例えば、フランス語への翻訳を開始したい場合は " +"`'fr'` を追加します:" #: ../../TRANSLATING.md:80 msgid "" "You can find a list of the two-letter Sphinx language option " -"[here](https://www.sphinx-doc.org/en/master/usage/configuration.html" -"#confval-language)." +"[here](https://www.sphinx-" +"doc.org/en/master/usage/configuration.html#confval-language)." msgstr "" -"[ここで](https://www.sphinx-doc.org/en/master/usage/configuration.html" -"#confval-language) 、2文字のSphinx言語オプションのリストを見つけることができます。" +"[ここで](https://www.sphinx-doc.org/en/master/usage/configuration.html#confval-" +"language) 、2文字のSphinx言語オプションのリストを見つけることができます。" #: ../../TRANSLATING.md:83 msgid "Preparing the Translation Files" @@ -271,10 +277,10 @@ msgstr "翻訳ファイルの準備" #: ../../TRANSLATING.md:85 msgid "" -"The translation files contain the original English text and a space for you" -" to enter the translated text. Before starting to translate, you need to " -"make sure the translation files are up to date with the latest changes to " -"the guide." +"The translation files contain the original English text and a space for you " +"to enter the translated text. Before starting to translate, you need to make" +" sure the translation files are up to date with the latest changes to the " +"guide." msgstr "" "翻訳ファイルには、英語の原文と翻訳文を入力するスペースが含まれています。 " "翻訳を始める前に、翻訳ファイルがガイドの最新の変更に対応していることを確認する必要があります。" @@ -292,15 +298,15 @@ msgid "" msgstr "このコマンドは、翻訳ファイルがまだ存在しない場合は作成し、すでに存在する場合は最新の変更内容で更新します。" #: ../../TRANSLATING.md:95 -#, fuzzy msgid "" "The translation files are text files with the `.po` extension stored in " "`./locales`, in folders corresponding to each language. For example, the " "translation files for Spanish are stored in the `locales/es/LC_MESSAGES` " "directory." msgstr "" -"翻訳ファイルは拡張子が `.po` のテキストファイルで、各言語に対応するフォルダ `./locales` に格納されています。 " -"例えば、スペイン語の翻訳ファイルは `locale/es/LC_MESSAGES` ディレクトリに格納されています。" +"翻訳ファイルは拡張子が `.po` のテキストファイルで、`./locales` " +"内の各言語に対応するフォルダに格納されています。例えば、スペイン語の翻訳ファイルは `locales/es/LC_MESSAGES` " +"ディレクトリに格納されています。" #: ../../TRANSLATING.md:97 msgid "" @@ -328,14 +334,13 @@ msgid "Working on a Translation" msgstr "翻訳作業" #: ../../TRANSLATING.md:105 -#, fuzzy msgid "" "In order to start translating, go to the folder inside `./locales` " -"corresponding to the target language you want to translate to (for example," -" `./locales/es/LC_MESSAGES/` for the Spanish translation)." +"corresponding to the target language you want to translate to (for example, " +"`./locales/es/LC_MESSAGES/` for the Spanish translation)." msgstr "" -"翻訳を開始するには、翻訳したいターゲット言語に対応する `./locales` 内のフォルダに移動します(例えば、スペイン語翻訳なら " -"`./locale/es/LC_MESSAGES/` です)。" +"翻訳を開始するには、翻訳したいターゲット言語に対応する `./locales` 内のフォルダに移動します(例えば、スペイン語翻訳なら " +"`./locales/es/LC_MESSAGES/` です)。" #: ../../TRANSLATING.md:107 msgid "" @@ -347,8 +352,8 @@ msgstr "このフォルダには、ガイドの各セクションに対応する msgid "" "You may also see some `.mo` files in the same folder. These are compiled " "versions of the `.po` files create by Sphinx during the build process, and " -"used to generate the translated version of the guide. They are intermediary" -" files and are not meant to be edited directly or stored in the repository." +"used to generate the translated version of the guide. They are intermediary " +"files and are not meant to be edited directly or stored in the repository." msgstr "" "また、同じフォルダにいくつかの `.mo` ファイルがあるかもしれません。 これらはSphinxがビルド中に作成した `.po` " "ファイルをコンパイルしたもので、翻訳されたバージョンのガイドを生成するために使用されます。 " @@ -390,8 +395,8 @@ msgstr "Translated stringsは、ターゲット言語に翻訳された文字列 #: ../../TRANSLATING.md:149 msgid "" -"Fuzzy strings are strings that have been translated but need to be reviewed" -" because the original English string in the guide changed." +"Fuzzy strings are strings that have been translated but need to be reviewed " +"because the original English string in the guide changed." msgstr "Fuzzy stringsとは、翻訳されたものの、ガイドの元の英語の文字列が変更されたため、見直しが必要な文字列のことです。" #: ../../TRANSLATING.md:150 @@ -400,11 +405,11 @@ msgstr "Untranslated stringsは、まだ翻訳されていない文字列です #: ../../TRANSLATING.md:153 msgid "" -"When Sphinx is building the guide in another language, it will look into " -"the corresponding folder in `./locales/` for translated strings. If the " +"When Sphinx is building the guide in another language, it will look into the" +" corresponding folder in `./locales/` for translated strings. If the " "translation is available, Sphinx will replace the English text with the " -"equivalent text in the target language. If the translation is not " -"available, Sphinx will use the original English strings." +"equivalent text in the target language. If the translation is not available," +" Sphinx will use the original English strings." msgstr "" "Sphinxが他の言語でガイドをビルドしている場合、 `./locales/` にある対応するフォルダを調べて、翻訳された文字列を探します。 " "もし翻訳が利用可能であれば、Sphinxは英語のテキストをターゲット言語の同等のテキストに置き換えます。 " @@ -416,9 +421,9 @@ msgstr "翻訳ファイルの編集" #: ../../TRANSLATING.md:158 msgid "" -"You can use any text editor to edit the `.po` file. But if you prefer, " -"there are also tools like [Poedit](https://poedit.net/) that provide a " -"graphic use interface." +"You can use any text editor to edit the `.po` file. But if you prefer, there" +" are also tools like [Poedit](https://poedit.net/) that provide a graphic " +"use interface." msgstr "" ".po`ファイルの編集にはどんなテキストエディタでも使えます。 しかし、お好みであれば、 [Poedit](https://poedit.net/) " "のようなグラフィックなインターフェースを提供するツールもあります。" @@ -428,26 +433,25 @@ msgid "" "Depending on your editor of choice, you may be able to install a plugin or " "extension that can provide syntax highlighting and other features for " "working with `.po` files. Like for example, the " -"[gettext](https://marketplace.visualstudio.com/items?itemName=mrorz" -".language-gettext) extension for Visual Studio Code." +"[gettext](https://marketplace.visualstudio.com/items?itemName=mrorz.language-" +"gettext) extension for Visual Studio Code." msgstr "" "お使いのエディタによっては、`.po`ファイルを扱うためのシンタックスハイライトやその他の機能を提供するプラグインや拡張機能をインストールできるかもしれません。" " 例えば、Visual Studio Codeの " -"[gettext](https://marketplace.visualstudio.com/items?itemName=mrorz" -".language-gettext) エクステンションのようなものです。" +"[gettext](https://marketplace.visualstudio.com/items?itemName=mrorz.language-" +"gettext) エクステンションのようなものです。" #: ../../TRANSLATING.md:162 msgid "" -"When you open a `.po` file, you will see a series of entries that look like" -" this:" +"When you open a `.po` file, you will see a series of entries that look like " +"this:" msgstr ".po`ファイルを開くと、次のようなエントリーが並んでいます:" #: ../../TRANSLATING.md:172 msgid "" "The first line of an entry starts with `#:` and is a reference to the " -"original source file and line number from which the text was extracted. " -"This information is useful for finding the context of the text in the " -"guide." +"original source file and line number from which the text was extracted. This" +" information is useful for finding the context of the text in the guide." msgstr "" "エントリーの最初の行は `#:` で始まり、テキストが抽出された元のソースファイルと行番号への参照となります。 " "この情報は、ガイド内のテキストの文脈を見つけるのに便利です。" @@ -455,9 +459,8 @@ msgstr "" #: ../../TRANSLATING.md:174 msgid "" "The `msgid` field contains the original English text that needs to be " -"translated. The `msgstr` field is where you will enter the translated text." -" This field might contain text if someone else already translated the " -"entry." +"translated. The `msgstr` field is where you will enter the translated text. " +"This field might contain text if someone else already translated the entry." msgstr "" "`msgid` フィールドには翻訳が必要な元の英語のテキストを入力します。 `msgstr` フィールドには翻訳されたテキストを入力します。 " "このフィールドには他の人がすでに翻訳したテキストが入るかもしれません。" @@ -466,33 +469,35 @@ msgstr "" msgid "" "Sometimes the original English text may be too long for a single line, and " "it may be split into multiple lines. In this case, you can keep the same " -"structure in the translated text. Notice that both the `msgid` and `msgstr`" -" fields in the example below start with an empty string, indicating that " -"the text continues in the next line." +"structure in the translated text. Notice that both the `msgid` and `msgstr` " +"fields in the example below start with an empty string, indicating that the " +"text continues in the next line." msgstr "" "英語の原文が1行では長すぎて、複数行に分かれている場合があります。 このような場合、翻訳されたテキストでも同じ構造を保つことができます。 以下の例の " "`msgid` フィールドと `msgstr` フィールドの両方が空文字列で始まっていることに注意してください。" #: ../../TRANSLATING.md:200 msgid "" -"The English text will sometimes contain Markdown formatting, such as bold " -"or italic text. You should keep the formatting in the translated text, " -"making sure to translate the text inside the formatting tags." -msgstr "英語のテキストには、太字や斜体などのMarkdown書式が含まれていることがあります。翻訳されたテキストで書式を維持する必要があります、フォーマットタグの中のテキストを翻訳してください。" +"The English text will sometimes contain Markdown formatting, such as bold or" +" italic text. You should keep the formatting in the translated text, making " +"sure to translate the text inside the formatting tags." +msgstr "" +"英語のテキストには、太字や斜体などのMarkdown書式が含まれていることがあります。翻訳されたテキストで書式を維持する必要があります、フォーマットタグの中のテキストを翻訳してください。" #: ../../TRANSLATING.md:202 msgid "" "The English text may also contain links to other sections of the guide or " -"external resources. You should keep the links in the translated text, " -"making sure to update the link text when appropriate." -msgstr "英文テキストには、ガイドの他のセクションや外部リソースへのリンクが含まれている場合があります。リンクは翻訳されたテキストの中に残してください、必要に応じてリンクテキストを更新してください。" +"external resources. You should keep the links in the translated text, making" +" sure to update the link text when appropriate." +msgstr "" +"英文テキストには、ガイドの他のセクションや外部リソースへのリンクが含まれている場合があります。リンクは翻訳されたテキストの中に残してください、必要に応じてリンクテキストを更新してください。" #: ../../TRANSLATING.md:210 msgid "" "An entry may be marked as `fuzzy`, which means that the original English " "text has changed since the translation was made, and the translation may " -"need to be revised. When this is the case you will see an additional line " -"in the entry, starting with `#,`:" +"need to be revised. When this is the case you will see an additional line in" +" the entry, starting with `#,`:" msgstr "" "エントリーには `fuzzy` " "と表示されることがありますが、これは原文の英文が翻訳後に変更され、翻訳を修正する必要があることを意味します。このような場合、エントリーに `#,` " @@ -500,17 +505,18 @@ msgstr "" #: ../../TRANSLATING.md:227 msgid "" -"You can review the translation and make any necessary changes, removing the" -" `fuzzy` tag once you are satisfied with the translation." +"You can review the translation and make any necessary changes, removing the " +"`fuzzy` tag once you are satisfied with the translation." msgstr "翻訳を確認して必要な変更を加え、翻訳に満足したら `fuzzy` タグを削除することができます。" #: ../../TRANSLATING.md:229 msgid "" "You can also add comments to the translation file, by adding lines that " -"start with a `#` character to the entry. This can be helpful to add context" -" to the translation for other translators or reviewers to see, but this " -"might be only necessary in special circumstances." -msgstr "文字で始まる行をエントリに追加することで、翻訳ファイルにコメントを追加することもできます。これは、他の翻訳者やレビュアーが翻訳を見るために文脈を追加するのに役立ちます、しかし、これは特別な状況でのみ必要かもしれません。" +"start with a `#` character to the entry. This can be helpful to add context " +"to the translation for other translators or reviewers to see, but this might" +" be only necessary in special circumstances." +msgstr "" +"文字で始まる行をエントリに追加することで、翻訳ファイルにコメントを追加することもできます。これは、他の翻訳者やレビュアーが翻訳を見るために文脈を追加するのに役立ちます、しかし、これは特別な状況でのみ必要かもしれません。" #: ../../TRANSLATING.md:232 msgid "" @@ -538,15 +544,15 @@ msgstr "" "LANGを適切な言語コードに置き換えます (例: スペイン語なら `es` )。" #: ../../TRANSLATING.md:243 -#, fuzzy msgid "" "This command builds a single translated version of the guide: the one for " "LANG. The result is stored in `_build/html`, in a folder named after the " "language code (e.g., `es`). If you want to build every language at once " "instead, use `nox -s build-all-languages`." msgstr "" -"このコマンドは `noxfile.py` の `LANGUAGES` リストで定義されたガイドの全ての翻訳版をビルドします。 これらの翻訳版は " -"`_build/html` に、言語コードにちなんだ名前(例えば `es`、`fr` など)のフォルダに保存されます。" +"このコマンドはガイドの翻訳版を1つだけビルドします:LANG に指定した言語のものです。結果は `_build/html` " +"内の、言語コードにちなんだ名前のフォルダ(例えば `es`)に保存されます。すべての言語を一度にビルドしたい場合は `nox -s build-all-" +"languages` を使用してください。" #: ../../TRANSLATING.md:245 msgid "" @@ -559,8 +565,8 @@ msgstr "" #: ../../TRANSLATING.md:247 msgid "" -"You can also build a live version of the guide that updates automatically " -"as you make changes to the translation files. To do this, use the `nox -s " +"You can also build a live version of the guide that updates automatically as" +" you make changes to the translation files. To do this, use the `nox -s " "docs-live-lang` command. Note that in this case you need to specify which " "language you want to build. For example, if you are working on the Spanish " "translation, you would run:" @@ -573,25 +579,25 @@ msgstr "" msgid "" "Note the `--` before the language code, it indicates that the following " "arguments should be passed into the nox session and not be interpreted " -"directly by nox. If you forget the `--`, nox will look instead for a " -"session named 'es' and raise an error that it does not exist." +"directly by nox. If you forget the `--`, nox will look instead for a session" +" named 'es' and raise an error that it does not exist." msgstr "" -"言語コードの前の `--` に注意してください。これは次の引数がnoxセッションに渡され、noxによって直接解釈されないことを示します。 もし " -"`--` を忘れると、noxは代わりに 'es' という名前のセッションを探し、それが存在しないとエラーを発生させます。" +"言語コードの前の `--` に注意してください。これは次の引数がnoxセッションに渡され、noxによって直接解釈されないことを示します。 もし `--`" +" を忘れると、noxは代わりに 'es' という名前のセッションを探し、それが存在しないとエラーを発生させます。" #: ../../TRANSLATING.md:255 msgid "" -"This command will use `sphinx-autobuild` to launch a local web server where" -" you can access the translated version of the guide. You can open the guide" -" in your browser by navigating to `http://localhost:8000`." +"This command will use `sphinx-autobuild` to launch a local web server where " +"you can access the translated version of the guide. You can open the guide " +"in your browser by navigating to `http://localhost:8000`." msgstr "" "このコマンドは `sphinx-autobuild` を使って、ローカルのWebサーバーを起動し、そこでガイドの翻訳版にアクセスすることができます。 " "ブラウザで `http://localhost:8000` に移動して、ガイドを開くことができます。" #: ../../TRANSLATING.md:257 msgid "" -"This is a great way to see how the translated version of the guide looks as" -" you make changes to the translation files." +"This is a great way to see how the translated version of the guide looks as " +"you make changes to the translation files." msgstr "これは、翻訳ファイルに変更を加えながら、翻訳版のガイドがどのように見えるかを確認するのに最適な方法です。" #: ../../TRANSLATING.md:259 @@ -600,11 +606,12 @@ msgstr "貢献PRの提出" #: ../../TRANSLATING.md:261 msgid "" -"Once you are finished translating and before you submit a pull request (PR)" -" for your translation, you need to make sure that the translated version of" -" the guide builds without any errors or warning and looks correctly in the " +"Once you are finished translating and before you submit a pull request (PR) " +"for your translation, you need to make sure that the translated version of " +"the guide builds without any errors or warning and looks correctly in the " "browser." -msgstr "翻訳が終わり、翻訳のプルリクエスト(PR)を提出する前に、翻訳されたバージョンのガイドがエラーや警告なしにビルドされ、ブラウザで正しく表示されることを確認する必要があります。" +msgstr "" +"翻訳が終わり、翻訳のプルリクエスト(PR)を提出する前に、翻訳されたバージョンのガイドがエラーや警告なしにビルドされ、ブラウザで正しく表示されることを確認する必要があります。" #: ../../TRANSLATING.md:263 msgid "You can follow these steps:" @@ -638,14 +645,14 @@ msgstr "問題がなければ、変更内容をPRとして提出することが #: ../../TRANSLATING.md:277 msgid "" "When you submit a PR for a translation, you should only include changes to " -"one language. If you worked in multiple languages, please submit a separate" -" PR for each language." +"one language. If you worked in multiple languages, please submit a separate " +"PR for each language." msgstr "翻訳のPRを提出する際は、1つの言語に対する変更のみを記載してください。 複数の言語で翻訳した場合は、言語ごとにPRを提出してください。" #: ../../TRANSLATING.md:280 msgid "" -"Translations PRs will be tagged with a label indicating the language to " -"make them easier to identify and review. For example, contributions to the " +"Translations PRs will be tagged with a label indicating the language to make" +" them easier to identify and review. For example, contributions to the " "Spanish translation will be tagged with 'lang-es'." msgstr "" "翻訳PRには、識別とレビューを容易にするため、言語を示すラベルが付けられます。 例えば、スペイン語翻訳への貢献には 'lang-es' " @@ -661,7 +668,8 @@ msgid "" "changes you made and any context that might be helpful for the reviewer " "(e.g., you translated new strings, you reviewed fuzzy entries, you fixed " "typos, etc.)" -msgstr "PRを提出する際には、あなたが行った変更についての簡単な説明と、レビュアーにとって参考になりそうな文脈(新しい文字列を翻訳した、あいまいなエントリーを見直した、誤字脱字を修正した、など)を必ず含めてください。" +msgstr "" +"PRを提出する際には、あなたが行った変更についての簡単な説明と、レビュアーにとって参考になりそうな文脈(新しい文字列を翻訳した、あいまいなエントリーを見直した、誤字脱字を修正した、など)を必ず含めてください。" #: ../../TRANSLATING.md:286 msgid "The Review Process" @@ -676,8 +684,8 @@ msgstr "翻訳貢献のレビュープロセスは、ガイドへの他のレビ #: ../../TRANSLATING.md:290 msgid "" "TODO: This section needs more work, depending on the review workflow we " -"decide to adopt. Other projects usually assign a coordinator/editor for " -"each language, who is responsible for reviewing and merging translation " +"decide to adopt. Other projects usually assign a coordinator/editor for each" +" language, who is responsible for reviewing and merging translation " "contributions." msgstr "" "TODO: このセクションは、私たちが採用するレビューのワークフローによって、もっと作業が必要です。 " @@ -689,14 +697,14 @@ msgid "" "merging translation contributions. The editor will review the changes to " "make sure they are accurate and consistent with the style and tone of the " "guide." -msgstr "各言語には担当エディターがおり、翻訳投稿の確認と統合を担当します。 エディターは、変更が正確で、ガイドのスタイルやトーンと一致していることを確認します。" +msgstr "" +"各言語には担当エディターがおり、翻訳投稿の確認と統合を担当します。 エディターは、変更が正確で、ガイドのスタイルやトーンと一致していることを確認します。" #: ../../TRANSLATING.md:294 msgid "" -"Sometimes the editor may ask for clarification or suggest changes to " -"improve the translation. If this happens, you can make the requested " -"changes and push them to the same branch where you submitted the original " -"PR." +"Sometimes the editor may ask for clarification or suggest changes to improve" +" the translation. If this happens, you can make the requested changes and " +"push them to the same branch where you submitted the original PR." msgstr "" "エディターが翻訳を改善するために説明を求めたり、変更を提案したりすることがあります。 " "このような場合は、要求された変更を行い、元のPRを投稿したブランチにプッシュしてください。" @@ -706,41 +714,38 @@ msgid "" "When the editor is satisfied with the translation, they will merge the PR. " "The translated version of the guide will be available on the pyOpenSci " "website once the language is released." -msgstr "エディターが翻訳に満足したら、PRをマージします。ガイドの翻訳版は言語がリリースされ次第、pyOpenSciのウェブサイトから入手できます。" +msgstr "" +"エディターが翻訳に満足したら、PRをマージします。ガイドの翻訳版は言語がリリースされ次第、pyOpenSciのウェブサイトから入手できます。" #: ../../TRANSLATING.md:298 msgid "The Release Process" msgstr "リリースのプロセス" #: ../../TRANSLATING.md:300 -#, fuzzy msgid "" "If a language is ready to go live, the maintainers will add the language " "code to the `release_languages` list in the `conf.py` configuration file." msgstr "" -"言語がライブにする準備ができたら、メンテナは `noxfile.py` 設定ファイルの `RELEASE_LANGUAGES` " -"リストに言語コードを追加します。" +"言語の公開準備ができたら、メンテナは `conf.py` 設定ファイルの `release_languages` リストに言語コードを追加します。" #: ../../TRANSLATING.md:302 -#, fuzzy msgid "" "When the guide is built for release in CI, Sphinx will also generate the " "translated versions of the guide for the languages in the " "`release_languages` list." -msgstr "ガイドがCIでリリースするためにビルドされると、Sphinxは `RELEASE_LANGUAGES` リストにある言語の翻訳版のガイドも生成します。" +msgstr "" +"ガイドが CI でリリース用にビルドされると、Sphinx は `release_languages` リストにある言語の翻訳版ガイドも生成します。" #: ../../TRANSLATING.md:304 -#, fuzzy msgid "" "Translations are released in the same way as the English version of the " -"guide, and the translated versions will be available in folders named after" -" the language code. For example, the Spanish translation will be available " +"guide, and the translated versions will be available in folders named after " +"the language code. For example, the Spanish translation will be available " "at: `https://www.pyopensci.org/python-package-guide/es/` when it is " "published online." msgstr "" -"翻訳版は英語版ガイドと同じ方法でリリースされ、言語コードにちなんだフォルダで利用できるようになります。 例えば、スペイン語版は " -"[https://www.pyopensci.org/python-package-" -"guide/es/](https://www.pyopensci.org/python-package-guide/es/) にあります。" +"翻訳版は英語版ガイドと同じ方法でリリースされ、言語コードにちなんだフォルダで利用できるようになります。例えば、スペイン語版はオンラインで公開されると " +"`https://www.pyopensci.org/python-package-guide/es/` で利用できます。" #: ../../TRANSLATING.md:306 msgid "Frequently Asked Questions (FAQ)" @@ -764,17 +769,15 @@ msgid "What happens when a string has changed in the original English text?" msgstr "英語の原文で文字列が変更された場合はどうなりますか?" #: ../../TRANSLATING.md:314 -#, fuzzy msgid "" "If a string has changed in the original English version, it will be marked " "as `fuzzy` in the translation file the next time it is updated (`update-" "language` or `update-release-languages`). Contributors working on the " -"translation can then review the fuzzy entries and make the necessary " -"changes to ensure it is accurate, before removing the `fuzzy` tag." +"translation can then review the fuzzy entries and make the necessary changes" +" to ensure it is accurate, before removing the `fuzzy` tag." msgstr "" -"オリジナルの英語版で文字列が変更された場合、次に翻訳ファイルが更新されるとき (`update-language`, `update-all-" -"languages`, または `update-all-release-languages`) に `fuzzy` としてマークされます。 " -"翻訳に携わっているコントリビューターは、 `fuzzy` " +"オリジナルの英語版で文字列が変更された場合、次に翻訳ファイルが更新されるとき(`update-language` または `update-" +"release-languages`)に `fuzzy` としてマークされます。翻訳に携わっているコントリビューターは、`fuzzy` " "タグを削除する前に、あいまいなエントリを確認し、正確であることを確認するために必要な変更を行うことができます。" #: ../../TRANSLATING.md:316 @@ -801,9 +804,9 @@ msgstr "翻訳されたテキストの書式設定はどうすればよいです msgid "" "You should keep the formatting in the translated text, but make sure to " "translate the text inside the formatting tags as well. For example, if the " -"original English text is `**Test special cases:**`, you should keep the " -"bold formatting in the translated text but update the text inside the " -"formatting tags to `**Prueba casos especiales:**`." +"original English text is `**Test special cases:**`, you should keep the bold" +" formatting in the translated text but update the text inside the formatting" +" tags to `**Prueba casos especiales:**`." msgstr "" "翻訳されたテキストの書式はそのままにして、書式タグの中のテキストも翻訳してください。 たとえば、元の英語のテキストが `**Test special " "cases:**` の場合、翻訳されたテキストでは太字の書式を維持しますが、書式タグ内のテキストを `**特殊ケーステスト:**` " @@ -815,13 +818,13 @@ msgstr "1行では長すぎる文字列はどう扱えばいいですか?" #: ../../TRANSLATING.md:326 msgid "" -"If the original English text is too long for a single line, it may be split" -" into multiple lines. Multiline strings in the `.po` file are indicated by " -"an empty string in the `msgid` and `msgstr` fields, followed by the " +"If the original English text is too long for a single line, it may be split " +"into multiple lines. Multiline strings in the `.po` file are indicated by an" +" empty string in the `msgid` and `msgstr` fields, followed by the " "continuation of the text in the next line. For example:" msgstr "" -"元の英文が長すぎて1行に収まらない場合は、複数行に分けることができます。 `.po` ファイル内の複数行の文字列は `msgid` と " -"`msgstr` フィールドに空の文字列を入れ、その後に次の行のテキストの続きを入れることで示されます。 例えば:" +"元の英文が長すぎて1行に収まらない場合は、複数行に分けることができます。 `.po` ファイル内の複数行の文字列は `msgid` と `msgstr`" +" フィールドに空の文字列を入れ、その後に次の行のテキストの続きを入れることで示されます。 例えば:" #: ../../TRANSLATING.md:339 msgid "How do I translate images?" @@ -829,11 +832,11 @@ msgstr "画像を翻訳するにはどうすればよいですか?" #: ../../TRANSLATING.md:341 msgid "" -"You should not translate images in the guide. Producing translated versions" -" of images is a complex process that requires additional tools and " -"resources, and it is not typically done unless the translated images are " -"created alongside the original images. More often, the text around the " -"image is modified to include any necessary translations." +"You should not translate images in the guide. Producing translated versions " +"of images is a complex process that requires additional tools and resources," +" and it is not typically done unless the translated images are created " +"alongside the original images. More often, the text around the image is " +"modified to include any necessary translations." msgstr "" "ガイド内の画像を翻訳すべきではありません。 " "画像の翻訳版を作成するのは、追加のツールやリソースを必要とする複雑なプロセスであり、翻訳された画像がオリジナルの画像と一緒に作成されない限り、通常は行われません。" @@ -844,25 +847,27 @@ msgid "" "In some special cases, an image might be critical to the understanding of " "the content. In those cases, the translations will be handled by the " "maintainers and editors outside this workflow." -msgstr "特殊なケースでは、画像がコンテンツの理解に不可欠な場合があります。 そのような場合、翻訳はこのワークフロー外のメンテナやエディタが担当します。" +msgstr "" +"特殊なケースでは、画像がコンテンツの理解に不可欠な場合があります。 そのような場合、翻訳はこのワークフロー外のメンテナやエディタが担当します。" #: ../../TRANSLATING.md:345 msgid "" -"I am interested in translating the guide into a language that is not " -"listed. How can I get started?" +"I am interested in translating the guide into a language that is not listed." +" How can I get started?" msgstr "ガイドに掲載されていない言語への翻訳に興味があります。 どうすれば始められますか?" #: ../../TRANSLATING.md:347 msgid "" -"If you want to start a new translation of the guide into a language that is" -" not listed, you should [create an issue](https://github.com/pyOpenSci" -"/python-package-guide/issues) in the repository to let the maintainers know" -" that you intend to work on it. This will help avoid duplication of effort " -"and ensure that the maintainers are ready to review your contribution when " -"you are done." +"If you want to start a new translation of the guide into a language that is " +"not listed, you should [create an " +"issue](https://github.com/pyOpenSci/python-package-guide/issues) in the " +"repository to let the maintainers know that you intend to work on it. This " +"will help avoid duplication of effort and ensure that the maintainers are " +"ready to review your contribution when you are done." msgstr "" -"リストにない言語へのガイドの新しい翻訳を始めたい場合は、リポジトリに [issue を作成](https://github.com/pyOpenSci" -"/python-package-guide/issues) して、あなたがその翻訳に取り組むつもりであることをメンテナに知らせてください。 " +"リストにない言語へのガイドの新しい翻訳を始めたい場合は、リポジトリに [issue " +"を作成](https://github.com/pyOpenSci/python-package-guide/issues) " +"して、あなたがその翻訳に取り組むつもりであることをメンテナに知らせてください。 " "こうすることで、作業の重複を避け、あなたが作業を終えたときにメンテナがあなたの貢献をレビューできるようになります。" #: ../../TRANSLATING.md:349 @@ -870,24 +875,24 @@ msgid "How do I know when a translation is ready to be released?" msgstr "翻訳がいつリリースできるか、どうすればわかりますか?" #: ../../TRANSLATING.md:351 -#, fuzzy msgid "" -"When a translation is ready to be included in the next release of the " -"guide, the maintainers will add the language code to the " -"`release_languages` list in the `conf.py` configuration file. This will " -"trigger the build of the translation during the release process, and the " -"translated version of the guide will be available on the pyOpenSci website." +"When a translation is ready to be included in the next release of the guide," +" the maintainers will add the language code to the `release_languages` list " +"in the `conf.py` configuration file. This will trigger the build of the " +"translation during the release process, and the translated version of the " +"guide will be available on the pyOpenSci website." msgstr "" -"ガイドの次のリリースに翻訳を含める準備ができたら、メンテナは `noxfile.py` 設定ファイルの `RELEASE_LANGUAGES` " -"リストに言語コードを追加します。 " -"これにより、リリースプロセス中に翻訳のビルドが開始され、翻訳されたバージョンのガイドがpyOpenSciのウェブサイトで利用できるようになります。" +"ガイドの次のリリースに翻訳を含める準備ができたら、メンテナは `conf.py` 設定ファイルの `release_languages` " +"リストに言語コードを追加します。これにより、リリースプロセス中に翻訳のビルドが開始され、翻訳されたバージョンのガイドが pyOpenSci " +"のウェブサイトで利用できるようになります。" #: ../../TRANSLATING.md:353 msgid "" -"TODO: There are many approaches here, some projects release a translation " -"as soon as some strings are translated, others wait until a certain " -"percentage of the content is translated." -msgstr "TODO:ここにはさまざまなアプローチがあります。あるプロジェクトでは、いくつかの文字列が翻訳されるとすぐに翻訳をリリースしますし、ある一定の割合のコンテンツが翻訳されるまで待つプロジェクトもあります。" +"TODO: There are many approaches here, some projects release a translation as" +" soon as some strings are translated, others wait until a certain percentage" +" of the content is translated." +msgstr "" +"TODO:ここにはさまざまなアプローチがあります。あるプロジェクトでは、いくつかの文字列が翻訳されるとすぐに翻訳をリリースしますし、ある一定の割合のコンテンツが翻訳されるまで待つプロジェクトもあります。" #: ../../TRANSLATING.md:355 msgid "How can I get help with my translation?" @@ -895,22 +900,22 @@ msgstr "翻訳を手伝ってもらうにはどうすればよいですか?" #: ../../TRANSLATING.md:357 msgid "" -"If you have any questions or need help with your translation, you can " -"create an [issue](https://github.com/pyOpenSci/python-package-guide/issues)" -" in the [Packaging Guide repository](https://github.com/pyOpenSci/python-" -"package-guide)" +"If you have any questions or need help with your translation, you can create" +" an [issue](https://github.com/pyOpenSci/python-package-guide/issues) in the" +" [Packaging Guide repository](https://github.com/pyOpenSci/python-package-" +"guide)" msgstr "" -"翻訳について質問がある場合や助けが必要な場合は、 [パッケージングガイドのリポジトリ](https://github.com/pyOpenSci" -"/python-package-guide) に [issue](https://github.com/pyOpenSci/python-" -"package-guide/issues) を作成してください。" +"翻訳について質問がある場合や助けが必要な場合は、 " +"[パッケージングガイドのリポジトリ](https://github.com/pyOpenSci/python-package-guide) に " +"[issue](https://github.com/pyOpenSci/python-package-guide/issues) を作成してください。" #: ../../TRANSLATING.md:359 msgid "" "You can also ask in the PyOpenSci Discord server ([click " -"here](https://discord.gg/NQtTTqtv) to join), you will find a general " -"channel for questions related to our workflow, processes, and tools " -"(translation-general) and channels for each of the languages we are working" -" on (spanish-translation, japanese-translation, etc)." +"here](https://discord.gg/NQtTTqtv) to join), you will find a general channel" +" for questions related to our workflow, processes, and tools (translation-" +"general) and channels for each of the languages we are working on (spanish-" +"translation, japanese-translation, etc)." msgstr "" "PyOpenSci Discord サーバでも質問できます (参加は [こちら](https://discord.gg/NQtTTqtv)) " "、私たちのワークフロー、プロセス、ツールに関する一般的な質問用のチャンネル (translation-general) " @@ -920,20 +925,16 @@ msgstr "" #~ msgstr "作業を始める前に、ローカルの作業環境を設定する必要があります。" #~ msgid "" -#~ "First, fork the guide repository into " -#~ "your personal GitHub account and clone " -#~ "the forked repository to your local " -#~ "computer." +#~ "First, fork the guide repository into your personal GitHub account and clone" +#~ " the forked repository to your local computer." #~ msgstr "まず、ガイドリポジトリを個人のGitHubアカウントにフォークし、フォークしたリポジトリをローカルコンピューターにクローンします。" #~ msgid "" -#~ "To create a virtual environment and " -#~ "install the development dependencies for " -#~ "the guide, run the following commands:" +#~ "To create a virtual environment and install the development dependencies for" +#~ " the guide, run the following commands:" #~ msgstr "仮想環境を作成し、ガイドの開発依存関係をインストールするには、以下のコマンドを実行します:" #~ msgid "" -#~ "TODO: This section needs more work " -#~ "or to be replaced with a reference" -#~ " to the CONTRIBUTING guide." +#~ "TODO: This section needs more work or to be replaced with a reference to the" +#~ " CONTRIBUTING guide." #~ msgstr "TODO: このセクションは、より多くの作業が必要か、CONTRIBUTINGガイドへの参照に置き換える必要があります。" From 817d37d36a49317afc935d78b837a6102e05305e Mon Sep 17 00:00:00 2001 From: Tetsuo Koyama Date: Sat, 10 Oct 2026 22:49:34 +0900 Subject: [PATCH 6/9] i18n: review and fix all fuzzy translations in ja documentation catalog --- locales/ja/LC_MESSAGES/documentation.po | 1341 ++++++++++++----------- 1 file changed, 680 insertions(+), 661 deletions(-) diff --git a/locales/ja/LC_MESSAGES/documentation.po b/locales/ja/LC_MESSAGES/documentation.po index ca0a64d2..2719ebb1 100644 --- a/locales/ja/LC_MESSAGES/documentation.po +++ b/locales/ja/LC_MESSAGES/documentation.po @@ -14,12 +14,12 @@ msgstr "" "POT-Creation-Date: 2026-05-22 12:19-0700\n" "PO-Revision-Date: 2025-04-14 18:12+0000\n" "Last-Translator: Tetsuo Koyama , 2025\n" -"Language: ja\n" "Language-Team: ja \n" -"Plural-Forms: nplurals=1; plural=0;\n" +"Language: ja\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=1; plural=0;\n" "Generated-By: Babel 2.18.0\n" #: ../../documentation/glossary.md:7 @@ -27,9 +27,8 @@ msgid "Python packaging glossary" msgstr "Python パッケージ化用語集" #: ../../documentation/glossary.md:9 -#, fuzzy msgid "Core packaging" -msgstr "あなたのパッケージ" +msgstr "コアパッケージング" #: ../../documentation/glossary.md msgid "`__init__.py`" @@ -38,8 +37,8 @@ msgstr "`__init__.py`" #: ../../documentation/glossary.md:13 msgid "" "A special Python file that marks a directory as a Python package. When " -"Python sees this file, it knows the folder contains importable code. It can" -" either be empty or contain code that runs when the package is imported." +"Python sees this file, it knows the folder contains importable code. It can " +"either be empty or contain code that runs when the package is imported." msgstr "" "ディレクトリを Python パッケージとしてマークする特別な Python ファイル。 Python " "はこのファイルを参照すると、そのフォルダーにインポート可能なコードが含まれていることを認識します。空にすることも、パッケージのインポート時に実行されるコードを含めることもできます。" @@ -51,8 +50,8 @@ msgstr "APIトークン" #: ../../documentation/glossary.md:19 msgid "" "A secret key used to authenticate with PyPI or TestPyPI when publishing a " -"package. You generate one in your account settings and use it in place of a" -" password. **Treat it like a password and never share it or commit it to " +"package. You generate one in your account settings and use it in place of a " +"password. **Treat it like a password and never share it or commit it to " "version control**." msgstr "" "パッケージを公開するときに PyPI または TestPyPI " @@ -79,14 +78,14 @@ msgid "" "documentation](https://packaging.python.org/en/latest/tutorials/packaging-" "projects/#choosing-a-build-backend)" msgstr "" -"`hatch build` を実行することでビルドを実行します。あるいは、「python -m build」を実行することもできます。 [参照: 公式" -" Python パッケージ化ドキュメント](https://packaging.python.org/en/latest/tutorials" -"/packaging-projects/#choosing-a-build-backend)" +"`hatch build` を実行することでビルドを実行します。あるいは、「python -m build」を実行することもできます。 [参照: 公式 " +"Python " +"パッケージ化ドキュメント](https://packaging.python.org/en/latest/tutorials/packaging-" +"projects/#choosing-a-build-backend)" #: ../../documentation/glossary.md:20 -#, fuzzy msgid "Distribution files" -msgstr "貢献ファイル" +msgstr "配布ファイル" #: ../../documentation/glossary.md:33 msgid "" @@ -94,8 +93,8 @@ msgid "" "two common types: a wheel (`.whl`) and a source distribution (`.tar.gz`). " "See also `Wheel (.whl)` and `Source distribution (sdist)`." msgstr "" -"他の人がパッケージをインストールできるようにするために PyPI にアップロードするファイル。一般的なタイプには、ホイール (`.whl`) とソース" -" ディストリビューション (`.tar.gz`) の 2 つがあります。 「ホイール (.whl)」および「ソース配布 " +"他の人がパッケージをインストールできるようにするために PyPI にアップロードするファイル。一般的なタイプには、ホイール (`.whl`) とソース " +"ディストリビューション (`.tar.gz`) の 2 つがあります。 「ホイール (.whl)」および「ソース配布 " "(sdist)」も参照してください。" #: ../../documentation/glossary.md:26 @@ -104,10 +103,10 @@ msgstr "モジュール" #: ../../documentation/glossary.md:39 msgid "" -"A single Python file (`.py`) containing code such as functions, classes, or" -" variables that can be imported. A package is made up of one or more " -"modules." -msgstr "インポートできる関数、クラス、変数などのコードを含む単一の Python ファイル (`.py`)。パッケージは 1 つ以上のモジュールで構成されます。" +"A single Python file (`.py`) containing code such as functions, classes, or " +"variables that can be imported. A package is made up of one or more modules." +msgstr "" +"インポートできる関数、クラス、変数などのコードを含む単一の Python ファイル (`.py`)。パッケージは 1 つ以上のモジュールで構成されます。" #: ../../documentation/glossary.md:31 msgid "`pyproject.toml`" @@ -117,23 +116,22 @@ msgstr "`pyproject.toml`" msgid "" "The configuration file at the root of your Python package. Written in TOML " "format, it stores metadata such as name, version, authors, and license. It " -"can also configure tools such as Hatch, uv, and pytest. See also [Make your" -" Python package PyPI ready](../tutorials/pyproject-toml)." +"can also configure tools such as Hatch, uv, and pytest. See also [Make your " +"Python package PyPI ready](../tutorials/pyproject-toml)." msgstr "" "Python パッケージのルートにある構成ファイル。 TOML 形式で記述され、名前、バージョン、作成者、ライセンスなどのメタデータが保存されます。 " -"Hatch、uv、pytest などのツールを構成することもできます。 [Python パッケージ PyPI を準備する](../tutorials" -"/pyproject-toml) も参照してください。" +"Hatch、uv、pytest などのツールを構成することもできます。 [Python パッケージ PyPI " +"を準備する](../tutorials/pyproject-toml) も参照してください。" #: ../../documentation/glossary.md:37 -#, fuzzy msgid "Python package" -msgstr "あなたのパッケージ" +msgstr "Python パッケージ" #: ../../documentation/glossary.md:50 msgid "" -"A directory of Python code structured so it can be installed, imported, and" -" shared with others. A package includes at least an `__init__.py` file and " -"a `pyproject.toml` file. This is sometimes referred to as a **regular " +"A directory of Python code structured so it can be installed, imported, and " +"shared with others. A package includes at least an `__init__.py` file and a " +"`pyproject.toml` file. This is sometimes referred to as a **regular " "package**." msgstr "" "インストール、インポート、他のユーザーとの共有ができるように構造化された Python コードのディレクトリ。パッケージには少なくとも " @@ -143,8 +141,8 @@ msgstr "" #: ../../documentation/glossary.md:55 msgid "" "Info: You may hear the term **namespaced package** which is not really a " -"package at all but a container of subpackages. This is out of scope for " -"this guide. If interested, consult the [Python " +"package at all but a container of subpackages. This is out of scope for this" +" guide. If interested, consult the [Python " "documentation](https://docs.python.org/3/glossary.html#term-namespace-" "package)." msgstr "" @@ -162,12 +160,12 @@ msgid "" "PyPI (the Python Package Index) is the official repository where Python " "packages are published and installed from. TestPyPI is a separate practice " "environment used for learning and testing publishing workflows. See " -"[pypi.org](https://pypi.org) and [test.pypi.org](https://test.pypi.org). " -"See also [Publish your Python package to PyPI](../tutorials/publish-pypi)." +"[pypi.org](https://pypi.org) and [test.pypi.org](https://test.pypi.org). See" +" also [Publish your Python package to PyPI](../tutorials/publish-pypi)." msgstr "" -"PyPI (Python Package Index) は、Python パッケージが公開およびインストールされる公式リポジトリです。 " -"TestPyPI は、パブリッシュ ワークフローの学習とテストに使用される別の練習環境です。 [pypi.org](https://pypi.org)" -" および [test.pypi.org](https://test.pypi.org) を参照してください。 [Python パッケージを PyPI " +"PyPI (Python Package Index) は、Python パッケージが公開およびインストールされる公式リポジトリです。 TestPyPI" +" は、パブリッシュ ワークフローの学習とテストに使用される別の練習環境です。 [pypi.org](https://pypi.org) および " +"[test.pypi.org](https://test.pypi.org) を参照してください。 [Python パッケージを PyPI " "に公開する](../tutorials/publish-pypi) も参照してください。" #: ../../documentation/glossary.md:55 @@ -178,8 +176,8 @@ msgstr "ソース配布 (sdist)" msgid "" "One of the two distribution file types for a Python package. The sdist " "(`.tar.gz`) contains source code and project files. When someone installs " -"from an sdist, tools build the package locally first. See also [Publish " -"your Python package to PyPI](../tutorials/publish-pypi)." +"from an sdist, tools build the package locally first. See also [Publish your" +" Python package to PyPI](../tutorials/publish-pypi)." msgstr "" "Python パッケージの 2 つの配布ファイル タイプのうちの 1 つ。 sdist (`.tar.gz`) には、ソース コードとプロジェクト " "ファイルが含まれています。誰かが sdist からインストールすると、ツールは最初にパッケージをローカルに構築します。 [Python パッケージを " @@ -205,8 +203,8 @@ msgstr "信頼できる出版" #: ../../documentation/glossary.md:79 msgid "" "A secure way to publish to PyPI using GitHub Actions instead of an API " -"token. Rather than storing a secret token, you configure PyPI to trust your" -" repository directly. See also [Setup Trusted Publishing for secure and " +"token. Rather than storing a secret token, you configure PyPI to trust your " +"repository directly. See also [Setup Trusted Publishing for secure and " "automated publishing via GitHub Actions](../tutorials/trusted-publishing)." msgstr "" "API トークンの代わりに GitHub Actions を使用して PyPI に公開する安全な方法。シークレット " @@ -225,24 +223,22 @@ msgid "" "See also [Publish your Python package to PyPI](../tutorials/publish-pypi)." msgstr "" "Python パッケージのバイナリ配布タイプ。ホイールは、ビルドステップなしで直接インストールされる、事前にビルドされたバイナリ形式 " -"(`.whl`、ZIP ファイル) です。多くの純粋な Python パッケージでは、1 つのホイールがプラットフォーム間で動作します。 " -"[Python パッケージを PyPI に公開する](../tutorials/publish-pypi) も参照してください。" +"(`.whl`、ZIP ファイル) です。多くの純粋な Python パッケージでは、1 つのホイールがプラットフォーム間で動作します。 [Python" +" パッケージを PyPI に公開する](../tutorials/publish-pypi) も参照してください。" #: ../../documentation/glossary.md:92 -#, fuzzy msgid "Tools" -msgstr "Todo" +msgstr "ツール" #: ../../documentation/glossary.md -#, fuzzy msgid "copier" -msgstr "互換性" +msgstr "copier" #: ../../documentation/glossary.md:96 msgid "" -"A command-line tool for creating new projects from templates. In this " -"guide, you can use copier with the pyOpenSci package template to set up " -"structure, configuration, and tooling quickly. See " +"A command-line tool for creating new projects from templates. In this guide," +" you can use copier with the pyOpenSci package template to set up structure," +" configuration, and tooling quickly. See " "[copier.readthedocs.io](https://copier.readthedocs.io)." msgstr "" "テンプレートから新しいプロジェクトを作成するためのコマンドライン ツール。このガイドでは、コピー機と pyOpenSci パッケージ " @@ -255,8 +251,8 @@ msgstr "coverage.py" #: ../../documentation/glossary.md:102 msgid "" -"A tool that measures how much of your code is exercised by tests, often as " -"a percentage. It shows which lines and branches are covered. See " +"A tool that measures how much of your code is exercised by tests, often as a" +" percentage. It shows which lines and branches are covered. See " "[coverage.readthedocs.io](https://coverage.readthedocs.io)." msgstr "" "テストによって実行されるコードの量を、多くの場合パーセンテージで測定するツール。どのラインとブランチがカバーされているかを示します。 " @@ -268,8 +264,8 @@ msgstr "ハッチ" #: ../../documentation/glossary.md:107 msgid "" -"A modern Python packaging and project management tool. In this guide, Hatch" -" is used to build packages, manage environments, run scripts, and publish. " +"A modern Python packaging and project management tool. In this guide, Hatch " +"is used to build packages, manage environments, run scripts, and publish. " "Configuration lives in `pyproject.toml`. See " "[hatch.pypa.io](https://hatch.pypa.io). See also [Get to know " "Hatch](../tutorials/get-to-know-hatch)." @@ -286,8 +282,8 @@ msgstr "孵化したばかりの子" #: ../../documentation/glossary.md:114 msgid "" "The build backend used by Hatch. When you run `python -m build` or `hatch " -"build`, Hatchling reads `pyproject.toml` and creates sdist and wheel files." -" See [hatch.pypa.io/latest/backend](https://hatch.pypa.io/latest/backend/)." +"build`, Hatchling reads `pyproject.toml` and creates sdist and wheel files. " +"See [hatch.pypa.io/latest/backend](https://hatch.pypa.io/latest/backend/)." msgstr "" "Hatch によって使用されるビルド バックエンド。 `python -m build` または `hatch build` " "を実行すると、Hatchling は `pyproject.toml` を読み取り、sdist ファイルと Wheel ファイルを作成します。 " @@ -300,12 +296,12 @@ msgstr "ピップ" #: ../../documentation/glossary.md:120 msgid "" -"Python's default package installer. You can use it to install packages from" -" PyPI into an environment with commands such as `pip install package-name`." -" See [pip.pypa.io](https://pip.pypa.io)." +"Python's default package installer. You can use it to install packages from " +"PyPI into an environment with commands such as `pip install package-name`. " +"See [pip.pypa.io](https://pip.pypa.io)." msgstr "" -"Python のデフォルトのパッケージ インストーラー。これを使用すると、「pip install package-name」などのコマンドで " -"PyPI から環境にパッケージをインストールできます。 [pip.pypa.io](https://pip.pypa.io) を参照してください。" +"Python のデフォルトのパッケージ インストーラー。これを使用すると、「pip install package-name」などのコマンドで PyPI" +" から環境にパッケージをインストールできます。 [pip.pypa.io](https://pip.pypa.io) を参照してください。" #: ../../documentation/glossary.md:29 msgid "pytest" @@ -313,8 +309,8 @@ msgstr "pytest" #: ../../documentation/glossary.md:125 msgid "" -"A widely used Python testing framework for discovering and running tests. " -"In this guide, pytest often runs through Hatch scripts. See " +"A widely used Python testing framework for discovering and running tests. In" +" this guide, pytest often runs through Hatch scripts. See " "[docs.pytest.org](https://docs.pytest.org)." msgstr "" "テストを検出して実行するために広く使用されている Python テスト フレームワーク。このガイドでは、pytest は多くの場合 Hatch " @@ -340,8 +336,8 @@ msgstr "スフィンクス" #: ../../documentation/glossary.md:135 msgid "" "A documentation generator for Python projects. Sphinx reads docstrings and " -"documentation files to build a docs site. See [sphinx-doc.org](https://www" -".sphinx-doc.org)." +"documentation files to build a docs site. See [sphinx-" +"doc.org](https://www.sphinx-doc.org)." msgstr "" "Python プロジェクト用のドキュメント ジェネレーター。 Sphinx は docstring とドキュメント ファイルを読み取り、ドキュメント " "サイトを構築します。 [sphinx-doc.org](https://www.sphinx-doc.org)を参照してください。" @@ -364,8 +360,8 @@ msgstr "紫外線" #: ../../documentation/glossary.md:144 msgid "" -"A fast Python package and environment manager. In this guide, you can use " -"uv to manage dependencies and run commands in project environments. See " +"A fast Python package and environment manager. In this guide, you can use uv" +" to manage dependencies and run commands in project environments. See " "[docs.astral.sh/uv](https://docs.astral.sh/uv)." msgstr "" "高速な Python パッケージおよび環境マネージャー。このガイドでは、uv を使用して依存関係を管理し、プロジェクト環境でコマンドを実行できます。 " @@ -415,9 +411,8 @@ msgstr "" "ランナーとして機能できます。" #: ../../documentation/glossary.md:168 -#, fuzzy msgid "Development concepts" -msgstr "開発ガイド" +msgstr "開発の概念" #: ../../documentation/glossary.md msgid "Code coverage" @@ -433,27 +428,26 @@ msgstr "" "(通常はパーセンテージ)。カバレッジが高いからといってバグがないことは保証されませんが、カバレッジが低い場合はテストされていない領域があることを示している可能性があります。" #: ../../documentation/glossary.md:5 -#, fuzzy msgid "Dependencies" -msgstr "参考文献" +msgstr "依存関係" #: ../../documentation/glossary.md:177 msgid "" "Other Python packages needed for your package to work. Common classes " "include required dependencies, optional dependencies, and development " "dependencies." -msgstr "パッケージが動作するために必要な他の Python パッケージ。共通クラスには、必須の依存関係、オプションの依存関係、および開発の依存関係が含まれます。" +msgstr "" +"パッケージが動作するために必要な他の Python パッケージ。共通クラスには、必須の依存関係、オプションの依存関係、および開発の依存関係が含まれます。" #: ../../documentation/glossary.md:10 -#, fuzzy msgid "Docstring" -msgstr "ドキュメントビルディング" +msgstr "Docstring" #: ../../documentation/glossary.md:182 msgid "" -"A string at the top of a function, class, or module that describes " -"behavior, inputs, and outputs. Docstrings can be used by tools such as " -"Sphinx to generate API documentation." +"A string at the top of a function, class, or module that describes behavior," +" inputs, and outputs. Docstrings can be used by tools such as Sphinx to " +"generate API documentation." msgstr "" "動作、入力、出力を説明する関数、クラス、またはモジュールの先頭にある文字列。 docstring は、Sphinx などのツールで API " "ドキュメントを生成するために使用できます。" @@ -465,8 +459,8 @@ msgstr "エンドツーエンドのテスト" #: ../../documentation/glossary.md:187 msgid "" "A test that simulates a complete user workflow from start to finish. In " -"scientific packages, tutorials executed during docs builds can serve as " -"end-to-end tests." +"scientific packages, tutorials executed during docs builds can serve as end-" +"to-end tests." msgstr "" "最初から最後まで完全なユーザー " "ワークフローをシミュレートするテスト。科学的パッケージでは、ドキュメントのビルド中に実行されるチュートリアルがエンドツーエンドのテストとして機能します。" @@ -479,7 +473,8 @@ msgstr "結合テスト" msgid "" "A test that checks how multiple functions or components work together. " "Unlike a unit test, it verifies behavior across a broader workflow." -msgstr "複数の機能またはコンポーネントがどのように連携して動作するかをチェックするテスト。単体テストとは異なり、より広範なワークフロー全体の動作を検証します。" +msgstr "" +"複数の機能またはコンポーネントがどのように連携して動作するかをチェックするテスト。単体テストとは異なり、より広範なワークフロー全体の動作を検証します。" #: ../../documentation/glossary.md:24 msgid "Linting" @@ -487,8 +482,8 @@ msgstr "糸くず" #: ../../documentation/glossary.md:196 msgid "" -"Automatic checks for style issues, formatting problems, and potential " -"errors in code." +"Automatic checks for style issues, formatting problems, and potential errors" +" in code." msgstr "スタイルの問題、書式設定の問題、コード内の潜在的なエラーを自動的にチェックします。" #: ../../documentation/glossary.md:28 @@ -497,8 +492,8 @@ msgstr "単体テスト" #: ../../documentation/glossary.md:200 msgid "" -"A test that checks one function or method in isolation. Unit tests are fast" -" and help pinpoint where failures occur." +"A test that checks one function or method in isolation. Unit tests are fast " +"and help pinpoint where failures occur." msgstr "1 つの関数またはメソッドを単独でチェックするテスト。単体テストは高速であり、障害が発生した場所を特定するのに役立ちます。" #: ../../documentation/glossary.md:32 @@ -509,7 +504,8 @@ msgstr "バージョン指定子/下限" msgid "" "A constraint on which dependency versions are accepted. For example, " "`numpy>=1.24` sets a lower bound so versions older than 1.24 are not used." -msgstr "依存関係のバージョンを受け入れる制約。たとえば、`numpy>=1.24` は下限を設定するため、1.24 より古いバージョンは使用されません。" +msgstr "" +"依存関係のバージョンを受け入れる制約。たとえば、`numpy>=1.24` は下限を設定するため、1.24 より古いバージョンは使用されません。" #: ../../documentation/glossary.md:209 msgid "Git / GitHub" @@ -559,25 +555,22 @@ msgstr "" "コミット。スコープ付きコミットにより、レビュー可能性と履歴の明確さが向上します。" #: ../../documentation/glossary.md:228 -#, fuzzy msgid "Documentation" -msgstr "ドキュメントの概要" +msgstr "ドキュメント" #: ../../documentation/glossary.md -#, fuzzy msgid "Code of conduct" -msgstr "あなたの行動規範" +msgstr "行動規範" #: ../../documentation/glossary.md:232 msgid "" -"A document that sets expectations for how contributors and community " -"members treat one another in a project." +"A document that sets expectations for how contributors and community members" +" treat one another in a project." msgstr "プロジェクト内で貢献者とコミュニティのメンバーが互いにどのように接するかについての期待を設定する文書。" #: ../../documentation/glossary.md:4 -#, fuzzy msgid "Contributing guide" -msgstr "貢献ファイル" +msgstr "貢献ガイド" #: ../../documentation/glossary.md:236 msgid "" @@ -588,24 +581,22 @@ msgstr "" "(多くの場合「CONTRIBUTING.md」)。" #: ../../documentation/glossary.md:8 -#, fuzzy msgid "MyST Markdown" -msgstr "myST vs Markdown vs rst" +msgstr "MyST Markdown" #: ../../documentation/glossary.md:240 msgid "" -"Markedly Structured Text, a Markdown flavor that supports Sphinx directives" -" and roles. It allows Markdown-based docs while keeping Sphinx features. " -"See [myst-parser.readthedocs.io](https://myst-parser.readthedocs.io)." +"Markedly Structured Text, a Markdown flavor that supports Sphinx directives " +"and roles. It allows Markdown-based docs while keeping Sphinx features. See " +"[myst-parser.readthedocs.io](https://myst-parser.readthedocs.io)." msgstr "" "Markedly Structured Text、Sphinx ディレクティブとロールをサポートする Markdown フレーバー。 Sphinx " -"の機能を維持しながら、Markdown ベースのドキュメントが可能になります。 [myst-parser.readthedocs.io](https" -"://myst-parser.readthedocs.io)を参照してください。" +"の機能を維持しながら、Markdown ベースのドキュメントが可能になります。 [myst-" +"parser.readthedocs.io](https://myst-parser.readthedocs.io)を参照してください。" #: ../../documentation/glossary.md:14 -#, fuzzy msgid "README" -msgstr "README ファイル" +msgstr "README" #: ../../documentation/glossary.md:246 msgid "" @@ -640,8 +631,8 @@ msgstr "ドキュメンテーションの構築とホスティングのための msgid "" "The most common tool for building documentation in the Python ecosystem " "currently is Sphinx. However, some maintainers are using tools like " -"[mkdocs](https://www.mkdocs.org/) for documentation. It is up to you to use" -" the platform that you prefer for your documentation!" +"[mkdocs](https://www.mkdocs.org/) for documentation. It is up to you to use " +"the platform that you prefer for your documentation!" msgstr "" "現在、Pythonエコシステムでドキュメントを構築するための最も一般的なツールはSphinxです。 しかし、 " "[mkdocs](https://www.mkdocs.org/) のようなツールを使っているメンテナもいます。 " @@ -663,22 +654,24 @@ msgid "" msgstr "また、ドキュメントをオンラインで公開する方法や、ドキュメントのウェブサイトを最適化するためのSphinxツールについてもお話します。" #: ../../documentation/hosting-tools/myst-markdown-rst-doc-syntax.md:1 -msgid "Documentation syntax: markdown vs. myST vs. rst syntax to create your docs" +msgid "" +"Documentation syntax: markdown vs. myST vs. rst syntax to create your docs" msgstr "ドキュメントの構文:ドキュメントを作成するためのマークダウン構文とmyST構文とrst構文" #: ../../documentation/hosting-tools/myst-markdown-rst-doc-syntax.md:3 -msgid "There are three commonly used syntaxes for creating Python documentation:" +msgid "" +"There are three commonly used syntaxes for creating Python documentation:" msgstr "Pythonのドキュメントを作成するためによく使われる構文は3つあります:" #: ../../documentation/hosting-tools/myst-markdown-rst-doc-syntax.md:4 msgid "" "[markdown](https://www.markdownguide.org/): Markdown is an easy-to-learn " "text syntax. It is the default syntax used in Jupyter Notebooks. There are " -"tools that you can add to a Sphinx website that allow it to render markdown" -" as html. However, using markdown to write documentation has limitations. " -"For instance if you want to add references, colored call out blocks and " -"other custom elements to your documentation, you will need to use either " -"**myST** or **rST**." +"tools that you can add to a Sphinx website that allow it to render markdown " +"as html. However, using markdown to write documentation has limitations. For" +" instance if you want to add references, colored call out blocks and other " +"custom elements to your documentation, you will need to use either **myST** " +"or **rST**." msgstr "" "[markdown](https://www.markdownguide.org/): Markdownは習得しやすいテキスト構文です。 " "これはJupyter Notebooksで使われるデフォルトの構文です。 " @@ -690,11 +683,10 @@ msgstr "" #: ../../documentation/hosting-tools/myst-markdown-rst-doc-syntax.md:8 msgid "" "[rST (ReStructured Text):](https://www.sphinx-" -"doc.org/en/master/usage/restructuredtext/basics.html). **rST** is the " -"native syntax that sphinx supports. rST was the default syntax used for " -"documentation for many years. However, in recent years myST has risen to " -"the top as a favorite for documentation given the flexibility that it " -"allows." +"doc.org/en/master/usage/restructuredtext/basics.html). **rST** is the native" +" syntax that sphinx supports. rST was the default syntax used for " +"documentation for many years. However, in recent years myST has risen to the" +" top as a favorite for documentation given the flexibility that it allows." msgstr "" "[rST (ReStructured Text):](https://www.sphinx-" "doc.org/en/master/usage/restructuredtext/basics.html)。 " @@ -704,9 +696,9 @@ msgstr "" msgid "" "[myST:](https://myst-parser.readthedocs.io/en/latest/intro.html) myST is a " "combination of `markdown` and `rST` syntax. It is a nice option if you are " -"comfortable writing markdown. `myst` is preferred by many because it offers" -" both the rich functionality of rST combined with a simple-to-write " -"markdown syntax." +"comfortable writing markdown. `myst` is preferred by many because it offers " +"both the rich functionality of rST combined with a simple-to-write markdown " +"syntax." msgstr "" "[myST:](https://myst-parser.readthedocs.io/en/latest/intro.html) mySTは普通の " "`markdown` と `rST` の構文の組み合わせです。 もしあなたがマークダウンを書くのに慣れているのであれば、良いオプションです。 " @@ -736,9 +728,10 @@ msgstr "README.mdファイルなど、Pythonパッケージのコアとなるテ #: ../../documentation/hosting-tools/myst-markdown-rst-doc-syntax.md:18 msgid "" -"`GitHub` and `Jupyter Notebooks` support markdown thus it's more widely " -"used in the scientific ecosystem." -msgstr "`GitHub` と `Jupyter Notebooks` はMarkdownをサポートしており、科学的なエコシステムでより広く使われています。" +"`GitHub` and `Jupyter Notebooks` support markdown thus it's more widely used" +" in the scientific ecosystem." +msgstr "" +"`GitHub` と `Jupyter Notebooks` はMarkdownをサポートしており、科学的なエコシステムでより広く使われています。" #: ../../documentation/hosting-tools/myst-markdown-rst-doc-syntax.md:22 msgid "" @@ -779,16 +772,16 @@ msgstr "Read the Docsとは?" #: ../../documentation/hosting-tools/publish-documentation-online.md:11 msgid "" -"[Read the Docs](https://readthedocs.org/) is a documentation hosting " -"service that supports publishing your project's documentation." +"[Read the Docs](https://readthedocs.org/) is a documentation hosting service" +" that supports publishing your project's documentation." msgstr "" "[Read the Docs](https://readthedocs.org/) " "は、あなたのプロジェクトのドキュメント公開をサポートするドキュメントホスティングサービスです。" #: ../../documentation/hosting-tools/publish-documentation-online.md:13 msgid "" -"Read the Docs is a fully featured, free, documentation hosting service. " -"Some of its many features include:" +"Read the Docs is a fully featured, free, documentation hosting service. Some" +" of its many features include:" msgstr "Read the Docsは、完全な機能を備えた無料のドキュメントホスティングサービスです。 その多くの機能の一部を紹介します:" #: ../../documentation/hosting-tools/publish-documentation-online.md:16 @@ -812,7 +805,8 @@ msgid "" "Supports versioning of your documentation which allows users to refer to " "older tagged versions of the docs if they are using older versions of your " "package." -msgstr "ドキュメントのバージョン管理をサポートし、ユーザーが古いバージョンのパッケージを使用している場合、タグ付けされた古いバージョンのドキュメントを参照できるようにします。" +msgstr "" +"ドキュメントのバージョン管理をサポートし、ユーザーが古いバージョンのパッケージを使用している場合、タグ付けされた古いバージョンのドキュメントを参照できるようにします。" #: ../../documentation/hosting-tools/publish-documentation-online.md:20 msgid "Supports downloading of documentation in PDF and other formats." @@ -820,8 +814,8 @@ msgstr "PDFやその他の形式のドキュメントのダウンロードに対 #: ../../documentation/hosting-tools/publish-documentation-online.md:21 msgid "" -"You can customize the documentation build using a **.readthedocs.yaml** " -"file in your GitHub repository." +"You can customize the documentation build using a **.readthedocs.yaml** file" +" in your GitHub repository." msgstr "ドキュメントのビルドは、GitHubリポジトリの **.readthedocs.yaml** ファイルを使ってカスタマイズできます。" #: ../../documentation/hosting-tools/publish-documentation-online.md:24 @@ -829,18 +823,17 @@ msgid "What is GitHub Pages?" msgstr "GitHub Pagesとは?" #: ../../documentation/hosting-tools/publish-documentation-online.md:25 -#, fuzzy msgid "" -"[GitHub Pages](https://docs.github.com/en/pages/getting-started-with-" -"github-pages/what-is-github-pages) is a free web hosting service offered by" -" GitHub. Using GitHub pages, you can build your documentation locally or " -"using a Continuous Integration setup, and then push to a branch in your " -"GitHub repository that is setup to run the GitHub Pages web build." +"[GitHub Pages](https://docs.github.com/en/pages/getting-started-with-github-" +"pages/what-is-github-pages) is a free web hosting service offered by GitHub." +" Using GitHub pages, you can build your documentation locally or using a " +"Continuous Integration setup, and then push to a branch in your GitHub " +"repository that is setup to run the GitHub Pages web build." msgstr "" -"[GitHub Pages](https://docs.github.com/en/pages/getting-started-with-" -"github-pages/about-github-pages) は GitHub が提供する無料のウェブホスティングサービスです。 GitHub " -"Pages を使えば、ローカルあるいは継続的インテグレーションを使ってドキュメントをビルドし、GitHub Pages " -"のウェブビルドを実行するように設定した GitHub リポジトリのブランチにプッシュすることができます。" +"[GitHub Pages](https://docs.github.com/en/pages/getting-started-with-github-" +"pages/what-is-github-pages) は GitHub が提供する無料のウェブホスティングサービスです。GitHub Pages " +"を使えば、ローカルあるいは継続的インテグレーションを使ってドキュメントをビルドし、GitHub Pages のウェブビルドを実行するように設定した " +"GitHub リポジトリのブランチにプッシュできます。" #: ../../documentation/hosting-tools/publish-documentation-online.md:33 msgid "Read the Docs vs GitHub Pages" @@ -875,12 +868,12 @@ msgstr "Sphinxを使ってPythonパッケージのドキュメントを作る" #: ../../documentation/hosting-tools/sphinx-python-package-documentation-tools.md:17 msgid "" -"On this page we discuss using [Sphinx](https://www.sphinx-doc.org/) to " -"build your user-facing package documentation. While Sphinx is currently the" -" most commonly-used tool in the scientific Python ecosystem, you are " -"welcome to explore other tools to build documentation such as " -"[mkdocs](https://www.mkdocs.org/) which is gaining popularity in the Python" -" packaging ecosystem." +"On this page we discuss using [Sphinx](https://www.sphinx-doc.org/) to build" +" your user-facing package documentation. While Sphinx is currently the most " +"commonly-used tool in the scientific Python ecosystem, you are welcome to " +"explore other tools to build documentation such as " +"[mkdocs](https://www.mkdocs.org/) which is gaining popularity in the Python " +"packaging ecosystem." msgstr "" "このページでは、 [Sphinx](https://www.sphinx-doc.org/) " "を使ってユーザー向けのパッケージのドキュメントをビルドする方法について説明します。 " @@ -899,7 +892,8 @@ msgstr "[GeoPandas](https://geopandas.org/en/stable/)" msgid "" "[View rst to create landing " "page](https://raw.githubusercontent.com/geopandas/geopandas/main/doc/source/index.rst)" -msgstr "[ランディングページを作成するために最初にご覧ください](https://raw.githubusercontent.com/geopandas/geopandas/main/doc/source/index.rst)" +msgstr "" +"[ランディングページを作成するために最初にご覧ください](https://raw.githubusercontent.com/geopandas/geopandas/main/doc/source/index.rst)" #: ../../documentation/hosting-tools/sphinx-python-package-documentation-tools.md:29 msgid "[verde](https://www.fatiando.org/verde/latest/)" @@ -916,11 +910,10 @@ msgstr "" #: ../../documentation/hosting-tools/sphinx-python-package-documentation-tools.md:31 msgid "" "[Here is our documentation if you want to see a myST example of a landing " -"page.](https://github.com/pyOpenSci/python-package-" -"guide/blob/main/index.md)" +"page.](https://github.com/pyOpenSci/python-package-guide/blob/main/index.md)" msgstr "" -"[ランディングページのmyST例をご覧になりたい方は、こちらのドキュメントをご覧ください](https://github.com/pyOpenSci" -"/python-package-guide/blob/main/index.md)" +"[ランディングページのmyST例をご覧になりたい方は、こちらのドキュメントをご覧ください](https://github.com/pyOpenSci/python-" +"package-guide/blob/main/index.md)" #: ../../documentation/hosting-tools/sphinx-python-package-documentation-tools.md:34 msgid "Sphinx - a static site generator" @@ -935,9 +928,9 @@ msgid "" "\"Statically\" which means that there is no generation or modification of " "the files on the fly." msgstr "" -"Sphinxは [スタティックサイトジェネレーター](https://www.cloudflare.com/learning/performance" -"/static-site-generator/) です。 " -"静的サイトジェネレータとは、テンプレートのセットに基づいて、ウェブサイトのhtmlを作成するツールです。 " +"Sphinxは " +"[スタティックサイトジェネレーター](https://www.cloudflare.com/learning/performance/static-" +"site-generator/) です。 静的サイトジェネレータとは、テンプレートのセットに基づいて、ウェブサイトのhtmlを作成するツールです。 " "htmlファイルは「静的」に提供されるため、その場でファイルを生成したり変更したりすることはありません。" #: ../../documentation/hosting-tools/sphinx-python-package-documentation-tools.md:39 @@ -962,13 +955,13 @@ msgstr "ドキュメントテーマを適用して、美しいドキュメント #: ../../documentation/hosting-tools/sphinx-python-package-documentation-tools.md:47 msgid "" -"You can [automatically create documentation for your package's functions " -"and classes (the package's API) from docstrings in your code using the " -"autodoc extension](https://www.sphinx-" +"You can [automatically create documentation for your package's functions and" +" classes (the package's API) from docstrings in your code using the autodoc " +"extension](https://www.sphinx-" "doc.org/en/master/usage/extensions/autodoc.html)" msgstr "" -"[autodocエクステンションを使って、パッケージの関数やクラス(パッケージのAPI)のドキュメントをコードのdocstringから自動的に作成する](https://www" -".sphinx-doc.org/en/master/usage/extensions/autodoc.html) ことができます。" +"[autodocエクステンションを使って、パッケージの関数やクラス(パッケージのAPI)のドキュメントをコードのdocstringから自動的に作成する](https://www.sphinx-" +"doc.org/en/master/usage/extensions/autodoc.html) ことができます。" #: ../../documentation/hosting-tools/sphinx-python-package-documentation-tools.md:48 msgid "" @@ -986,8 +979,7 @@ msgid "" "parser](https://myst-parser.readthedocs.io/)." msgstr "" "[MySTパーサー](https://myst-parser.readthedocs.io/) " -"などのツールを使って、書きやすい構文をサポートするカスタム構文パーサーを追加できます。Sphinxはネイティブで `rST` " -"構文をサポートしています。" +"などのツールを使って、書きやすい構文をサポートするカスタム構文パーサーを追加できます。Sphinxはネイティブで `rST` 構文をサポートしています。" #: ../../documentation/hosting-tools/sphinx-python-package-documentation-tools.md:51 msgid "Commonly used Sphinx themes" @@ -995,8 +987,8 @@ msgstr "よく使われるSphinxのテーマ" #: ../../documentation/hosting-tools/sphinx-python-package-documentation-tools.md:53 msgid "" -"You are free to use whatever Sphinx theme that you prefer. However, the " -"most common Sphinx themes used in the Python scientific community include:" +"You are free to use whatever Sphinx theme that you prefer. However, the most" +" common Sphinx themes used in the Python scientific community include:" msgstr "" "あなたは好きなSphinxテーマを自由に使うことができます。 " "しかし、Pythonの科学コミュニティで最もよく使われているSphinxのテーマは次のようなものです:" @@ -1018,7 +1010,8 @@ msgid "This book is created using Sphinx and the `furo` theme." msgstr "この本はSphinxと `furo` というテーマを使って作られています。" #: ../../documentation/hosting-tools/website-hosting-optimizing-your-docs.md:1 -msgid "Optimizing your documentation so search engines (and other users) find it" +msgid "" +"Optimizing your documentation so search engines (and other users) find it" msgstr "検索エンジン(および他のユーザー)に見つけてもらえるよう、ドキュメントを最適化する。" #: ../../documentation/hosting-tools/website-hosting-optimizing-your-docs.md:3 @@ -1026,7 +1019,8 @@ msgid "" "If you are interested in more people finding your package, you may want to " "add some core Sphinx extensions (and theme settings) that will help search " "engines such as Google find your documentation." -msgstr "もし、より多くの人にあなたのパッケージを見つけてもらいたいのであれば、Sphinxのコアとなる拡張機能(およびテーマの設定)を追加することで、Googleなどの検索エンジンがあなたのドキュメントを見つけやすくすることができます。" +msgstr "" +"もし、より多くの人にあなたのパッケージを見つけてもらいたいのであれば、Sphinxのコアとなる拡張機能(およびテーマの設定)を追加することで、Googleなどの検索エンジンがあなたのドキュメントを見つけやすくすることができます。" #: ../../documentation/hosting-tools/website-hosting-optimizing-your-docs.md:7 msgid "Google Analytics" @@ -1034,10 +1028,10 @@ msgstr "Google アナリティクス" #: ../../documentation/hosting-tools/website-hosting-optimizing-your-docs.md:11 msgid "" -"Google analytics [is not compliant with the European General Data " -"Protection Regulation (GDPR)](https://matomo.org/blog/2022/05/google-" -"analytics-4-gdpr/). While there are many components to this regulation, one" -" of the core elements is that you have to let users know on your site that " +"Google analytics [is not compliant with the European General Data Protection" +" Regulation (GDPR)](https://matomo.org/blog/2022/05/google-" +"analytics-4-gdpr/). While there are many components to this regulation, one " +"of the core elements is that you have to let users know on your site that " "you are collecting data and they have to consent. While it is possible to " "add infrastructure around Google Analytics to make it close to following " "GDPR regulations, the community is slowly shifting away from Google using " @@ -1045,15 +1039,17 @@ msgid "" "Analytics](https://www.cloudflare.com/web-analytics/) and " "[Matomo](https://matomo.org) for web analytics." msgstr "" -"Googleアナリティクスは [欧州一般データ保護規則(GDPR)に準拠していません](https://matomo.org/blog/2022/05" -"/google-analytics-4-gdpr/) " +"Googleアナリティクスは " +"[欧州一般データ保護規則(GDPR)に準拠していません](https://matomo.org/blog/2022/05/google-" +"analytics-4-gdpr/) " "。この規制には多くの要素があるが、核となる要素のひとつは、データを収集していることをサイト上でユーザーに知らせ、同意を得なければならないということです。Googleアナリティクスの周辺にインフラを追加してGDPRの規制に沿うようにすることは可能ですが、コミュニティは徐々にGoogleから" " [Plausible](https://plausible.io/) 、 [Cloudflare Web " "Analytics](https://www.cloudflare.com/web-analytics/) 、 " "[Matomo](https://matomo.org) といったオープンツールをウェブ解析に使う方向にシフトしつつあります。" #: ../../documentation/hosting-tools/website-hosting-optimizing-your-docs.md:13 -msgid "pyOpenSci is currently looking into free options for open source developers." +msgid "" +"pyOpenSci is currently looking into free options for open source developers." msgstr "pyOpenSci は現在、オープンソース開発者のための無料のオプションを検討しています。" #: ../../documentation/hosting-tools/website-hosting-optimizing-your-docs.md:16 @@ -1063,8 +1059,8 @@ msgid "" "sphinx-theme.readthedocs.io/en/latest/user_guide/analytics.html#google-" "analytics). However, if the theme that you chose does not offer Google " "Analytics support, you can use the [`sphinxcontrib-gtagjs` " -"extension](https://github.com/attakei/sphinxcontrib-gtagjs). This extension" -" will add a Google Analytics site tag to each page of your documentation." +"extension](https://github.com/attakei/sphinxcontrib-gtagjs). This extension " +"will add a Google Analytics site tag to each page of your documentation." msgstr "" "[`pydata-sphinx-theme`や `sphinx-book-theme` のようなsphinxテーマには、Google " "Analyticsのサポートが組み込まれています](https://pydata-sphinx-" @@ -1075,18 +1071,18 @@ msgstr "" #: ../../documentation/hosting-tools/website-hosting-optimizing-your-docs.md:22 msgid "" -"[sphinx-sitemap](https://sphinx-" -"sitemap.readthedocs.io/en/latest/index.html) for search engine optimization" +"[sphinx-sitemap](https://sphinx-sitemap.readthedocs.io/en/latest/index.html)" +" for search engine optimization" msgstr "" "検索エンジン最適化のための [sphinx-sitemap](https://sphinx-" "sitemap.readthedocs.io/en/latest/index.html)" #: ../../documentation/hosting-tools/website-hosting-optimizing-your-docs.md:24 msgid "" -"While we are trying to move away from Google Analytics do to compliance and" -" privacy issues, search engine optimization is still important. Google is " -"the most popular search engine. And if your documentation is search " -"optimized, users are more likely to find your package!" +"While we are trying to move away from Google Analytics do to compliance and " +"privacy issues, search engine optimization is still important. Google is the" +" most popular search engine. And if your documentation is search optimized, " +"users are more likely to find your package!" msgstr "" "コンプライアンスやプライバシーの問題からGoogleアナリティクスから離れようとしていますが、検索エンジン最適化は依然として重要です。 " "Googleは最も人気のある検索エンジンです。 " @@ -1095,9 +1091,9 @@ msgstr "" #: ../../documentation/hosting-tools/website-hosting-optimizing-your-docs.md:30 msgid "" "If you are interested in optimizing your documentation for search engines " -"such as Google, you want a **sitemap.xml** file. You can submit this " -"sitemap to Google and it will index your entire site. This over time can " -"make the content on your site more visible to others when they search." +"such as Google, you want a **sitemap.xml** file. You can submit this sitemap" +" to Google and it will index your entire site. This over time can make the " +"content on your site more visible to others when they search." msgstr "" "Googleのような検索エンジンのために文書を最適化することに興味があるなら、 **sitemap.xml** ファイルが必要です。 " "このサイトマップをGoogleに送信すると、Googleはあなたのサイト全体をインデックスします。 " @@ -1109,33 +1105,35 @@ msgstr "このエクステンションは軽量です。" #: ../../documentation/hosting-tools/website-hosting-optimizing-your-docs.md:38 msgid "" -"It [requires that you to add it to your Sphinx `conf.py` extension list and" -" site your documentation base url](https://sphinx-" +"It [requires that you to add it to your Sphinx `conf.py` extension list and " +"site your documentation base url](https://sphinx-" "sitemap.readthedocs.io/en/latest/getting-started.html)." msgstr "" -"これは、 [Sphinxの `conf.py` 拡張機能リストに追加し、ドキュメントのベースURLを指定する必要があります](https" -"://sphinx-sitemap.readthedocs.io/en/latest/getting-started.html) 。" +"これは、 [Sphinxの `conf.py` " +"拡張機能リストに追加し、ドキュメントのベースURLを指定する必要があります](https://sphinx-" +"sitemap.readthedocs.io/en/latest/getting-started.html) 。" #: ../../documentation/hosting-tools/website-hosting-optimizing-your-docs.md:40 -msgid "[sphinxext.opengraph](https://github.com/sphinx-doc/sphinxext-opengraph)" -msgstr "[sphinxext.opengraph](https://github.com/sphinx-doc/sphinxext-opengraph)" +msgid "" +"[sphinxext.opengraph](https://github.com/sphinx-doc/sphinxext-opengraph)" +msgstr "" +"[sphinxext.opengraph](https://github.com/sphinx-doc/sphinxext-opengraph)" #: ../../documentation/hosting-tools/website-hosting-optimizing-your-docs.md:42 -#, fuzzy msgid "" "OpenGraph is an extension that allows you to add metadata to your " "documentation content pages. [The OpenGraph protocol allows other websites " "to provide a useful preview of the content on your page when " -"shared](https://www.freecodecamp.org/news/what-is-open-graph-and-how-can-i" -"-use-it-for-my-website/#heading-what-is-open-graph). This is important for " -"when the pages in your documentation are shared on social media and even " -"for shares on collaboration platforms like Slack and Discourse." +"shared](https://www.freecodecamp.org/news/what-is-open-graph-and-how-can-i-" +"use-it-for-my-website/#heading-what-is-open-graph). This is important for " +"when the pages in your documentation are shared on social media and even for" +" shares on collaboration platforms like Slack and Discourse." msgstr "" -"OpenGraphは、ドキュメントのコンテンツページにメタデータを追加できる拡張機能です。 " -"[OpenGraphプロトコルは、共有されたときに他のウェブサイトがあなたのページのコンテンツの有用なプレビューを提供することを可能にします](https://www.freecodecamp.org/news" -"/what-is-open-graph-and-how-can-i-use-it-for-my-website/#heading-what-is-" -"open-graph) 。 " -"これは、あなたのドキュメントのページがTwitterやMastodonのようなソーシャルメディアサイトで共有されるときや、SlackやDiscourseのようなツールで共有されるときにも重要です。" +"OpenGraph は、ドキュメントのコンテンツページにメタデータを追加できる拡張機能です。[OpenGraph " +"プロトコルは、共有されたときに他のウェブサイトがあなたのページのコンテンツの有用なプレビューを提供することを可能にします](https://www.freecodecamp.org/news/what-" +"is-open-graph-and-how-can-i-use-it-for-my-website/#heading-what-is-open-" +"graph)。これは、ドキュメントのページがソーシャルメディアで共有される際や、Slack や Discourse " +"のようなコラボレーションプラットフォームで共有される際にも重要です。" #: ../../documentation/index.md:3 msgid "Documentation Overview" @@ -1221,10 +1219,10 @@ msgstr "オープンソースPythonパッケージのドキュメント" #: ../../documentation/index.md:55 msgid "" "Please note that the tools discussed here are those that we see commonly " -"used in the community. As tools evolve we will update this guide. If you " -"are submitting a package for pyOpenSci peer review and use other tools that" -" are not listed in our guide to build your package you can still submit for" -" review! The tools listed here are suggestions, not requirements. Our " +"used in the community. As tools evolve we will update this guide. If you are" +" submitting a package for pyOpenSci peer review and use other tools that are" +" not listed in our guide to build your package you can still submit for " +"review! The tools listed here are suggestions, not requirements. Our " "requirements are focused on the documentation content of your package." msgstr "" "ここで取り上げているツールは、コミュニティで一般的に使用されているものです。 ツールの進化に伴い、このガイドを更新します。 " @@ -1262,8 +1260,8 @@ msgstr "Pythonパッケージユーザーの2つのタイプ" #: ../../documentation/index.md:78 msgid "" -"The documentation that you write for your package should target two types " -"of users:" +"The documentation that you write for your package should target two types of" +" users:" msgstr "パッケージのために書くドキュメントは、2つのタイプのユーザーをターゲットにすべきです:" #: ../../documentation/index.md:81 @@ -1295,15 +1293,16 @@ msgstr "コードベースの使い始め方" #: ../../documentation/index.md:91 msgid "" -"Information on how to cite your code / give you credit if they are using it" -" in a research application." +"Information on how to cite your code / give you credit if they are using it " +"in a research application." msgstr "研究用アプリケーションでコードを使用する場合、あなたのコードをどのように引用し、クレジットを付与するかについての情報。" #: ../../documentation/index.md:93 msgid "" -"Information on the license that your code uses so they know how they can or" -" can't use the code in an operational setting." -msgstr "あなたのコードが使用するライセンスに関する情報を提供することで、運用環境においてコードをどのように使用できるか、または使用できないかを知ってもらいます。" +"Information on the license that your code uses so they know how they can or " +"can't use the code in an operational setting." +msgstr "" +"あなたのコードが使用するライセンスに関する情報を提供することで、運用環境においてコードをどのように使用できるか、または使用できないかを知ってもらいます。" #: ../../documentation/index.md:96 msgid "2. Potential tool contributors" @@ -1311,9 +1310,10 @@ msgstr "2. ツールコントリビュータ候補" #: ../../documentation/index.md:98 msgid "" -"The other subset of users are more experienced and/or more engaged with " -"your package. As such they are potential contributors. These users:" -msgstr "もう一組のユーザは、経験が豊富で、かつ/またはあなたのパッケージにより深く関わっています。 彼らは潜在的な貢献者です。 これらのユーザーは:" +"The other subset of users are more experienced and/or more engaged with your" +" package. As such they are potential contributors. These users:" +msgstr "" +"もう一組のユーザは、経験が豊富で、かつ/またはあなたのパッケージにより深く関わっています。 彼らは潜在的な貢献者です。 これらのユーザーは:" #: ../../documentation/index.md:102 msgid "might have a software development background," @@ -1342,8 +1342,8 @@ msgstr "" #: ../../documentation/index.md:110 msgid "" -"A development guide to help them understand the infrastructure used in your" -" package repository." +"A development guide to help them understand the infrastructure used in your " +"package repository." msgstr "パッケージリポジトリで使われているインフラを理解するための開発ガイドです。" #: ../../documentation/index.md:111 @@ -1354,23 +1354,26 @@ msgstr "どのような貢献の投稿を歓迎し、どのように貢献をし #: ../../documentation/index.md:114 msgid "" -"It's important to remember that the definition of what a contribution is " -"can be broad. A contribution could be something as simple as a bug report. " -"Or fixing a spelling issue in your documentation. Or it could be a code fix" -" that includes a new test that covers an edge-case that they discovered." -msgstr "重要なのは、貢献の定義は幅広いということを覚えておくことです。貢献とは、バグ報告のような単純なものでもよいのです。あるいは、ドキュメントのスペルの問題を修正する。あるいは、彼らが発見したエッジケースをカバーする新しいテストを含むコード修正かもしれません。" +"It's important to remember that the definition of what a contribution is can" +" be broad. A contribution could be something as simple as a bug report. Or " +"fixing a spelling issue in your documentation. Or it could be a code fix " +"that includes a new test that covers an edge-case that they discovered." +msgstr "" +"重要なのは、貢献の定義は幅広いということを覚えておくことです。貢献とは、バグ報告のような単純なものでもよいのです。あるいは、ドキュメントのスペルの問題を修正する。あるいは、彼らが発見したエッジケースをカバーする新しいテストを含むコード修正かもしれません。" #: ../../documentation/index.md:120 -msgid "Documentation elements that pyOpenSci looks for reviewing a Python package" +msgid "" +"Documentation elements that pyOpenSci looks for reviewing a Python package" msgstr "pyOpenSciがPythonパッケージをレビューする際に注目するドキュメント要素" #: ../../documentation/index.md:122 msgid "" "In the pyOpenSci open peer review, we look for a documentation structure " -"that supports both your tool users and potential contributors. The files " -"and elements that we look for specifically can be found in our peer review " +"that supports both your tool users and potential contributors. The files and" +" elements that we look for specifically can be found in our peer review " "check list (see link below)." -msgstr "pyOpenSciオープンピアレビューでは、あなたのツールのユーザーと潜在的な貢献者の両方をサポートする文書構造を探します。私たちが特にチェックするファイルや要素は、査読チェックリスト(下記リンク参照)に記載されています。" +msgstr "" +"pyOpenSciオープンピアレビューでは、あなたのツールのユーザーと潜在的な貢献者の両方をサポートする文書構造を探します。私たちが特にチェックするファイルや要素は、査読チェックリスト(下記リンク参照)に記載されています。" #: ../../documentation/index.md:127 msgid "" @@ -1385,8 +1388,8 @@ msgstr "pyOpenSci査読チェックリストを見る" #: ../../documentation/index.md:138 msgid "" -"Image showing the files in the the MovingPandas GitHub repository. Files in" -" the image include code of conduct.md contributing.md license.txt and " +"Image showing the files in the the MovingPandas GitHub repository. Files in " +"the image include code of conduct.md contributing.md license.txt and " "readme.md." msgstr "" "MovingPandasのGitHubリポジトリにあるファイルを示す画像。画像内のファイルには、code of conduct.md " @@ -1408,9 +1411,9 @@ msgstr "このPythonパッケージのドキュメントセクションの次は #: ../../documentation/index.md:149 msgid "" "In this section of the pyOpenSci package guide, we will walk you through " -"best practices for setting up documentation for your Python package. We " -"will also suggest tools that you can use to build your user-facing " -"documentation website." +"best practices for setting up documentation for your Python package. We will" +" also suggest tools that you can use to build your user-facing documentation" +" website." msgstr "" "pyOpenSciパッケージガイドのこのセクションでは、Pythonパッケージのドキュメントを設定するためのベストプラクティスを説明します。 " "また、ユーザー向けのドキュメントサイトを構築するために使用できるツールも提案します。" @@ -1421,11 +1424,11 @@ msgstr "Todo" #: ../../documentation/index.md:156 msgid "" -"Python version support You should always be explicit about which versions " -"of Python your package supports. Keeping compatibility with old Python " -"versions can be difficult as functionality changes. A good rule of thumb is" -" that the package should support, at least, the latest three Python " -"versions (e.g., 3.8, 3.7, 3.6)." +"Python version support You should always be explicit about which versions of" +" Python your package supports. Keeping compatibility with old Python " +"versions can be difficult as functionality changes. A good rule of thumb is " +"that the package should support, at least, the latest three Python versions " +"(e.g., 3.8, 3.7, 3.6)." msgstr "" "Pythonのバージョンサポート あなたのパッケージがどのバージョンのPythonをサポートしているか、常に明示しておくべきです。 " "Pythonの古いバージョンとの互換性を保つことは、機能が変わるにつれて難しくなります。 " @@ -1441,11 +1444,11 @@ msgstr "はじめに" #: ../../documentation/repository-files/changelog-file.md:5 msgid "" -"The `CHANGELOG.md` document serves as a valuable resource for developers " -"and users alike to track the evolution of a project over time. " -"Understanding the structure and purpose of a changelog helps users and " -"contributors stay informed about new features, bug fixes, and other changes" -" introduced in each release." +"The `CHANGELOG.md` document serves as a valuable resource for developers and" +" users alike to track the evolution of a project over time. Understanding " +"the structure and purpose of a changelog helps users and contributors stay " +"informed about new features, bug fixes, and other changes introduced in each" +" release." msgstr "" "`CHANGELOG.md` ドキュメントは、開発者にとってもユーザーにとっても、プロジェクトの進化を追跡するための貴重なリソースとなります。 " "変更履歴の構造と目的を理解することで、ユーザーや貢献者は各リリースで導入された新機能やバグ修正、その他の変更について常に情報を得ることができます。" @@ -1457,23 +1460,21 @@ msgstr "CHANGELOG.mdとは?" #: ../../documentation/repository-files/changelog-file.md:9 msgid "" "The primary purpose of `CHANGELOG.md` is to provide a record of notable " -"changes made to the project with each new release. This document helps " -"users understand what has been added, fixed, modified, or removed with each" -" version of the software." +"changes made to the project with each new release. This document helps users" +" understand what has been added, fixed, modified, or removed with each " +"version of the software." msgstr "" "`CHANGELOG.md` の主な目的は、新しいリリースごとにプロジェクトに加えられた注目すべき変更の記録を提供することです。 " "このドキュメントは、ソフトウェアの各バージョンで何が追加、修正、変更、削除されたかをユーザーが理解するのに役立ちます。" #: ../../documentation/repository-files/changelog-file.md:11 -#, fuzzy msgid "" -"[Keep a Changelog](https://keepachangelog.com/en/1.1.0/) is a great, simple" -" resource for understanding what a changelog is and how to create a good " +"[Keep a Changelog](https://keepachangelog.com/en/1.1.0/) is a great, simple " +"resource for understanding what a changelog is and how to create a good " "changelog. It also includes examples of things to avoid." msgstr "" -"[Keep a " -"CHAGELOG.md](https://keepachangelog.com/en/1.1.0/)は、変更ログとは何か、どのように良い変更ログを作成するかを理解するための、シンプルで素晴らしいリソースです。" -" また、避けるべきことの例も含まれています。" +"[Keep a Changelog](https://keepachangelog.com/en/1.1.0/) " +"は、変更ログとは何か、どのように良い変更ログを作成するかを理解するための、シンプルで素晴らしいリソースです。また、避けるべきことの例も含まれています。" #: ../../documentation/repository-files/changelog-file.md:13 msgid "Versioning your Python package and semantic versioning" @@ -1490,8 +1491,8 @@ msgstr "" #: ../../documentation/repository-files/changelog-file.md:17 msgid "" -"[Creating New Versions of Your Python Package](../../package-structure-code" -"/python-package-versions.md)" +"[Creating New Versions of Your Python Package](../../package-structure-" +"code/python-package-versions.md)" msgstr "" "[Python パッケージの新しいバージョンの作成](../../package-structure-code/python-package-" "versions.md)" @@ -1506,11 +1507,11 @@ msgstr "なぜそれが重要なのか?" #: ../../documentation/repository-files/changelog-file.md:23 msgid "" -"A well-maintained changelog is essential for transparent communication with" -" users and developers. It serves as a centralized hub for documenting " -"changes and highlights the progress made in each release. By keeping the " -"changelog up-to-date, project maintainers can build trust with their user " -"base and demonstrate their commitment to improving the software." +"A well-maintained changelog is essential for transparent communication with " +"users and developers. It serves as a centralized hub for documenting changes" +" and highlights the progress made in each release. By keeping the changelog " +"up-to-date, project maintainers can build trust with their user base and " +"demonstrate their commitment to improving the software." msgstr "" "ユーザーや開発者との透明性のあるコミュニケーションには、よく管理された変更履歴が不可欠です。 " "変更ログは、変更点を文書化し、各リリースでの進捗をハイライトするための一元的なハブとして機能します。 " @@ -1521,21 +1522,20 @@ msgid "What does it include?" msgstr "その内容は?" #: ../../documentation/repository-files/changelog-file.md:27 -#, fuzzy msgid "" -"The contents of a `CHANGELOG.md` file typically follow a structured format," -" detailing the changes introduced in each release. While the exact format " -"may vary depending on the project's conventions, some common elements found" -" in changelogs for Python packages include:" +"The contents of a `CHANGELOG.md` file typically follow a structured format, " +"detailing the changes introduced in each release. While the exact format may" +" vary depending on the project's conventions, some common elements found in " +"changelogs for Python packages include:" msgstr "" -"changelog.md ファイルの内容は一般的に構造化されたフォーマットに従い、各リリースで導入された変更の詳細を記述します。 " -"正確なフォーマットはプロジェクトの規約によって異なるかもしれませんが、 Python パッケージの changelog " -"でよく見られる要素には以下のようなものがあります:" +"`CHANGELOG.md` " +"ファイルの内容は一般的に構造化されたフォーマットに従い、各リリースで導入された変更の詳細を記述します。正確なフォーマットはプロジェクトの規約によって異なるかもしれませんが、Python" +" パッケージの変更ログでよく見られる要素には以下のようなものがあります:" #: ../../documentation/repository-files/changelog-file.md:29 msgid "" -"**Versioning**: Clear identification of each release version using semantic" -" versioning or another versioning scheme adopted by the project." +"**Versioning**: Clear identification of each release version using semantic " +"versioning or another versioning scheme adopted by the project." msgstr "" "**Versioning**: " "セマンティックバージョニング、またはプロジェクトが採用するその他のバージョニングスキームを使って、各リリースのバージョンを明確に識別すること。" @@ -1548,9 +1548,9 @@ msgstr "**Release Date**: 各バージョンが公開された日付で、変更 #: ../../documentation/repository-files/changelog-file.md:33 msgid "" -"**Change Categories**: Organizing changes into categories such as " -"\"Added,\" \"Changed,\" \"Fixed,\" and \"Removed\" to facilitate navigation" -" and understanding." +"**Change Categories**: Organizing changes into categories such as \"Added,\"" +" \"Changed,\" \"Fixed,\" and \"Removed\" to facilitate navigation and " +"understanding." msgstr "" "**変更カテゴリー**: 変更を \"Added,\" \"Changed,\" \"Fixed,\" \"Removed\" " "などのカテゴリーに整理し、ナビゲーションと理解を容易にします。" @@ -1565,24 +1565,24 @@ msgstr "**変更の内容**: 新機能、機能強化、バグフィックス、 #: ../../documentation/repository-files/changelog-file.md:37 msgid "" "**Links to Issues or Pull Requests**: References to relevant issue tracker " -"items or pull requests associated with each change, enabling users to " -"access more detailed information if needed." +"items or pull requests associated with each change, enabling users to access" +" more detailed information if needed." msgstr "" "**課題またはプルリクエストへのリンク**: " "各変更に関連する課題追跡項目またはプルリクエストへの参照で、ユーザーは必要に応じてより詳細な情報にアクセスできます。" #: ../../documentation/repository-files/changelog-file.md:39 msgid "" -"**Upgrade Instructions**: Guidance for users on how to upgrade to the " -"latest version, including any breaking changes or migration steps they need" -" to be aware of." +"**Upgrade Instructions**: Guidance for users on how to upgrade to the latest" +" version, including any breaking changes or migration steps they need to be " +"aware of." msgstr "**アップグレード手順**: 最新バージョンへのアップグレード方法に関するガイダンス、注意すべき変更点や移行手順を含みます。" #: ../../documentation/repository-files/changelog-file.md:41 msgid "" "**Contributor Recognition**: Acknowledgment of contributors who made " -"significant contributions to the release, fostering a sense of community " -"and appreciation for their efforts." +"significant contributions to the release, fostering a sense of community and" +" appreciation for their efforts." msgstr "**コントリビューターの認識**: リリースに多大な貢献をした貢献者を認識し、彼らの努力に対する感謝の気持ちと共同体意識を醸成します。" #: ../../documentation/repository-files/changelog-file.md:43 @@ -1622,8 +1622,8 @@ msgstr "新しいリリースを作る準備ができたら、要素をその新 #: ../../documentation/repository-files/changelog-file.md:63 msgid "" -"This specific release section will sit below the unreleased section and can" -" include any updates, additions, deprecations and contributors." +"This specific release section will sit below the unreleased section and can " +"include any updates, additions, deprecations and contributors." msgstr "この特定のリリースセクションは、未リリースセクションの下に位置し、更新、追加、非推奨、貢献者を含むことができます。" #: ../../documentation/repository-files/changelog-file.md:65 @@ -1667,15 +1667,16 @@ msgstr "" msgid "" "[fatiando CODE_OF_CONDUCT.md " "file](https://github.com/fatiando/community/blob/main/CODE_OF_CONDUCT.md)" -msgstr "[fatiandoのCODE_OF_CONDUCT.mdファイル](https://github.com/fatiando/community/blob/main/CODE_OF_CONDUCT.md)" +msgstr "" +"[fatiandoのCODE_OF_CONDUCT.mdファイル](https://github.com/fatiando/community/blob/main/CODE_OF_CONDUCT.md)" #: ../../documentation/repository-files/code-of-conduct-file.md:12 msgid "" -"Your package should have a `CODE_OF_CONDUCT.md` file located the root of " -"the repository. Once you have people using your package, you can consider " -"the package itself as having a community around it. Some of this community " -"uses your tool. These users may have questions or encounter challenges " -"using your package." +"Your package should have a `CODE_OF_CONDUCT.md` file located the root of the" +" repository. Once you have people using your package, you can consider the " +"package itself as having a community around it. Some of this community uses " +"your tool. These users may have questions or encounter challenges using your" +" package." msgstr "" "あなたのパッケージには、リポジトリのルートに `CODE_OF_CONDUCT.md` ファイルがあるはずです。 " "あなたのパッケージを使っている人がいれば、そのパッケージ自体にコミュニティがあると考えることができます。 " @@ -1707,9 +1708,8 @@ msgstr "" msgid "" "The `CODE_OF_CONDUCT` is important as it establishes what you expect in " "terms of how users and contributors interact with maintainers and each " -"other. It also establishes rules and expectations which can then be " -"enforced if need be to protect others from harmful and/or negative " -"behaviors." +"other. It also establishes rules and expectations which can then be enforced" +" if need be to protect others from harmful and/or negative behaviors." msgstr "" "`CODE_OF_CONDUCT` " "は、利用者や貢献者がメンテナや他の利用者とどのように交流するかという点で、あなたが期待することを定めるものとして重要です。 " @@ -1717,8 +1717,8 @@ msgstr "" #: ../../documentation/repository-files/code-of-conduct-file.md:34 msgid "" -"If you are not comfortable with creating your own `CODE_OF_CONDUCT` text, " -"we encourage you to adopt the `CODE_OF_CONDUCT` language used in the " +"If you are not comfortable with creating your own `CODE_OF_CONDUCT` text, we" +" encourage you to adopt the `CODE_OF_CONDUCT` language used in the " "[Contributor Covenant](https://www.contributor-" "covenant.org/version/2/1/code_of_conduct/). [Many other " "communities](https://www.contributor-covenant.org/adopters/) have adopted " @@ -1727,11 +1727,10 @@ msgid "" "here.](https://github.com/fatiando/community/blob/main/CODE_OF_CONDUCT.md)" msgstr "" "あなた自身の `CODE_OF_CONDUCT` の文章を作成することに抵抗がある場合、 [Contributor " -"Covenant](https://www.contributor-" -"covenant.org/version/2/1/code_of_conduct/) で使用されている `CODE_OF_CONDUCT` " -"の文言を採用することをお勧めします。 [他の多くのコミュニティ](https://www.contributor-" -"covenant.org/adopters/) はこの `CODE_OF_CONDUCT` を自分たちのものとして採用しています。 [Fatiando" -" Terra Geoscience " +"Covenant](https://www.contributor-covenant.org/version/2/1/code_of_conduct/)" +" で使用されている `CODE_OF_CONDUCT` の文言を採用することをお勧めします。 " +"[他の多くのコミュニティ](https://www.contributor-covenant.org/adopters/) はこの " +"`CODE_OF_CONDUCT` を自分たちのものとして採用しています。 [Fatiando Terra Geoscience " "Pythonコミュニティの例はこちら](https://github.com/fatiando/community/blob/main/CODE_OF_CONDUCT.md)" " を参照してください。" @@ -1743,9 +1742,9 @@ msgstr "あなたのPythonパッケージのCONTRIBUTINGファイル" msgid "" "The **CONTRIBUTING.md** is the landing page guide for your project's " "contributors. It outlines how contributors can get involved, the " -"contribution types that you welcome, and how contributors should interact " -"or engage with you and your maintainer team. The contributor guide should " -"also link to get-started resources that overview how to set up development " +"contribution types that you welcome, and how contributors should interact or" +" engage with you and your maintainer team. The contributor guide should also" +" link to get-started resources that overview how to set up development " "environments, what type of workflow you expect on GitHub/GitLab, and " "anything else that contributors might need to get started." msgstr "" @@ -1757,8 +1756,8 @@ msgid "" "This file benefits maintainers and contributors. For contributors, it " "provides a roadmap that helps them get started and makes their first " "contribution easier. For maintainers, it answers commonly asked questions " -"and reduces the burden of explaining your process to every person who wants" -" to contribute. This document creates a more collaborative and efficient " +"and reduces the burden of explaining your process to every person who wants " +"to contribute. This document creates a more collaborative and efficient " "development process for everyone." msgstr "" "このファイルは、メンテナと貢献者に利益をもたらします。コントリビューターにとっては、最初のコントリビューションを容易にするためのロードマップとなります。" @@ -1792,9 +1791,9 @@ msgstr "" #: ../../documentation/repository-files/contributing-file.md:15 msgid "" -"Including a well-written CONTRIBUTING.md file in your project is one way of" -" making it more welcoming and open to new and seasoned contributors. It " -"also helps create a smoother workflow for everyone involved." +"Including a well-written CONTRIBUTING.md file in your project is one way of " +"making it more welcoming and open to new and seasoned contributors. It also " +"helps create a smoother workflow for everyone involved." msgstr "" "よく書かれた CONTRIBUTING.md " "ファイルをプロジェクトに含めることは、新しい貢献者やベテランの貢献者をより歓迎し、オープンにする方法の1つです。また、関係者全員にとって、よりスムーズなワークフローを構築するのにも役立ちます。" @@ -1805,14 +1804,14 @@ msgstr "歓迎しましょう" #: ../../documentation/repository-files/contributing-file.md:19 msgid "" -"Make the guide welcoming. Use accessible language to encourage " -"participation from contributors of all experience levels. For example:" +"Make the guide welcoming. Use accessible language to encourage participation" +" from contributors of all experience levels. For example:" msgstr "歓迎されるガイドにします。あらゆる経験レベルの貢献の参加を促すために、わかりやすい言葉を使います。 例えば:" #: ../../documentation/repository-files/contributing-file.md:21 msgid "" -"Avoid technical jargon or explain terms when necessary (for example, \"fork" -" the repository\")." +"Avoid technical jargon or explain terms when necessary (for example, \"fork " +"the repository\")." msgstr "専門用語は避け、必要な場合は用語を説明します (例えば \"リポジトリをフォークする\" など) 。" #: ../../documentation/repository-files/contributing-file.md:22 @@ -1845,13 +1844,14 @@ msgstr "" msgid "" "[Verde's contributing " "file](https://github.com/fatiando/verde/blob/main/CONTRIBUTING.md)" -msgstr "[Verdeの貢献ファイル](https://github.com/fatiando/verde/blob/main/CONTRIBUTING.md)" +msgstr "" +"[Verdeの貢献ファイル](https://github.com/fatiando/verde/blob/main/CONTRIBUTING.md)" #: ../../documentation/repository-files/contributing-file.md:34 msgid "" -"Your Python package should include a file called **CONTRIBUTING.md** " -"located in the root of your repository next to [your **README.md** file" -"](readme-file)." +"Your Python package should include a file called **CONTRIBUTING.md** located" +" in the root of your repository next to [your **README.md** file](readme-" +"file)." msgstr "" "あなたのPythonパッケージは、リポジトリのルートに [**README.md** ファイル](readme-file) の次に " "**CONTRIBUTING.md** というファイルを含むべきです。" @@ -1897,7 +1897,8 @@ msgstr "貢献者は直接プルリクエスト(PR)を開くべきですか、 msgid "" "Include instructions for the fork and pull request workflow and link to " "resources or guides explaining these steps (if available)." -msgstr "フォークとプルリクエストのワークフローに関する説明と、 (利用可能な場合は) これらのステップを説明するリソースやガイドへのリンクを含めてください。" +msgstr "" +"フォークとプルリクエストのワークフローに関する説明と、 (利用可能な場合は) これらのステップを説明するリソースやガイドへのリンクを含めてください。" #: ../../documentation/repository-files/contributing-file.md:49 msgid "" @@ -1907,33 +1908,33 @@ msgstr "課題、プルリクエスト、質問を提出するユーザーに対 #: ../../documentation/repository-files/contributing-file.md:51 msgid "" -"If you have a [development guide](development-guide), link to it. This " -"guide should provide clear instructions on how to set up your development " +"If you have a [development guide](development-guide), link to it. This guide" +" should provide clear instructions on how to set up your development " "environment locally. It also should overview CI tools that you have that " "could simplify the contribution process (for example, pre-[commit.ci " -"bot](https://www.pyopensci.org/python-package-guide/package-structure-code" -"/code-style-linting-format.html#pre-commit-ci), and so on), [linters, code " -"formatters](https://www.pyopensci.org/python-package-guide/package-" +"bot](https://www.pyopensci.org/python-package-guide/package-structure-" +"code/code-style-linting-format.html#pre-commit-ci), and so on), [linters, " +"code formatters](https://www.pyopensci.org/python-package-guide/package-" "structure-code/code-style-linting-format.html#code-linting-formatting-and-" "styling-tools), and so on." msgstr "" "[development guide](development-guide) を持っているなら、リンクしてください。 " "このガイドでは、開発環境をローカルにセットアップする方法をわかりやすく説明します。また、貢献のプロセスを簡素化できるようなCIツールについても概説する必要があります" -" (例えば [commit.ci bot](https://www.pyopensci.org/python-package-guide" -"/package-structure-code/code-style-linting-format.html#pre-commit-ci) など), " -"[linters, code formatters](https://www.pyopensci.org/python-package-guide" -"/package-structure-code/code-style-linting-format.html#code-linting-" +" (例えば [commit.ci bot](https://www.pyopensci.org/python-package-" +"guide/package-structure-code/code-style-linting-format.html#pre-commit-ci) " +"など), [linters, code formatters](https://www.pyopensci.org/python-package-" +"guide/package-structure-code/code-style-linting-format.html#code-linting-" "formatting-and-styling-tools), など。" #: ../../documentation/repository-files/contributing-file.md:53 -#, fuzzy msgid "" -"This guide should also include information for someone interested in asking" -" questions. Some projects accept questions as GitHub or GitLab issues. " -"Others use GitHub Discussions, Discourse, or even a Discord server." +"This guide should also include information for someone interested in asking " +"questions. Some projects accept questions as GitHub or GitLab issues. Others" +" use GitHub Discussions, Discourse, or even a Discord server." msgstr "" -"このガイドには、質問することに興味がある人のための情報も含まれているはずです。 " -"GitHubやGitLabのissueとして質問を受け付けるプロジェクトもあります。また、GitHubディスカッションやDiscourse、あるいはDiscordサーバーを使う人もいます。" +"このガイドには、質問することに興味がある人のための情報も含まれているはずです。GitHub や GitLab の issue " +"として質問を受け付けるプロジェクトもあります。また、GitHub Discussions や Discourse、あるいは Discord " +"サーバーを使うプロジェクトもあります。" #: ../../documentation/repository-files/contributing-file.md:56 msgid "The contributing file should also include:" @@ -1961,7 +1962,8 @@ msgid "" "providing clear instructions, helpful resources, and a welcoming tone, you " "make it easier for contributors to get involved and build a stronger, more " "collaborative community around your project." -msgstr "よく練られたCONTRIBUTING.mdファイルは、あなたのプロジェクトのウェルカムマットです!明確な指示、有用なリソース、歓迎ムードを提供することで、貢献者がプロジェクトに参加しやすくなり、より強力で協力的なコミュニティが構築されます。" +msgstr "" +"よく練られたCONTRIBUTING.mdファイルは、あなたのプロジェクトのウェルカムマットです!明確な指示、有用なリソース、歓迎ムードを提供することで、貢献者がプロジェクトに参加しやすくなり、より強力で協力的なコミュニティが構築されます。" #: ../../documentation/repository-files/development-guide.md:2 msgid "What the development guide for your Python package should contain" @@ -1975,8 +1977,7 @@ msgid "" "show technically proficient users how to:" msgstr "" "理想的には、あなたのパッケージは開発ガイドを持つべきです。 このファイルはあなたのパッケージのドキュメントにあり、 " -"CONTRIBUTING.mdファイル(前述)からリンクされるべきです。 " -"開発ガイドは、技術的に熟達したユーザに対して、以下の方法を明確に示すべきです:" +"CONTRIBUTING.mdファイル(前述)からリンクされるべきです。 開発ガイドは、技術的に熟達したユーザに対して、以下の方法を明確に示すべきです:" #: ../../documentation/repository-files/development-guide.md:8 msgid "Set up a development environment locally to work on your package" @@ -1996,16 +1997,17 @@ msgstr "開発ガイドには、次のようなガイドラインもあるはず #: ../../documentation/repository-files/development-guide.md:14 msgid "" -"code standards including docstring style, code format and any specific code" -" approaches that the package follows." +"code standards including docstring style, code format and any specific code " +"approaches that the package follows." msgstr "docstringスタイルを含むコード標準、コードフォーマットと、パッケージが従う特定のコードアプローチ。" #: ../../documentation/repository-files/development-guide.md:16 msgid "" -"It's also helpful to specify the types of tests you request if a " -"contributor submits a new feature or a change to an existing feature that " -"will not be covered by your existing test suite." -msgstr "また、既存のテストスイートではカバーできないような新機能や既存機能の変更をコントリビューターが提出する場合、要求するテストの種類を指定しておくと便利です。" +"It's also helpful to specify the types of tests you request if a contributor" +" submits a new feature or a change to an existing feature that will not be " +"covered by your existing test suite." +msgstr "" +"また、既存のテストスイートではカバーできないような新機能や既存機能の変更をコントリビューターが提出する場合、要求するテストの種類を指定しておくと便利です。" #: ../../documentation/repository-files/development-guide.md:18 msgid "" @@ -2018,7 +2020,8 @@ msgid "Why a development guide is important" msgstr "開発ガイドが重要な理由" #: ../../documentation/repository-files/development-guide.md:22 -msgid "It's valuable to have a development guide, in the case that you wish to:" +msgid "" +"It's valuable to have a development guide, in the case that you wish to:" msgstr "開発ガイドを持つことは価値があります、もしそうしたいのであれば:" #: ../../documentation/repository-files/development-guide.md:25 @@ -2036,14 +2039,16 @@ msgid "" "It also is important to pyOpenSci that the maintenance workflow is " "documented in the case that we need to help you onboard new maintainers in " "the future." -msgstr "また、pyOpenSciにとって、将来新しいメンテナーの参加を支援する必要がある場合に備えて、メンテナンスのワークフローを文書化しておくことも重要です。" +msgstr "" +"また、pyOpenSciにとって、将来新しいメンテナーの参加を支援する必要がある場合に備えて、メンテナンスのワークフローを文書化しておくことも重要です。" #: ../../documentation/repository-files/development-guide.md:33 msgid "" -"A well thought out continuous integration setup in your repository can " -"allow users to skip building the package locally (especially if they are " -"just updating text)." -msgstr "リポジトリによく考えられた継続的インテグレーションのセットアップがあれば、ユーザーはローカルでのパッケージのビルドを省略することができる(特にテキストを更新するだけの場合)。" +"A well thought out continuous integration setup in your repository can allow" +" users to skip building the package locally (especially if they are just " +"updating text)." +msgstr "" +"リポジトリによく考えられた継続的インテグレーションのセットアップがあれば、ユーザーはローカルでのパッケージのビルドを省略することができる(特にテキストを更新するだけの場合)。" #: ../../documentation/repository-files/development-guide.md:38 msgid "" @@ -2051,17 +2056,18 @@ msgid "" "pyOpenSci requires a package to have in order to be eligible for review. " "Some maintainers may also opt to include the development information in " "their contributing guide." -msgstr "開発ガイドは強く推奨されますが、pyOpenSciがレビューの対象とするためにパッケージに要求するファイルではありません。メンテナによっては、コントリビューティングガイドに開発情報を含めることもできます。" +msgstr "" +"開発ガイドは強く推奨されますが、pyOpenSciがレビューの対象とするためにパッケージに要求するファイルではありません。メンテナによっては、コントリビューティングガイドに開発情報を含めることもできます。" #: ../../documentation/repository-files/development-guide.md:44 msgid "" "[The Mozilla Science Lab website has a nice outline of things to consider " -"when creating a contributing guide](https://mozillascience.github.io" -"/working-open-workshop/contributing/)" +"when creating a contributing " +"guide](https://mozillascience.github.io/working-open-workshop/contributing/)" msgstr "" "[Mozilla Science " -"Labのウェブサイトには、寄稿ガイドを作成する際に考慮すべきことの素晴らしいアウトラインがあります](https://mozillascience.github.io" -"/working-open-workshop/contributing/)" +"Labのウェブサイトには、寄稿ガイドを作成する際に考慮すべきことの素晴らしいアウトラインがあります](https://mozillascience.github.io/working-" +"open-workshop/contributing/)" #: ../../documentation/repository-files/intro.md:1 msgid "Documentation Files That Should be in your Python Package Repository" @@ -2070,8 +2076,8 @@ msgstr "Pythonパッケージリポジトリにあるべきドキュメントフ #: ../../documentation/repository-files/intro.md:3 msgid "" "In this section of the Python packaging guide, we review all of the files " -"that you should have in your Python package repository. Your Python package" -" should, at a minimum have the following files:" +"that you should have in your Python package repository. Your Python package " +"should, at a minimum have the following files:" msgstr "" "Python パッケージングガイドのこのセクションでは、Python パッケージリポジトリにあるべきすべてのファイルをレビューします。 Python " "パッケージには最低限以下のファイルが必要です:" @@ -2089,27 +2095,26 @@ msgstr "" #: ../../documentation/repository-files/intro.md:13 msgid "" -"Image showing that the MovingPandas GitHub repository community health page" -" with green checks next to each file including a description, README, code " -"of conduct, contributing, license and issue templates. Note that Security " +"Image showing that the MovingPandas GitHub repository community health page " +"with green checks next to each file including a description, README, code of" +" conduct, contributing, license and issue templates. Note that Security " "policy has a yellow circle next to it as that is missing from the repo." msgstr "" "MovingPandasのGitHubリポジトリコミュニティの健全性を示す画像で、説明、README、行動規範、貢献、ライセンス、課題テンプレートを含む各ファイルの横に緑色のチェックが付いています。" " セキュリティポリシーは黄色い丸で囲まれています。" #: ../../documentation/repository-files/intro.md:19 -#, fuzzy msgid "" -"GitHub community health looks for a readme file among other elements when " -"it evaluates the community level health of your repository. This example is" -" from the [MovingPandas GitHub " -"repo](https://github.com/movingpandas/movingpandas/community) *(screen shot" -" taken Nov 23 2022)*" +"GitHub community health looks for a readme file among other elements when it" +" evaluates the community level health of your repository. This example is " +"from the [MovingPandas GitHub " +"repo](https://github.com/movingpandas/movingpandas/community) *(screen shot " +"taken Nov 23 2022)*" msgstr "" "GitHub community health は、リポジトリのコミュニティレベルの健全性を評価する際に、他の要素の中から readme " -"ファイルを探します。この例は、 [MovingPandas GitHub " -"repo](https://github.com/anitagraser/movingpandas/community) " -"*(2022年11月23日撮影のスクリーンショット)* からのものです。" +"ファイルを探します。この例は、[MovingPandas GitHub " +"リポジトリ](https://github.com/movingpandas/movingpandas/community) からのものです " +"*(2022年11月23日撮影のスクリーンショット)*" #: ../../documentation/repository-files/intro.md:22 msgid "" @@ -2123,12 +2128,12 @@ msgstr "" #: ../../documentation/repository-files/intro.md:26 msgid "" "Screenshot of the Snyk page for movingpandas. It shows that the repository " -"has a README file, contributing file, code of conduct. It also shows that " -"it has 30 contributors and no funding. The package health score is 78/100." +"has a README file, contributing file, code of conduct. It also shows that it" +" has 30 contributors and no funding. The package health score is 78/100." msgstr "" "movingpandasのSnykページのスクリーンショットです。 " -"このリポジトリには、READMEファイル、貢献ファイル、行動規範があることがわかります。 また、30人の貢献者がいて、資金提供はないことがわかります。" -" パッケージのヘルススコアは78/100です。" +"このリポジトリには、READMEファイル、貢献ファイル、行動規範があることがわかります。 また、30人の貢献者がいて、資金提供はないことがわかります。 " +"パッケージのヘルススコアは78/100です。" #: ../../documentation/repository-files/intro.md:32 msgid "" @@ -2140,14 +2145,13 @@ msgstr "" "両方のプラットフォームがREADMEファイルを探していることに注目してください。 *(スクリーンショットは2022年11月23日撮影)* 。" #: ../../documentation/repository-files/license-files.md:8 -#, fuzzy msgid "License files for Python open source software" -msgstr "科学的Pythonオープンソースソフトウェアのライセンスファイル" +msgstr "Python オープンソースソフトウェアのライセンスファイル" #: ../../documentation/repository-files/license-files.md:10 msgid "" -"Want to learn how to add a license file to your GitHub repository? Check " -"out this lesson." +"Want to learn how to add a license file to your GitHub repository? Check out" +" this lesson." msgstr "GitHub リポジトリにライセンスファイルを追加する方法を学びたいですか? このレッスンを見てみましょう。" #: ../../documentation/repository-files/license-files.md:17 @@ -2156,10 +2160,11 @@ msgstr "オープンソースライセンスファイルとは何ですか?" #: ../../documentation/repository-files/license-files.md:19 msgid "" -"When we talk about LICENSE files, we are referring to a file in your GitHub" -" or GitLab repository that contains legally binding language that describes" -" to your users how they can legally use (and not use) your package." -msgstr "LICENSEファイルというのは、GitHubやGitLabのリポジトリにあるファイルのことです。このファイルには、あなたのパッケージをユーザーが合法的に使う(あるいは使わない)方法が書かれています。" +"When we talk about LICENSE files, we are referring to a file in your GitHub " +"or GitLab repository that contains legally binding language that describes " +"to your users how they can legally use (and not use) your package." +msgstr "" +"LICENSEファイルというのは、GitHubやGitLabのリポジトリにあるファイルのことです。このファイルには、あなたのパッケージをユーザーが合法的に使う(あるいは使わない)方法が書かれています。" #: ../../documentation/repository-files/license-files.md:23 msgid "Why licenses are important" @@ -2167,9 +2172,9 @@ msgstr "ライセンスが重要な理由" #: ../../documentation/repository-files/license-files.md:25 msgid "" -"A license file is important for all open source projects because it " -"protects both you as a maintainer and your users. The license file helps " -"your users and the community understand:" +"A license file is important for all open source projects because it protects" +" both you as a maintainer and your users. The license file helps your users " +"and the community understand:" msgstr "" "ライセンスファイルは、メンテナであるあなたとユーザの両方を保護するため、すべてのオープンソースプロジェクトにとって重要です。 " "ライセンスファイルは、あなたのユーザとコミュニティの理解を助けます:" @@ -2192,13 +2197,13 @@ msgstr "などなど。" #: ../../documentation/repository-files/license-files.md:33 msgid "" -"[Read more about why license files are critical in protecting both you as a" -" maintainer and your users of your scientific Python open source " -"package.](https://opensource.guide/legal/#just-give-me-the-tldr-on-what-i" -"-need-to-protect-my-project)" +"[Read more about why license files are critical in protecting both you as a " +"maintainer and your users of your scientific Python open source " +"package.](https://opensource.guide/legal/#just-give-me-the-tldr-on-what-i-" +"need-to-protect-my-project)" msgstr "" -"[科学的なPythonオープンソースパッケージのメンテナであるあなたとユーザの両方を保護するために、ライセンスファイルが重要である理由についてもっと読む](https://opensource.guide/legal" -"/#just-give-me-the-tldr-on-what-i-need-to-protect-my-project)" +"[科学的なPythonオープンソースパッケージのメンテナであるあなたとユーザの両方を保護するために、ライセンスファイルが重要である理由についてもっと読む](https://opensource.guide/legal/#just-" +"give-me-the-tldr-on-what-i-need-to-protect-my-project)" #: ../../documentation/repository-files/license-files.md:35 msgid "Where to store your license" @@ -2212,20 +2217,20 @@ msgstr "`LICENSE` ファイルは GitHub / GitLab リポジトリのルートに #: ../../documentation/repository-files/license-files.md:39 msgid "" -"Some maintainers customize the language in their license files for specific" -" reasons. However, if you are just getting started, we suggest that you " +"Some maintainers customize the language in their license files for specific " +"reasons. However, if you are just getting started, we suggest that you " "select a permissive license and then use the legal language templates " "provided both by GitHub and/or the " "[choosealicense.com](https://choosealicense.com/) website." msgstr "" -"特定の理由からライセンスファイルの言葉をカスタマイズするメンテナもいます。 しかし、これから始めるのであれば、寛容なライセンスを選択し、GitHubや" -" [choosealicense.com](https://choosealicense.com/) " +"特定の理由からライセンスファイルの言葉をカスタマイズするメンテナもいます。 しかし、これから始めるのであれば、寛容なライセンスを選択し、GitHubや " +"[choosealicense.com](https://choosealicense.com/) " "のウェブサイトで提供されている法的な言語テンプレートを使うことをお勧めします。" #: ../../documentation/repository-files/license-files.md:42 msgid "" -"Licenses are legally binding, as such you should avoid trying to create " -"your own license unless you have the guidance of legal council." +"Licenses are legally binding, as such you should avoid trying to create your" +" own license unless you have the guidance of legal council." msgstr "ライセンスには法的拘束力があるため、法律顧問の指導がない限り、独自のライセンスを作成しようとするのは避けるべきです。" #: ../../documentation/repository-files/license-files.md:44 @@ -2233,18 +2238,17 @@ msgid "Use open permissive licenses when possible" msgstr "可能な限りオープンパーミッシブライセンスを使用する" #: ../../documentation/repository-files/license-files.md:46 -#, fuzzy msgid "" "We generally suggest that you use a permissive, license that is [Open " -"Software Initiative (OSI) approved](https://opensource.org/license). If you" -" are [submitting your package to pyOpenSci for peer " +"Software Initiative (OSI) approved](https://opensource.org/license). If you " +"are [submitting your package to pyOpenSci for peer " "review](https://www.pyopensci.org/about-peer-review/index.html), then we " "require an OSI approved license." msgstr "" -"一般的に、 [Open Software Initiative (OSI) " -"approved](https://opensource.org/licenses/)の寛容なライセンスを使用することを推奨します。 " -"もしあなたが[査読のためにpyOpenSciにパッケージを提出する](https://www.pyopensci.org/about-peer-" -"review/index.html) のであれば、OSIが承認したライセンスが必要です。" +"一般的には、[Open Software Initiative (OSI) " +"承認済み](https://opensource.org/license)のパーミッシブなライセンスを使用することをお勧めします。[pyOpenSci " +"に査読のためにパッケージを提出する](https://www.pyopensci.org/about-peer-" +"review/index.html)場合は、OSI 承認済みのライセンスが必要です。" #: ../../documentation/repository-files/license-files.md:50 msgid "Copyleft licenses" @@ -2253,13 +2257,13 @@ msgstr "コピーレフトのライセンス" #: ../../documentation/repository-files/license-files.md:51 msgid "" "The other major category of licenses are [\"copyleft\" " -"licenses](https://en.wikipedia.org/wiki/Copyleft). Copyleft licenses " -"require people that use your work to redistribute it with the same (or " -"greater) rights to modify, copy, share, and redistribute it. In other " -"words, copyleft licenses prohibit someone taking your work, making a " -"proprietary version of it, and redistributing it without providing the " -"source code so others can do the same. Copyleft licenses are \"sticky\" in " -"that they are designed to ensure that more free software is created." +"licenses](https://en.wikipedia.org/wiki/Copyleft). Copyleft licenses require" +" people that use your work to redistribute it with the same (or greater) " +"rights to modify, copy, share, and redistribute it. In other words, copyleft" +" licenses prohibit someone taking your work, making a proprietary version of" +" it, and redistributing it without providing the source code so others can " +"do the same. Copyleft licenses are \"sticky\" in that they are designed to " +"ensure that more free software is created." msgstr "" "ライセンスのもう一つの大きなカテゴリーは、 [\"コピーレフト\" " "ライセンスです](https://en.wikipedia.org/wiki/Copyleft) " @@ -2275,8 +2279,8 @@ msgid "" "cultural divide in free and open source software (e.g., see " "{footcite}`hunterReclaimingComputingCommons2016`, " "{footcite}`gnuprojectWhatFreeSoftware2019`, " -"{footcite}`gnuprojectWhatCopyleft2022`). It is important to understand this" -" difference when choosing your license. Copyleft licenses represents the " +"{footcite}`gnuprojectWhatCopyleft2022`). It is important to understand this " +"difference when choosing your license. Copyleft licenses represents the " "\"free\" part of \"free and open source software\". Free and open source " "software is intrinsically political, and it is important to be aware of " "power dynamics in computing as well as the practical problems of license " @@ -2306,36 +2310,36 @@ msgstr "" msgid "" "If you choose your license when creating a new GitHub repository, you can " "also automatically get a text copy of the license file to add to your " -"repository. However in some cases the license that you want is not " -"available through that online process." +"repository. However in some cases the license that you want is not available" +" through that online process." msgstr "" -"GitHub リポジトリの新規作成時にライセンスを選択すると、自動的にライセンスファイルのテキストコピーを取得してリポジトリに追加することもできます。" -" しかし、オンラインプロセスでは希望のライセンスが取得できないこともあります。" +"GitHub リポジトリの新規作成時にライセンスを選択すると、自動的にライセンスファイルのテキストコピーを取得してリポジトリに追加することもできます。 " +"しかし、オンラインプロセスでは希望のライセンスが取得できないこともあります。" #: ../../documentation/repository-files/license-files.md:71 msgid "License recommendations from the SciPy package" msgstr "SciPyパッケージからのライセンス勧告" #: ../../documentation/repository-files/license-files.md:72 -#, fuzzy msgid "" "[The SciPy documentation has an excellent overview of " "licenses.](https://docs.scipy.org/doc/scipy/dev/core-" -"dev/index.html#licensing) One of the key elements that these docs recommend" -" is ensuring that the license that you select is compatible with licenses " -"used in many parts of the scientific Python ecosystem. Below is a highlight" -" of this text which outlines license that are compatible with the modified " +"dev/index.html#licensing) One of the key elements that these docs recommend " +"is ensuring that the license that you select is compatible with licenses " +"used in many parts of the scientific Python ecosystem. Below is a highlight " +"of this text which outlines license that are compatible with the modified " "BSD license that SciPy uses." msgstr "" -"[SciPyのドキュメントには、ライセンスの優れた概要があります](https://docs.scipy.org/doc/scipy/dev" -"/core-dev/index.html#licensing) 。 " -"これらのドキュメントが推奨する重要な要素の一つは、選択するライセンスが科学的なPythonのエコシステムのコアで使用されているライセンスと相補的であることを確認することです。" -" 以下は、SciPyが使用している修正BSDライセンスと互換性のあるライセンスの概要です。" +"[SciPy " +"のドキュメントには、ライセンスに関する優れた概要があります。](https://docs.scipy.org/doc/scipy/dev/core-" +"dev/index.html#licensing) これらのドキュメントが推奨する重要な要素の一つは、選択したライセンスが科学 Python " +"エコシステムの多くの部分で使用されているライセンスと互換性があることを確認することです。以下は、SciPy が使用している修正 BSD " +"ライセンスと互換性のあるライセンスを概説したこのテキストの抜粋です。" #: ../../documentation/repository-files/license-files.md:78 msgid "" -"Other licenses that are compatible with the modified BSD license that SciPy" -" uses are 2-clause BSD, MIT and PSF. Incompatible licenses are GPL, Apache " +"Other licenses that are compatible with the modified BSD license that SciPy " +"uses are 2-clause BSD, MIT and PSF. Incompatible licenses are GPL, Apache " "and custom licenses that require attribution/citation or prohibit use for " "commercial purposes." msgstr "" @@ -2344,40 +2348,42 @@ msgstr "" #: ../../documentation/repository-files/license-files.md:80 msgid "" -"If your primary goal is for your code to be used by other, major packages " -"in the scientific ecosystem, we also recommend that you consider using " -"either BSD or MIT as your license. If you are unsure, the MIT license tends" -" to be a simpler easier-to-understand option." +"If your primary goal is for your code to be used by other, major packages in" +" the scientific ecosystem, we also recommend that you consider using either " +"BSD or MIT as your license. If you are unsure, the MIT license tends to be a" +" simpler easier-to-understand option." msgstr "" "もしあなたのコードが、科学的エコシステムの他の主要なパッケージで使われることを第一の目的としているのであれば、BSDかMITのどちらかのライセンスを使うことを検討することも推奨します。" " よくわからない場合、MITライセンスはよりシンプルで理解しやすい選択肢となる傾向があります。" #: ../../documentation/repository-files/license-files.md:85 msgid "" -"Important: make sure that you closely follow the guidelines outlines by the" -" License that you chose" +"Important: make sure that you closely follow the guidelines outlines by the " +"License that you chose" msgstr "重要:選択したライセンスのガイドラインに忠実に従うこと" #: ../../documentation/repository-files/license-files.md:87 msgid "" -"Every license has different guidelines in terms of what code you can use in" -" your package and also how others can (or can not) use the code in your " +"Every license has different guidelines in terms of what code you can use in " +"your package and also how others can (or can not) use the code in your " "package." -msgstr "どのライセンスも、あなたがパッケージの中でどのようなコードを使うことができるか、また、他の人があなたのパッケージの中のコードをどのように使うことができるか(あるいは使うことができないか)という点で、異なるガイドラインを持っています。" +msgstr "" +"どのライセンスも、あなたがパッケージの中でどのようなコードを使うことができるか、また、他の人があなたのパッケージの中のコードをどのように使うことができるか(あるいは使うことができないか)という点で、異なるガイドラインを持っています。" #: ../../documentation/repository-files/license-files.md:90 msgid "" "If you borrow code from other tools or online sources, make sure that the " -"license for the code that you are using also complies with the license that" -" you selected for your package." -msgstr "他のツールやオンラインソースからコードを借用する場合は、使用するコードのライセンスが、あなたがパッケージに選択したライセンスにも準拠していることを確認してください。" +"license for the code that you are using also complies with the license that " +"you selected for your package." +msgstr "" +"他のツールやオンラインソースからコードを借用する場合は、使用するコードのライセンスが、あなたがパッケージに選択したライセンスにも準拠していることを確認してください。" #: ../../documentation/repository-files/license-files.md:94 msgid "" -"A useful way to think about license compatibility is the distinction " -"between **\"inbound\"** and **\"outbound\"** compatibility. \"Inbound\" " -"licenses are those that cover the software you plan to include in your " -"package. Your package is protected by an \"outbound\" license." +"A useful way to think about license compatibility is the distinction between" +" **\"inbound\"** and **\"outbound\"** compatibility. \"Inbound\" licenses " +"are those that cover the software you plan to include in your package. Your " +"package is protected by an \"outbound\" license." msgstr "" "ライセンスの互換性について考えるのに便利なのは、 **\"inbound\"** と **\"outbound\"** の互換性という区別です。 " "\"Inbound\" ライセンスとは、あなたがパッケージに含める予定のソフトウェアをカバーするライセンスです。あなたのパッケージは " @@ -2385,14 +2391,14 @@ msgstr "" #: ../../documentation/repository-files/license-files.md:98 msgid "" -"**Permissive licenses** like BSD and MIT have few **outbound** restrictions" -" - they can be used in any way by downstream consumers, including making " -"them proprietary. This is why they are favored by many businesses and large" -" packages that want to be adopted by businesses. Permissive licenses have " +"**Permissive licenses** like BSD and MIT have few **outbound** restrictions " +"- they can be used in any way by downstream consumers, including making them" +" proprietary. This is why they are favored by many businesses and large " +"packages that want to be adopted by businesses. Permissive licenses have " "more **inbound** restrictions - they can't use software that requires more " "freedoms to be preserved than they do, like copyleft licenses. A package " -"licensed under MIT needs to take special care when including or modifying a" -" package licensed under the GPL-3." +"licensed under MIT needs to take special care when including or modifying a " +"package licensed under the GPL-3." msgstr "" "BSDやMITのような **Permissive licenses** は、 **outbound** の制限がほとんどありません - " "専有化も含めて、ダウンストリームのカスタマーがどのようにでも使用することができます。 " @@ -2402,12 +2408,12 @@ msgstr "" #: ../../documentation/repository-files/license-files.md:103 msgid "" -"**Copyleft licenses** like GPL-3 have more **outbound** restrictions - they" -" require more of packages that include, use, modify, and reproduce them. " -"This is the purpose of copyleft licenses, to ensure that derivative works " -"remain free and open source. They have fewer **inbound** restrictions - a " -"GPL-3 licensed package can include any other permissively licensed and most" -" copyleft licensed packages." +"**Copyleft licenses** like GPL-3 have more **outbound** restrictions - they " +"require more of packages that include, use, modify, and reproduce them. This" +" is the purpose of copyleft licenses, to ensure that derivative works remain" +" free and open source. They have fewer **inbound** restrictions - a GPL-3 " +"licensed package can include any other permissively licensed and most " +"copyleft licensed packages." msgstr "" "GPL-3のような **Copyleft licenses** は、より **outbound** の制限があります - " "それらは、それらを含み、使用し、変更し、複製するパッケージにより多くを要求します。 " @@ -2460,9 +2466,9 @@ msgstr "StackOverflowを例に、ライセンスによってコードの使用 #: ../../documentation/repository-files/license-files.md:123 msgid "" "[Stack Overflow uses a Creative Commons Share Alike " -"license.](https://stackoverflow.com/help/licensing). The sharealike license" -" requires you to use the same sharealike license when you reuse any code " -"from Stack Overflow." +"license.](https://stackoverflow.com/help/licensing). The sharealike license " +"requires you to use the same sharealike license when you reuse any code from" +" Stack Overflow." msgstr "" "[Stack OverflowはCreative Commons Share " "Alikeライセンスを使用しています。](https://stackoverflow.com/help/licensing) " @@ -2494,20 +2500,18 @@ msgid "What about software citation?" msgstr "ソフトウェアの引用についてはどうだろうか?" #: ../../documentation/repository-files/license-files.md:133 -#, fuzzy msgid "" "While many permissive licenses do not require citation, we strongly " "encourage that you cite all software that you use in papers, blogs, and " -"other publications. You tell your users how to cite your package by using a" -" [citation.cff file](https://docs.github.com/en/repositories/managing-your-" +"other publications. You tell your users how to cite your package by using a " +"[citation.cff file](https://docs.github.com/en/repositories/managing-your-" "repositorys-settings-and-features/customizing-your-repository/about-" "citation-files)." msgstr "" -"多くの寛容なライセンスは引用を必要としませんが、わたしたちは、あなたが論文やブログ、その他の出版物で使用するすべてのソフトウェアを引用することを強く推奨します。" -" あなたは、 [citation.cff ファイル](https://docs.github.com/en/repositories" -"/managing-your-repositorys-settings-and-features/customizing-your-" -"repository/about-citation-files) を使うことで、あなたのパッケージの引用方法をユーザに伝えることができます。 " -"このトピックについては、Zenodoを使ってパッケージのDOIを作成する際に説明します。" +"多くのパーミッシブなライセンスは引用を必要としませんが、論文やブログ、その他の出版物で使用するすべてのソフトウェアを引用することを強くお勧めします。[citation.cff" +" ファイル](https://docs.github.com/en/repositories/managing-your-repositorys-" +"settings-and-features/customizing-your-repository/about-citation-files) " +"を使うことで、パッケージの引用方法をユーザーに伝えることができます。" #: ../../documentation/repository-files/license-files.md:136 msgid "" @@ -2517,17 +2521,18 @@ msgstr "ソフトウェアの引用に関する追加リソース The Turing Way #: ../../documentation/repository-files/license-files.md:139 msgid "" -"[CITATION.cff files](https://book.the-turing-way.org/communication/citable" -"/citable-cff) — detailed guide on creating and maintaining citation files" +"[CITATION.cff files](https://book.the-turing-" +"way.org/communication/citable/citable-cff) — detailed guide on creating and " +"maintaining citation files" msgstr "" -"[CITATION.cff files](https://book.the-turing-way.org/communication/citable" -"/citable-cff) — 引用ファイルの作成と管理に関する詳細なガイド" +"[CITATION.cff files](https://book.the-turing-" +"way.org/communication/citable/citable-cff) — 引用ファイルの作成と管理に関する詳細なガイド" #: ../../documentation/repository-files/license-files.md:140 msgid "" -"[Software citation pathways](https://book.the-turing-way.org/pathways" -"/pathways-software-citation) — overview of how software citation works in " -"practice" +"[Software citation pathways](https://book.the-turing-" +"way.org/pathways/pathways-software-citation) — overview of how software " +"citation works in practice" msgstr "" "[ソフトウェア引用経路](https://book.the-turing-way.org/pathways/pathways-software-" "quote) — ソフトウェア引用が実際にどのように機能するかの概要" @@ -2552,12 +2557,12 @@ msgstr "リポジトリに追加する cycling.cff ファイル" #: ../../documentation/repository-files/license-files.md:148 msgid "" -"When you add a `CITATION.cff` file to your repository, GitHub automatically" -" detects it and displays a \"Cite this repository\" button. This makes it " +"When you add a `CITATION.cff` file to your repository, GitHub automatically " +"detects it and displays a \"Cite this repository\" button. This makes it " "easy for users to properly cite your software. The file contains " -"standardized citation information that tools and services can automatically" -" read and use. GitHub will generate both APA and BibTeX citation formats " -"for users." +"standardized citation information that tools and services can automatically " +"read and use. GitHub will generate both APA and BibTeX citation formats for " +"users." msgstr "" "`CITATION.cff` ファイルをリポジトリに追加すると、GitHub はそれを自動的に検出し、[このリポジトリを引用] " "ボタンを表示します。これにより、ユーザーがソフトウェアを適切に引用することが容易になります。このファイルには、ツールやサービスが自動的に読み取って使用できる標準化された引用情報が含まれています。" @@ -2571,8 +2576,8 @@ msgstr "citation.cff ファイル内での日付の追跡方法" msgid "" "The citation file tracks important dates for your software. The `date-" "released` field shows when the current version was released. The `date-" -"published` field shows when the software was first made available. You also" -" include a `version` field with the specific version number." +"published` field shows when the software was first made available. You also " +"include a `version` field with the specific version number." msgstr "" "引用ファイルは、ソフトウェアの重要な日付を追跡します。 「date-" "release」フィールドには、現在のバージョンがいつリリースされたかが表示されます。 " @@ -2590,8 +2595,8 @@ msgstr "Zenodo との統合" #: ../../documentation/repository-files/license-files.md:158 msgid "" -"Citation.cff files work well with Zenodo, which is a popular place to store" -" research software and get DOIs. When you create a Zenodo release, it can " +"Citation.cff files work well with Zenodo, which is a popular place to store " +"research software and get DOIs. When you create a Zenodo release, it can " "automatically pull information from your citation file. This keeps your " "citation information the same between GitHub and Zenodo. You can also " "include your Zenodo DOI in the citation file. Each time you make a new " @@ -2629,7 +2634,8 @@ msgid "The README.md file is the landing page of:" msgstr "README.mdファイルは、そのランディングページです:" #: ../../documentation/repository-files/readme-file-best-practices.md:11 -msgid "Your package as it appears on a repository site such as PyPI or Anaconda.org" +msgid "" +"Your package as it appears on a repository site such as PyPI or Anaconda.org" msgstr "PyPIやAnaconda.orgのようなリポジトリサイトに表示されているあなたのパッケージ" #: ../../documentation/repository-files/readme-file-best-practices.md:12 @@ -2650,8 +2656,7 @@ msgid "" msgstr "" "[GitHub community health for MovingPandas (available for all " "repositories)](https://github.com/movingpandas/movingpandas/community) と " -"[Snyk - MovingPandas example](https://snyk.io/advisor/python/movingpandas) " -"。" +"[Snyk - MovingPandas example](https://snyk.io/advisor/python/movingpandas) 。" #: ../../documentation/repository-files/readme-file-best-practices.md:19 msgid "" @@ -2671,14 +2676,14 @@ msgstr "" #: ../../documentation/repository-files/readme-file-best-practices.md:25 msgid "" -"Your GitHub repository landing page highlights the README.md file. Here you" -" can see the README.md file for the pyOpenSci package " +"Your GitHub repository landing page highlights the README.md file. Here you " +"can see the README.md file for the pyOpenSci package " "[Pandera](https://github.com/unionai-oss/pandera). *(screen shot taken Nov " "23 2022)*" msgstr "" "GitHub リポジトリのランディングページは README.md ファイルをハイライトします。ここでは、pyOpenSciパッケージ " -"[Pandera](https://github.com/unionai-oss/pandera) のREADME.mdファイルを見ることができます。" -" *(スクリーンショットは2022年11月23日撮影)* 。" +"[Pandera](https://github.com/unionai-oss/pandera) のREADME.mdファイルを見ることができます。 " +"*(スクリーンショットは2022年11月23日撮影)* 。" #: ../../documentation/repository-files/readme-file-best-practices.md:28 msgid "" @@ -2693,7 +2698,8 @@ msgid "" msgstr "READMEファイルが以下に指定された基準を満たしていない場合、編集者または編集長はレビュー開始前に修正を依頼します。" #: ../../documentation/repository-files/readme-file-best-practices.md:35 -msgid "Please go through this list before submitting your package to pyOpenSci" +msgid "" +"Please go through this list before submitting your package to pyOpenSci" msgstr "あなたのパッケージをpyOpenSciに投稿する前に、このリストに目を通してください。" #: ../../documentation/repository-files/readme-file-best-practices.md:52 @@ -2702,8 +2708,8 @@ msgstr "README.mdファイルの内容" #: ../../documentation/repository-files/readme-file-best-practices.md:54 msgid "" -"Your **README.md** file should contain the following things (listed from " -"top to bottom):" +"Your **README.md** file should contain the following things (listed from top" +" to bottom):" msgstr "**README.md** ファイルには、(上から順番に)以下のことが書かれているはずです:" #: ../../documentation/repository-files/readme-file-best-practices.md:56 @@ -2712,8 +2718,8 @@ msgstr "✔️ パッケージ名" #: ../../documentation/repository-files/readme-file-best-practices.md:58 msgid "" -"Ideally your GitHub repository's name is also the name of your package. The" -" more self explanatory that name is, the better." +"Ideally your GitHub repository's name is also the name of your package. The " +"more self explanatory that name is, the better." msgstr "GitHub リポジトリの名前がパッケージの名前にもなっているのが理想的です。 説明しやすい名前であればあるほどよいでしょう。" #: ../../documentation/repository-files/readme-file-best-practices.md:61 @@ -2744,7 +2750,8 @@ msgid "" msgstr "READMEファイルの一番上に、他の人がすぐに閲覧できるようにバッジのコレクションを提供するのが一般的です。" #: ../../documentation/repository-files/readme-file-best-practices.md:72 -msgid "Some badges that you might consider adding to your README file include:" +msgid "" +"Some badges that you might consider adding to your README file include:" msgstr "READMEファイルへの追加を検討すべきバッジには、以下のようなものがあります:" #: ../../documentation/repository-files/readme-file-best-practices.md:74 @@ -2764,16 +2771,15 @@ msgid "PyPI version shields.io" msgstr "PyPIバージョン shields.io" #: ../../documentation/repository-files/readme-file-best-practices.md:78 -#, fuzzy msgid "" -"Status of tests (pass or fail) - Example: [![CI Build](https://github.com" -"/unionai-" -"oss/pandera/workflows/CI%20Tests/badge.svg?branch=main)](https://github.com" -"/unionai-oss/pandera/actions?query=workflow%3A%22CI+Tests%22+branch%3Amain)" +"Status of tests (pass or fail) - Example: [![CI " +"Build](https://github.com/unionai-" +"oss/pandera/workflows/CI%20Tests/badge.svg?branch=main)](https://github.com/unionai-" +"oss/pandera/actions?query=workflow%3A%22CI+Tests%22+branch%3Amain)" msgstr "" -"テストのステータス(合格または不合格) - 例: [![CI Build](https://github.com/pandera-" -"dev/pandera/workflows/CI%20Tests/badge.svg?branch=main)](https://github.com" -"/pandera-dev/pandera/actions?query=workflow%3A%22CI+Tests%22+branch%3Amain)" +"テストのステータス(合格または不合格) - 例: [![CI Build](https://github.com/unionai-" +"oss/pandera/workflows/CI%20Tests/badge.svg?branch=main)](https://github.com/unionai-" +"oss/pandera/actions?query=workflow%3A%22CI+Tests%22+branch%3Amain)" #: ../../documentation/repository-files/readme-file-best-practices.md:78 msgid "CI Build" @@ -2805,15 +2811,14 @@ msgid "DOI" msgstr "DOI" #: ../../documentation/repository-files/readme-file-best-practices.md:85 -#, fuzzy msgid "" -"Once you package is accepted to pyOpenSci, we will provide you with a badge" -" to add to your repository that shows that it has been reviewed. " +"Once you package is accepted to pyOpenSci, we will provide you with a badge " +"to add to your repository that shows that it has been reviewed. " "[![pyOpenSci](https://www.pyopensci.org/badges/peer-" "reviewed.svg)](https://github.com/pyOpenSci/software-submission/issues/12)" msgstr "" -"あなたのパッケージがpyOpenSciに受理されると、あなたのリポジトリにレビュー済みであることを示すバッジを提供します。 " -"[![pyOpenSci](https://pyopensci.org/badges/peer-" +"パッケージが pyOpenSci " +"に受理されると、レビュー済みであることを示すバッジをリポジトリに追加するように提供します。[![pyOpenSci](https://www.pyopensci.org/badges/peer-" "reviewed.svg)](https://github.com/pyOpenSci/software-submission/issues/12)" #: ../../documentation/repository-files/readme-file-best-practices.md:85 @@ -2822,8 +2827,8 @@ msgstr "pyOpenSci" #: ../../documentation/repository-files/readme-file-best-practices.md:92 msgid "" -"Beware of the overuse of badges! There is such a thing as too much of a " -"good thing (which can overload a potential user!)." +"Beware of the overuse of badges! There is such a thing as too much of a good" +" thing (which can overload a potential user!)." msgstr "バッジの使い過ぎに注意! 過ぎたるは及ばざるが如し(潜在的なユーザーを過負荷にする可能性があります!)。" #: ../../documentation/repository-files/readme-file-best-practices.md:95 @@ -2832,12 +2837,13 @@ msgstr "✔️ あなたのパッケージが何をするのかを短く、わ #: ../../documentation/repository-files/readme-file-best-practices.md:97 msgid "" -"At the top of your README file you should have a short, easy-to-understand," -" 1-3 sentence description of what your package does. This section should " +"At the top of your README file you should have a short, easy-to-understand, " +"1-3 sentence description of what your package does. This section should " "clearly state your goals for the package. The language in this description " "should use less technical terms so that a variety of users with varying " "scientific (and development) backgrounds can understand it." -msgstr "READMEファイルの一番上に、あなたのパッケージが何をするのか、短く、わかりやすく、1-3文の説明を書くべきです。このセクションには、パッケージの目標を明記します。この説明では、科学的(および開発的)背景が異なるさまざまなユーザーが理解できるように、専門用語をあまり使わないようにすべきです。" +msgstr "" +"READMEファイルの一番上に、あなたのパッケージが何をするのか、短く、わかりやすく、1-3文の説明を書くべきです。このセクションには、パッケージの目標を明記します。この説明では、科学的(および開発的)背景が異なるさまざまなユーザーが理解できるように、専門用語をあまり使わないようにすべきです。" #: ../../documentation/repository-files/readme-file-best-practices.md:103 msgid "" @@ -2861,8 +2867,8 @@ msgstr "" #: ../../documentation/repository-files/readme-file-best-practices.md:112 msgid "" -"The goal of this description is to maximize accessibility of your " -"**README** file." +"The goal of this description is to maximize accessibility of your **README**" +" file." msgstr "この記述の目的は、 **README** ファイルへのアクセシビリティを最大化することです。" #: ../../documentation/repository-files/readme-file-best-practices.md:116 @@ -2871,10 +2877,11 @@ msgstr "✔️ インストール手順" #: ../../documentation/repository-files/readme-file-best-practices.md:118 msgid "" -"Include instructions for installing your package. If you have published the" -" package on both PyPI and Anaconda.org, be sure to include instructions for" -" both." -msgstr "パッケージのインストール手順を含めます。 PyPIとAnaconda.orgの両方でパッケージを公開している場合は、必ず両方の説明を含めてください。" +"Include instructions for installing your package. If you have published the " +"package on both PyPI and Anaconda.org, be sure to include instructions for " +"both." +msgstr "" +"パッケージのインストール手順を含めます。 PyPIとAnaconda.orgの両方でパッケージを公開している場合は、必ず両方の説明を含めてください。" #: ../../documentation/repository-files/readme-file-best-practices.md:121 msgid "✔️ Document any additional setup required" @@ -2922,21 +2929,22 @@ msgstr "良いことのあまり" #: ../../documentation/repository-files/readme-file-best-practices.md:143 msgid "" -"Try to avoid including several tutorials in the README.md file itself. This" -" too will overwhelm the user with information." +"Try to avoid including several tutorials in the README.md file itself. This " +"too will overwhelm the user with information." msgstr "README.mdファイル自体に複数のチュートリアルを含めるのはなるべく避けてください。 これもユーザーを情報で圧倒してしまいます。" #: ../../documentation/repository-files/readme-file-best-practices.md:145 msgid "" -"A short quick-start code example that shows someone how to use your package" -" is plenty of content for the README file. All other tutorials and " +"A short quick-start code example that shows someone how to use your package " +"is plenty of content for the README file. All other tutorials and " "documentation should be presented as descriptive links." msgstr "" "READMEファイルの内容は、あなたのパッケージの使い方を示す短いクイックスタートのコード例で十分です。 " "他のすべてのチュートリアルやドキュメントは、説明的なリンクとして表示されるべきです。" #: ../../documentation/repository-files/readme-file-best-practices.md:151 -msgid "✔️ A Community Section with Links to Contributing Guide, Code of Conduct" +msgid "" +"✔️ A Community Section with Links to Contributing Guide, Code of Conduct" msgstr "✔️ 貢献ガイド、行動規範へのリンクがあるコミュニティセクション" #: ../../documentation/repository-files/readme-file-best-practices.md:153 @@ -2972,10 +2980,10 @@ msgstr "✔️ 引用情報" #: ../../documentation/repository-files/readme-file-best-practices.md:165 msgid "" "Finally be sure to include instructions on how to cite your package. " -"Citation should include the DOI that you want used when citing your " -"package, and any language that you'd like to see associated with the " -"citation." -msgstr "最後に、パッケージの引用方法を必ず明記してください。引用には、パッケージを引用する際に使用してほしいDOIと、引用に関連する言語を含めてください。" +"Citation should include the DOI that you want used when citing your package," +" and any language that you'd like to see associated with the citation." +msgstr "" +"最後に、パッケージの引用方法を必ず明記してください。引用には、パッケージを引用する際に使用してほしいDOIと、引用に関連する言語を含めてください。" #: ../../documentation/repository-files/readme-file-best-practices.md:169 msgid "README Resources" @@ -3006,9 +3014,9 @@ msgstr "" #: ../../documentation/repository-files/readme-file-best-practices.md:178 #, python-format msgid "" -"[Standard Readme - Richard Littauer](https://github.com/RichardLitt" -"/standard-readme) [![standard-readme " -"compliant](https://img.shields.io/badge/readme%20style-standard-" +"[Standard Readme - Richard " +"Littauer](https://github.com/RichardLitt/standard-readme) [![standard-readme" +" compliant](https://img.shields.io/badge/readme%20style-standard-" "brightgreen.svg)](https://github.com/RichardLitt/standard-readme)" msgstr "" "[標準 Readme - Richard Littauer](https://github.com/RichardLitt/standard-" @@ -3035,8 +3043,8 @@ msgstr "Pythonパッケージのドキュメントにチュートリアルを作 msgid "" "Your package should have tutorials that make it easy for a user to get " "started using your package. Ideally, those tutorials also can be run from " -"start to finish providing a second set of checks (on top of your test " -"suite) to your package's code base." +"start to finish providing a second set of checks (on top of your test suite)" +" to your package's code base." msgstr "" "パッケージには、ユーザが簡単にパッケージを使い始められるようなチュートリアルがあるべきです。 " "理想的には、チュートリアルは最初から最後まで実行することができ、パッケージのコードベースに対する (テストスイートの上にある) " @@ -3068,8 +3076,10 @@ msgid "" msgstr "チュートリアルを簡単にパッケージに追加できるSphinxのツールが2つあります:" #: ../../documentation/write-user-documentation/create-package-tutorials.md:22 -msgid "[Sphinx Gallery](https://sphinx-gallery.github.io/stable/index.html) and" -msgstr "[Sphinx Gallery](https://sphinx-gallery.github.io/stable/index.html) と" +msgid "" +"[Sphinx Gallery](https://sphinx-gallery.github.io/stable/index.html) and" +msgstr "" +"[Sphinx Gallery](https://sphinx-gallery.github.io/stable/index.html) と" #: ../../documentation/write-user-documentation/create-package-tutorials.md:23 msgid "[NbSphinx](https://nbsphinx.readthedocs.io/en/latest/)" @@ -3087,8 +3097,8 @@ msgstr "ユーザーがチュートリアルをサムネイルで見ることが #: ../../documentation/write-user-documentation/create-package-tutorials.md:28 msgid "" -"Run the code in your tutorials adding another level of \"testing\" for your" -" package as used." +"Run the code in your tutorials adding another level of \"testing\" for your " +"package as used." msgstr "チュートリアルのコードを実行し、使用するパッケージの \"テスト\" をもう一段階追加する。" #: ../../documentation/write-user-documentation/create-package-tutorials.md:29 @@ -3101,10 +3111,10 @@ msgstr "[sphinx gallery:](https://sphinx-gallery.github.io/stable/index.html)" #: ../../documentation/write-user-documentation/create-package-tutorials.md:33 msgid "" -"If you prefer to write your tutorials using Python **.py** scripts, you may" -" enjoy using Sphinx gallery. Sphinx gallery uses **.py** files with text " -"and code sections that mimic the Jupyter Notebook format. When you build " -"your documentation, the gallery extension:" +"If you prefer to write your tutorials using Python **.py** scripts, you may " +"enjoy using Sphinx gallery. Sphinx gallery uses **.py** files with text and " +"code sections that mimic the Jupyter Notebook format. When you build your " +"documentation, the gallery extension:" msgstr "" "もしPythonの **.py** スクリプトを使ってチュートリアルを書きたいのであれば、Sphinx galleryを使うと楽しいでしょう。 " "Sphinx galleryは、Jupyter Notebookのフォーマットを模倣した、テキストとコードのセクションを持つ **.py** " @@ -3131,19 +3141,20 @@ msgstr "" msgid "" "Creates a rendered **.html** page with the code elements and code outputs " "in a user-friendly tutorial gallery." -msgstr "レンダリングされた **.html** ページを作成し、ユーザーフレンドリーなチュートリアルギャラリーにコード要素とコード出力を表示します。" +msgstr "" +"レンダリングされた **.html** ページを作成し、ユーザーフレンドリーなチュートリアルギャラリーにコード要素とコード出力を表示します。" #: ../../documentation/write-user-documentation/create-package-tutorials.md:41 msgid "" -"Creates a gallery landing page with visual thumbnails for each tutorial " -"that you create." +"Creates a gallery landing page with visual thumbnails for each tutorial that" +" you create." msgstr "作成した各チュートリアルのビジュアルサムネイル付きギャラリーランディングページを作成します。" #: ../../documentation/write-user-documentation/create-package-tutorials.md:44 msgid "" "Image showing the gallery output provided by sphinx-gallery where each " -"tutorial is in a grid and the tutorial thumbnails are created from a " -"graphic in the tutorial." +"tutorial is in a grid and the tutorial thumbnails are created from a graphic" +" in the tutorial." msgstr "" "画像はsphinx-" "galleryによって提供されるギャラリーの出力を示しており、各チュートリアルはグリッド内にあり、チュートリアルのサムネイルはチュートリアルのグラフィックから作成されます。" @@ -3151,16 +3162,17 @@ msgstr "" #: ../../documentation/write-user-documentation/create-package-tutorials.md:50 msgid "" "`sphinx-gallery` makes it easy to create a user-friendly tutorial gallery. " -"Each tutorial has a download link where the user can download a **.py** " -"file or a Jupyter Notebook. And it renders the tutorials in a user-friendly" -" grid." +"Each tutorial has a download link where the user can download a **.py** file" +" or a Jupyter Notebook. And it renders the tutorials in a user-friendly " +"grid." msgstr "" "`sphinx-gallery` は、ユーザーフレンドリーなチュートリアルギャラリーを簡単に作成することができます。 " "それぞれのチュートリアルにはダウンロードリンクがあり、ユーザーは **.py** ファイルやJupyter " "Notebookをダウンロードすることができます。 また、チュートリアルはユーザーフレンドリーなグリッドで表示されます。" #: ../../documentation/write-user-documentation/create-package-tutorials.md:54 -msgid "Below you can see what a tutorial looks like created with sphinx-gallery." +msgid "" +"Below you can see what a tutorial looks like created with sphinx-gallery." msgstr "下記はsphinx-galleryで作成したチュートリアルの様子です。" #: ../../documentation/write-user-documentation/create-package-tutorials.md:56 @@ -3174,11 +3186,11 @@ msgstr "" #: ../../documentation/write-user-documentation/create-package-tutorials.md:62 msgid "" "`sphinx-gallery` tutorials by default include download links for both the " -"python script (**.py** file) and a Jupyter notebook (**.ipynb** file) at " -"the bottom." +"python script (**.py** file) and a Jupyter notebook (**.ipynb** file) at the" +" bottom." msgstr "" -"`sphinx-gallery` のチュートリアルは、デフォルトでは、Pythonスクリプト (**.py** ファイル)とJupyterノートブック" -" (**.ipynb** ファイル)のダウンロードリンクが下部に含まれています。" +"`sphinx-gallery` のチュートリアルは、デフォルトでは、Pythonスクリプト (**.py** ファイル)とJupyterノートブック " +"(**.ipynb** ファイル)のダウンロードリンクが下部に含まれています。" #: ../../documentation/write-user-documentation/create-package-tutorials.md:66 msgid "Sphinx Gallery benefits" @@ -3189,7 +3201,8 @@ msgid "easy-to-download notebook and .py outputs for each tutorials." msgstr "簡単にダウンロードできるノートブックと各チュートリアルの .py 出力。" #: ../../documentation/write-user-documentation/create-package-tutorials.md:68 -msgid ".py files are easy to work with in the GitHub pull request environment." +msgid "" +".py files are easy to work with in the GitHub pull request environment." msgstr ".pyファイルはGitHubのプルリクエスト環境で簡単に扱えます。" #: ../../documentation/write-user-documentation/create-package-tutorials.md:69 @@ -3259,8 +3272,8 @@ msgid "" "If you prefer to use Jupyter Notebooks to create tutorials you can use " "nbsphinx. nbsphinx operates similarly to Sphinx gallery in that:" msgstr "" -"もしチュートリアルを作成するのにJupyter " -"Notebooksを使いたい場合は、nbsphinxを使うことができます。nbsphinxはSphinx galleryと同じように動作します:" +"もしチュートリアルを作成するのにJupyter Notebooksを使いたい場合は、nbsphinxを使うことができます。nbsphinxはSphinx" +" galleryと同じように動作します:" #: ../../documentation/write-user-documentation/create-package-tutorials.md:119 msgid "It runs your notebooks and produces outputs in the rendered tutorials" @@ -3268,16 +3281,15 @@ msgstr "ノートブックを実行し、レンダリングされたチュート #: ../../documentation/write-user-documentation/create-package-tutorials.md:121 msgid "" -"Pro/con By default it does not support downloading of **.py** and " -"**.ipynb** files. However you can add a [link to the notebook at the top of" -" the page with some additional conf.py settings (see: epilog " -"settings)](https://nbsphinx.readthedocs.io/en/0.8.10/prolog-and-" -"epilog.html)" +"Pro/con By default it does not support downloading of **.py** and **.ipynb**" +" files. However you can add a [link to the notebook at the top of the page " +"with some additional conf.py settings (see: epilog " +"settings)](https://nbsphinx.readthedocs.io/en/0.8.10/prolog-and-epilog.html)" msgstr "" "Pro/con デフォルトでは **.py** と **.ipynb** ファイルのダウンロードをサポートしていません。 しかし、 " "[conf.pyの設定(epilog " -"settingsを参照)を追加したノートブックへのリンク](https://nbsphinx.readthedocs.io/en/0.8.10" -"/prolog-and-epilog.html) を追加することができます。" +"settingsを参照)を追加したノートブックへのリンク](https://nbsphinx.readthedocs.io/en/0.8.10/prolog-" +"and-epilog.html) を追加することができます。" #: ../../documentation/write-user-documentation/create-package-tutorials.md:125 msgid "" @@ -3304,10 +3316,9 @@ msgstr "APIとは何か?" #: ../../documentation/write-user-documentation/document-your-code-api-docstrings.md:6 msgid "" -"API stands for **A**pplied **P**rogramming **I**nterface. When discussed in" -" the context of a (Python) package, the API refers to the functions, " -"classes, methods, and attributes that a package maintainer creates for " -"users." +"API stands for **A**pplied **P**rogramming **I**nterface. When discussed in " +"the context of a (Python) package, the API refers to the functions, classes," +" methods, and attributes that a package maintainer creates for users." msgstr "" "API は **A**pplied **P**rogramming **I**nterface の略です。 " "(Pythonの)パッケージの文脈で議論される場合、APIはパッケージメンテナがユーザーのために作成する関数、クラス、メソッド、属性を指します。" @@ -3340,14 +3351,14 @@ msgid "" "In Python, a docstring refers to text in a function, method or class that " "describes what the function does and its inputs and outputs. Python " "programmers usually refer to the inputs to functions as " -"[\"parameters\"](https://docs.python.org/3/glossary.html#term-parameter) or" -" [\"arguments\"](https://docs.python.org/3/faq/programming.html#faq-" -"argument-vs-parameter), and the outputs are often called \"return values\"" +"[\"parameters\"](https://docs.python.org/3/glossary.html#term-parameter) or " +"[\"arguments\"](https://docs.python.org/3/faq/programming.html#faq-argument-" +"vs-parameter), and the outputs are often called \"return values\"" msgstr "" "Pythonにおいてdocstringとは、関数、メソッド、クラスにおいて、その関数が何を行うのか、その入出力を記述したテキストを指します。 " "Pythonプログラマは通常、関数への入力を " -"[\"parameters\"](https://docs.python.org/3/glossary.html#term-parameter) " -"または [\"arguments\"](https://docs.python.org/3/faq/programming.html#faq-" +"[\"parameters\"](https://docs.python.org/3/glossary.html#term-parameter) または" +" [\"arguments\"](https://docs.python.org/3/faq/programming.html#faq-" "argument-vs-parameter) と呼び、出力を \"return values\" と呼ぶことが多いです。" #: ../../documentation/write-user-documentation/document-your-code-api-docstrings.md:23 @@ -3356,8 +3367,8 @@ msgstr "docstringは以下のために重要です:" #: ../../documentation/write-user-documentation/document-your-code-api-docstrings.md:25 msgid "" -"When you call `help()` in Python, for example, `help(add_numbers)` will " -"show the text of the function's docstring. The docstring thus helps a user " +"When you call `help()` in Python, for example, `help(add_numbers)` will show" +" the text of the function's docstring. The docstring thus helps a user " "better understand how to apply the function more effectively to their " "workflow." msgstr "" @@ -3366,10 +3377,11 @@ msgstr "" #: ../../documentation/write-user-documentation/document-your-code-api-docstrings.md:26 msgid "" -"When you build your package's documentation, the docstrings can also be " -"used to automatically create full API documentation that provides a clean " -"view of all its functions, classes, methods, and attributes." -msgstr "パッケージのドキュメントを作成するとき、docstringsを使用して、すべての関数、クラス、メソッド、属性をきれいに表示する完全なAPIドキュメントを自動的に作成することもできます。" +"When you build your package's documentation, the docstrings can also be used" +" to automatically create full API documentation that provides a clean view " +"of all its functions, classes, methods, and attributes." +msgstr "" +"パッケージのドキュメントを作成するとき、docstringsを使用して、すべての関数、クラス、メソッド、属性をきれいに表示する完全なAPIドキュメントを自動的に作成することもできます。" #: ../../documentation/write-user-documentation/document-your-code-api-docstrings.md:29 msgid "" @@ -3379,10 +3391,9 @@ msgstr "パッケージ内のすべての関数、クラス、メソッド、属 #: ../../documentation/write-user-documentation/document-your-code-api-docstrings.md:30 msgid "" -"[View example high-level API documentation for the Verde package. This page" -" lists every function and class in the package along with a brief " -"explanation of what it " -"does](https://www.fatiando.org/verde/latest/api/index.html)" +"[View example high-level API documentation for the Verde package. This page " +"lists every function and class in the package along with a brief explanation" +" of what it does](https://www.fatiando.org/verde/latest/api/index.html)" msgstr "" "[Verdeパッケージの高レベルAPIドキュメントの例をご覧ください。 " "このページには、パッケージ内のすべての関数とクラスが、その機能の簡単な説明とともに一覧表示されています](https://www.fatiando.org/verde/latest/api/index.html)" @@ -3392,7 +3403,8 @@ msgid "" "[You can further dig down to see what a specific function does within the " "package by clicking on an API " "element](https://www.fatiando.org/verde/latest/api/generated/verde.grid_coordinates.html#verde.grid_coordinates)" -msgstr "[APIエレメントをクリックすることで、パッケージ内で特定の関数が何を行っているかをさらに掘り下げて確認することができます](https://www.fatiando.org/verde/latest/api/generated/verde.grid_coordinates.html#verde.grid_coordinates)" +msgstr "" +"[APIエレメントをクリックすることで、パッケージ内で特定の関数が何を行っているかをさらに掘り下げて確認することができます](https://www.fatiando.org/verde/latest/api/generated/verde.grid_coordinates.html#verde.grid_coordinates)" #: ../../documentation/write-user-documentation/document-your-code-api-docstrings.md:34 msgid "Python package API documentation" @@ -3403,13 +3415,14 @@ msgid "" "If you have a descriptive docstring for every user-facing class, method, " "attribute and/or function in your package (_within reason_), then your " "package's API is considered well-documented." -msgstr "もし、あなたのパッケージのすべてのユーザー向けクラス、メソッド、属性、関数に説明的なdocstringがあれば(_合理的な範囲内で_)、そのパッケージのAPIは十分に文書化されているとみなされます。" +msgstr "" +"もし、あなたのパッケージのすべてのユーザー向けクラス、メソッド、属性、関数に説明的なdocstringがあれば(_合理的な範囲内で_)、そのパッケージのAPIは十分に文書化されているとみなされます。" #: ../../documentation/write-user-documentation/document-your-code-api-docstrings.md:39 msgid "" -"In Python, this means that you need to add a docstring for every user-" -"facing class, method, attribute and/or function in your package (_within " -"reason_) that:" +"In Python, this means that you need to add a docstring for every user-facing" +" class, method, attribute and/or function in your package (_within reason_) " +"that:" msgstr "" "Pythonの場合、これは、パッケージ内のすべてのユーザー向けのクラス、メソッド、属性、および/または関数について、 (_無理のない範囲で_) " "docstringを追加する必要があることを意味します:" @@ -3419,11 +3432,13 @@ msgid "Explains what the function, method, attribute, or class does" msgstr "関数、メソッド、属性、またはクラスが何をするのかを説明します" #: ../../documentation/write-user-documentation/document-your-code-api-docstrings.md:44 -msgid "Defines the `type` inputs and outputs (ie. `string`, `int`, `np.array`)" +msgid "" +"Defines the `type` inputs and outputs (ie. `string`, `int`, `np.array`)" msgstr "入力と出力の `type` を定義します( `string` 、 `int` 、 `np.array` など)" #: ../../documentation/write-user-documentation/document-your-code-api-docstrings.md:45 -msgid "Explains the expected output `return` of the object, method or function." +msgid "" +"Explains the expected output `return` of the object, method or function." msgstr "オブジェクト、メソッド、関数の期待される出力 `return` を説明する。" #: ../../documentation/write-user-documentation/document-your-code-api-docstrings.md:48 @@ -3438,11 +3453,13 @@ msgstr "Pythonのdocstringフォーマットには、パッケージを文書化 #: ../../documentation/write-user-documentation/document-your-code-api-docstrings.md:53 msgid "" -"[NumPy-style](https://numpydoc.readthedocs.io/en/latest/format.html" -"#docstring-standard)" +"[NumPy-" +"style](https://numpydoc.readthedocs.io/en/latest/format.html#docstring-" +"standard)" msgstr "" -"[NumPy-style](https://numpydoc.readthedocs.io/en/latest/format.html" -"#docstring-standard)" +"[NumPy-" +"style](https://numpydoc.readthedocs.io/en/latest/format.html#docstring-" +"standard)" #: ../../documentation/write-user-documentation/document-your-code-api-docstrings.md:54 msgid "" @@ -3463,19 +3480,19 @@ msgstr "" #: ../../documentation/write-user-documentation/document-your-code-api-docstrings.md:59 msgid "" "We suggest using [NumPy-style " -"docstrings](https://numpydoc.readthedocs.io/en/latest/format.html" -"#docstring-standard) for your Python documentation because:" +"docstrings](https://numpydoc.readthedocs.io/en/latest/format.html#docstring-" +"standard) for your Python documentation because:" msgstr "" "Pythonのドキュメントには [NumPy-style " -"docstrings](https://numpydoc.readthedocs.io/en/latest/format.html" -"#docstring-standard) を使うことをお勧めします:" +"docstrings](https://numpydoc.readthedocs.io/en/latest/format.html#docstring-" +"standard) を使うことをお勧めします:" #: ../../documentation/write-user-documentation/document-your-code-api-docstrings.md:62 msgid "" "NumPy style docstrings are core to the scientific Python ecosystem and " "defined in the [NumPy style " -"guide](https://numpydoc.readthedocs.io/en/latest/format.html). Thus you " -"will find them widely used there." +"guide](https://numpydoc.readthedocs.io/en/latest/format.html). Thus you will" +" find them widely used there." msgstr "" "NumPyスタイルのdocstringは、科学的なPythonエコシステムの中核であり、 " "[NumPyスタイルガイド](https://numpydoc.readthedocs.io/en/latest/format.html) " @@ -3483,10 +3500,10 @@ msgstr "" #: ../../documentation/write-user-documentation/document-your-code-api-docstrings.md:63 msgid "" -"The Numpy style docstring is simplified and thus easier to read both in the" -" code and when calling `help()` in Python. In contrast, some feel that reST" -" style docstrings are harder to quickly scan, and can take up more lines of" -" code in modules." +"The Numpy style docstring is simplified and thus easier to read both in the " +"code and when calling `help()` in Python. In contrast, some feel that reST " +"style docstrings are harder to quickly scan, and can take up more lines of " +"code in modules." msgstr "" "Numpyスタイルのドキュメントストリングは単純化されているので、コード内でもPythonで `help()` " "を呼び出すときでも読みやすくなっています。 " @@ -3515,8 +3532,8 @@ msgid "" "function's docstring describes the function's inputs and the function's " "output (or return value). The initial description of the function is short " "(one line). Following that single-line description, there is a slightly " -"longer description of what the function does (2 to 3 sentences). The return" -" of the function is also specified." +"longer description of what the function does (2 to 3 sentences). The return " +"of the function is also specified." msgstr "" "以下はよく文書化された関数の良い例です。 この関数のdocstringには、関数の入力と出力(または戻り値)が記述されていることに注目してください。 " "関数の最初の説明は短いです(1行)。 その1行の説明に続いて、関数が何をするのかについて少し長い説明があります(2~3文)。 " @@ -3536,10 +3553,10 @@ msgstr "" #: ../../documentation/write-user-documentation/document-your-code-api-docstrings.md:160 msgid "" -"Using the above NumPy format docstring in sphinx, the autodoc extension " -"will create the about documentation section for the `extent_to_json` " -"function. The output of the `es.extent_to_json(rmnp)` command can even be " -"tested using doctest adding another quality check to your package." +"Using the above NumPy format docstring in sphinx, the autodoc extension will" +" create the about documentation section for the `extent_to_json` function. " +"The output of the `es.extent_to_json(rmnp)` command can even be tested using" +" doctest adding another quality check to your package." msgstr "" "上記のNumPyフォーマットのdocstringをsphinxで使用すると、autodocエクステンションが `extent_to_json` " "関数のabout documentationセクションを作成します。 `es.extent_to_json(rmnp)` " @@ -3553,29 +3570,29 @@ msgstr "doctestを使って、パッケージのメソッドや関数でdocstrin #: ../../documentation/write-user-documentation/document-your-code-api-docstrings.md:171 msgid "" -"Above, we provided some examples of good, better, best docstring formats. " -"If you are using Sphinx to create your docs, you can add the " +"Above, we provided some examples of good, better, best docstring formats. If" +" you are using Sphinx to create your docs, you can add the " "[doctest](https://www.sphinx-" "doc.org/en/master/usage/extensions/doctest.html) extension to your Sphinx " -"build. Doctest provides an additional check for docstrings with example " -"code in them. Doctest runs the example code in your docstring `Examples` " +"build. Doctest provides an additional check for docstrings with example code" +" in them. Doctest runs the example code in your docstring `Examples` " "checking that the expected output is correct. Similar to running tutorials " -"in your documentation, `doctest` can be a useful step that assures that " -"your package's code (API) runs as you expect it to." +"in your documentation, `doctest` can be a useful step that assures that your" +" package's code (API) runs as you expect it to." msgstr "" "上記では、良いdocstringフォーマット、より良いdocstringフォーマット、ベストなdocstringフォーマットの例をいくつか紹介しました。" " もしSphinxを使ってドキュメントを作成しているのであれば、 [doctest](https://www.sphinx-" "doc.org/en/master/usage/extensions/doctest.html) " -"という拡張機能をSphinxビルドに追加することができます。Doctestは、サンプルコードを含むdocstringに対して追加のチェックを行います。" -" Doctest は、docstring `Examples` 内のサンプルコードを実行し、期待される出力が正しいかどうかをチェックします。 " +"という拡張機能をSphinxビルドに追加することができます。Doctestは、サンプルコードを含むdocstringに対して追加のチェックを行います。 " +"Doctest は、docstring `Examples` 内のサンプルコードを実行し、期待される出力が正しいかどうかをチェックします。 " "ドキュメントのチュートリアルを実行するのと同様に、 `doctest` はパッケージのコード (API) " "が期待通りに動作することを保証する便利なステップになります。" #: ../../documentation/write-user-documentation/document-your-code-api-docstrings.md:178 msgid "" "It's important to keep in mind that examples in your docstrings help users " -"using your package. Running `doctest` on those examples provides a check of" -" your package's API. The doctest ensures that the functions and methods in " +"using your package. Running `doctest` on those examples provides a check of " +"your package's API. The doctest ensures that the functions and methods in " "your package run as you expect them to. Neither of these items replace a " "separate, stand-alone test suite that is designed to test your package's " "core functionality across operating systems and Python versions." @@ -3588,8 +3605,8 @@ msgstr "" #: ../../documentation/write-user-documentation/document-your-code-api-docstrings.md:186 msgid "" "Below is an example of a docstring with an example. doctest will run the " -"example below and test that if you provide `add_me` with the values 1 and 3" -" it will return 4." +"example below and test that if you provide `add_me` with the values 1 and 3 " +"it will return 4." msgstr "doctestは以下の例を実行し、 `add_me` に1と3の値を与えると4が返されることをテストします。" #: ../../documentation/write-user-documentation/document-your-code-api-docstrings.md:219 @@ -3598,15 +3615,15 @@ msgstr "docstringに型ヒントを追加する" #: ../../documentation/write-user-documentation/document-your-code-api-docstrings.md:221 msgid "" -"In the example above, you saw the use of numpy-style docstrings to describe" -" data types that are passed into functions as parameters or into classes as" -" attributes. In a numpy-style docstring you add those types in the " -"Parameters section of the docstring. Below you can see that the parameter " -"`num1` and `num2` should both be a Python `int` (integer) value." +"In the example above, you saw the use of numpy-style docstrings to describe " +"data types that are passed into functions as parameters or into classes as " +"attributes. In a numpy-style docstring you add those types in the Parameters" +" section of the docstring. Below you can see that the parameter `num1` and " +"`num2` should both be a Python `int` (integer) value." msgstr "" "上の例では、パラメータとして関数に渡されるデータ型や、属性としてクラスに渡されるデータ型を記述するために、numpyスタイルのdocstringを使用することを見ました。" -" numpyスタイルのdocstringでは、docstringのParametersセクションにそれらのデータ型を追加します。 " -"下の例では、パラメータ `num1` と `num2` は両方とも Python の `int` (整数) 値であるべきであることがわかります。" +" numpyスタイルのdocstringでは、docstringのParametersセクションにそれらのデータ型を追加します。 下の例では、パラメータ" +" `num1` と `num2` は両方とも Python の `int` (整数) 値であるべきであることがわかります。" #: ../../documentation/write-user-documentation/document-your-code-api-docstrings.md:236 msgid "" @@ -3616,9 +3633,9 @@ msgstr "関数やメソッドが必要とするデータ型を記述すること #: ../../documentation/write-user-documentation/document-your-code-api-docstrings.md:239 msgid "" -"Type-hints add another layer of type documentation to your code. Type-hints" -" make it easier for new developers, your future self or contributors to get" -" to know your code base quickly." +"Type-hints add another layer of type documentation to your code. Type-hints " +"make it easier for new developers, your future self or contributors to get " +"to know your code base quickly." msgstr "" "型ヒントは、あなたのコードに型ドキュメントの別のレイヤーを追加します。 " "型ヒントは、新しい開発者や将来の自分、あるいは貢献者が、あなたのコードベースについて素早く知ることを容易にします。" @@ -3632,8 +3649,8 @@ msgstr "型のヒントは関数の定義に追加されます。 以下の例 #: ../../documentation/write-user-documentation/document-your-code-api-docstrings.md:250 msgid "" -"You can further describe the expected function output using `->`. Below the" -" output of the function is also an int." +"You can further describe the expected function output using `->`. Below the " +"output of the function is also an int." msgstr "さらに `->` を使って、期待される関数の出力を記述することができます。以下の関数の出力も int です。" #: ../../documentation/write-user-documentation/document-your-code-api-docstrings.md:258 @@ -3676,8 +3693,8 @@ msgstr "複雑な入力を必要とする関数を使用しています" #: ../../documentation/write-user-documentation/document-your-code-api-docstrings.md:270 msgid "" -"You want to lower the entrance barrier for new contributors to help you " -"with your code." +"You want to lower the entrance barrier for new contributors to help you with" +" your code." msgstr "あなたは、あなたのコードを手助けしてくれる新しい貢献者の入り口の障壁を低くしたいです。" #: ../../documentation/write-user-documentation/document-your-code-api-docstrings.md:272 @@ -3690,9 +3707,9 @@ msgstr "コードに型ヒントを追加する際には、場合によっては #: ../../documentation/write-user-documentation/document-your-code-api-docstrings.md:277 msgid "" -"If you have a complex code base, type hints may make code more difficult to" -" read. This is especially true when a parameter’s input takes multiple data" -" types and you list each one." +"If you have a complex code base, type hints may make code more difficult to " +"read. This is especially true when a parameter’s input takes multiple data " +"types and you list each one." msgstr "" "複雑なコードベースを持っている場合、型ヒントはコードを読みにくくする可能性がある。 " "パラメーターの入力が複数のデータ型を取り、それぞれをリストアップする場合は特にそうだ。" @@ -3736,15 +3753,15 @@ msgstr "以下では、ドキュメントを2つのタイプに大別します #: ../../documentation/write-user-documentation/get-started.md:17 msgid "" -"**User-facing documentation** refers to documentation that describes the " -"way the tools within a package are broadly used in workflows. **API " -"documentation** refers to documentation of functions, classes, methods, and" -" attributes in your code and is written at a more granular level. This " +"**User-facing documentation** refers to documentation that describes the way" +" the tools within a package are broadly used in workflows. **API " +"documentation** refers to documentation of functions, classes, methods, and " +"attributes in your code and is written at a more granular level. This " "documentation is what a user sees when they type `help(function-name)`." msgstr "" "**ユーザー向け文書** は、パッケージ内のツールがワークフローで広く使用される方法を説明する文書を指します。 **APIドキュメント** " -"は、コード内の関数、クラス、メソッド、属性のドキュメントを指し、より細かいレベルで書かれています。 このドキュメントは、ユーザーが `help" -"(function-name)` とタイプしたときに表示されるものです。" +"は、コード内の関数、クラス、メソッド、属性のドキュメントを指し、より細かいレベルで書かれています。 このドキュメントは、ユーザーが " +"`help(function-name)` とタイプしたときに表示されるものです。" #: ../../documentation/write-user-documentation/get-started.md:23 msgid "" @@ -3784,8 +3801,8 @@ msgstr "" "**パッケージコード/APIドキュメント:** パッケージの関数、クラス、メソッド、属性(API)もドキュメント化されるべきです。 " "APIドキュメントは、あなたのコードにある " "[docstrings](https://pandas.pydata.org/docs/development/contributing_docstring.html)" -" から生成することができます。 理想的には、Pythonパッケージ内のすべてのユーザー向けの関数、クラス、メソッドのdocstringがあることです。" -" [コードドキュメンテーションとdocstringについてはこちらで詳しく説明します。](document-your-code-api-" +" から生成することができます。 理想的には、Pythonパッケージ内のすべてのユーザー向けの関数、クラス、メソッドのdocstringがあることです。 " +"[コードドキュメンテーションとdocstringについてはこちらで詳しく説明します。](document-your-code-api-" "docstrings)" #: ../../documentation/write-user-documentation/get-started.md:32 @@ -3794,10 +3811,10 @@ msgstr "使いやすい文書を書く" #: ../../documentation/write-user-documentation/get-started.md:34 msgid "" -"User-facing documentation should be published on a easy-to-navigate " -"website. The documentation should be written keeping in mind that users may" -" not be developers or expert-level programmers. Rather, the language that " -"you use in your documentation should not be highly technical." +"User-facing documentation should be published on a easy-to-navigate website." +" The documentation should be written keeping in mind that users may not be " +"developers or expert-level programmers. Rather, the language that you use in" +" your documentation should not be highly technical." msgstr "" "ユーザー向けのドキュメントは、閲覧しやすいウェブサイトで公開されるべきである。 " "ドキュメントは、ユーザーが開発者や専門家レベルのプログラマーではないことを念頭に置いて書かれるべきです。 " @@ -3831,28 +3848,30 @@ msgstr "優れたオープンソース・ドキュメントのランディング msgid "" "To make it easy for users to find what they need quickly, consider adding " "quick links on your package's landing page to the following elements:" -msgstr "ユーザーが必要なものをすぐに見つけられるように、パッケージのランディングページに以下の要素へのクイックリンクを追加することを検討してください:" +msgstr "" +"ユーザーが必要なものをすぐに見つけられるように、パッケージのランディングページに以下の要素へのクイックリンクを追加することを検討してください:" #: ../../documentation/write-user-documentation/get-started.md:52 msgid "" -"**Getting started:** This section should provide the user with a quick " -"start for installing your package. A small example of how to use the " -"package is good to have here as well. Or you can link to useful tutorials " -"in the get started section." +"**Getting started:** This section should provide the user with a quick start" +" for installing your package. A small example of how to use the package is " +"good to have here as well. Or you can link to useful tutorials in the get " +"started section." msgstr "" -"**Getting started:** このセクションは、あなたのパッケージをインストールするためのクイックスタート をユーザーに提供するものです。" -" パッケージの使い方の小さな例もここにあると良いでしょう。 または、便利なチュートリアルへのリンクを、スタートセクションに置くこともできます。" +"**Getting started:** このセクションは、あなたのパッケージをインストールするためのクイックスタート をユーザーに提供するものです。 " +"パッケージの使い方の小さな例もここにあると良いでしょう。 または、便利なチュートリアルへのリンクを、スタートセクションに置くこともできます。" #: ../../documentation/write-user-documentation/get-started.md:53 -msgid "**About:** Describe your project, stating its goals and its functionality." +msgid "" +"**About:** Describe your project, stating its goals and its functionality." msgstr "**About:** プロジェクトについて、その目標と機能を説明してください。" #: ../../documentation/write-user-documentation/get-started.md:54 msgid "" -"**Community:** Instructions for how to help and/or get involved. This might" -" include links to your issues (if that is where you let users ask " -"questions) or the discussion part of your GitHub repo. This section might " -"include a development guide for those who might contribute to your package." +"**Community:** Instructions for how to help and/or get involved. This might " +"include links to your issues (if that is where you let users ask questions) " +"or the discussion part of your GitHub repo. This section might include a " +"development guide for those who might contribute to your package." msgstr "" "**Community:** どのように手伝ったり、参加したりするかについての説明。 このセクションには、issue " "(ユーザーに質問できるようにしている場合) や GitHub リポジトリのディスカッションへのリンクが含まれます。 " @@ -3860,8 +3879,8 @@ msgstr "" #: ../../documentation/write-user-documentation/get-started.md:55 msgid "" -"**API Documentation:** This is the detailed project documentation. Here you" -" store documentation for your package's API including all user-facing " +"**API Documentation:** This is the detailed project documentation. Here you " +"store documentation for your package's API including all user-facing " "functions, classes, methods, and attributes as well as any additional high " "level discussion that will help people use your package." msgstr "" @@ -3889,8 +3908,8 @@ msgstr "" #: ../../documentation/write-user-documentation/get-started.md:67 msgid "" "NOTE: in many cases you can include your **README** file and your " -"**CONTRIBUTING** files in your documentation given those files may have " -"some of the components listed above." +"**CONTRIBUTING** files in your documentation given those files may have some" +" of the components listed above." msgstr "" "NOTE: 多くの場合、 **README** ファイルと **CONTRIBUTING** " "ファイルをドキュメントに含めることができま、これらのファイルには、上に挙げた構成要素のいくつかが含まれているかもしれません。" @@ -3907,8 +3926,8 @@ msgstr "Pythonパッケージのユーザー向けドキュメントを書く" #: ../../documentation/write-user-documentation/intro.md:3 msgid "" -"This section walks you through best practices for with writing " -"documentation for your Python package." +"This section walks you through best practices for with writing documentation" +" for your Python package." msgstr "このセクションでは、Python パッケージのドキュメント作成のベストプラクティスを説明します。" #: ../../documentation/write-user-documentation/intro.md:6 @@ -3916,12 +3935,13 @@ msgid "" "We talk about the elements that you should consider adding to your " "documentation, the different types of users who might read your " "documentation and how to create tutorials for your package." -msgstr "ドキュメントに追加することを検討すべき要素、ドキュメントを読む可能性のあるさまざまなタイプのユーザー、パッケージのチュートリアルを作成する方法について話します。" +msgstr "" +"ドキュメントに追加することを検討すべき要素、ドキュメントを読む可能性のあるさまざまなタイプのユーザー、パッケージのチュートリアルを作成する方法について話します。" #: ../../documentation/write-user-documentation/intro.md:10 msgid "" -"Here we also cover sphinx extensions that you can user to make " -"documentation easier such as:" +"Here we also cover sphinx extensions that you can user to make documentation" +" easier such as:" msgstr "ここでは、ドキュメンテーションを容易にするために使用できるsphinxの拡張機能についても説明します:" #: ../../documentation/write-user-documentation/intro.md:13 @@ -3931,6 +3951,5 @@ msgid "" msgstr "autodocは、あなたのコードの関数、クラス、メソッド、属性(APIドキュメント)のドキュメントを自動生成します。" #: ../../documentation/write-user-documentation/intro.md:15 -#, fuzzy msgid "sphinx gallery for tutorials." -msgstr "チュートリアルのためのsphinxギャラリー。" +msgstr "チュートリアルのための sphinx ギャラリー。" From 8fb8eb752f33c803148cabee1cfef44035307532 Mon Sep 17 00:00:00 2001 From: Tetsuo Koyama Date: Sat, 10 Oct 2026 22:54:48 +0900 Subject: [PATCH 7/9] i18n: fix end of file in package-structure-code.po --- .../ja/LC_MESSAGES/package-structure-code.po | 3837 ++++++----------- 1 file changed, 1313 insertions(+), 2524 deletions(-) diff --git a/locales/ja/LC_MESSAGES/package-structure-code.po b/locales/ja/LC_MESSAGES/package-structure-code.po index dc307b9d..7952f763 100644 --- a/locales/ja/LC_MESSAGES/package-structure-code.po +++ b/locales/ja/LC_MESSAGES/package-structure-code.po @@ -14,12 +14,12 @@ msgstr "" "POT-Creation-Date: 2026-08-25 07:47+0900\n" "PO-Revision-Date: 2025-04-14 18:12+0000\n" "Last-Translator: Tetsuo Koyama , 2025\n" -"Language: ja\n" "Language-Team: ja \n" -"Plural-Forms: nplurals=1; plural=0;\n" +"Language: ja\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=1; plural=0;\n" "Generated-By: Babel 2.18.0\n" #: ../../package-structure-code/code-style-linting-format.md:1 @@ -37,8 +37,8 @@ msgstr "pyOpenSciは、作者がPEP 8コードフォーマットガイドライ #: ../../package-structure-code/code-style-linting-format.md:6 msgid "" -"Setting up a code formatters like Black and isort will help you enforce PEP" -" 8 style guidelines and also consistent, readable code format" +"Setting up a code formatters like Black and isort will help you enforce PEP " +"8 style guidelines and also consistent, readable code format" msgstr "" "Blackやisortのようなコードフォーマッタを設定することで、PEP " "8のスタイルガイドラインを実施し、一貫性のある読みやすいコードフォーマットにすることができます。" @@ -56,8 +56,8 @@ msgstr "また、コミット前にフックをセットアップして、コミ #: ../../package-structure-code/code-style-linting-format.md:10 msgid "" "[precommit.ci](https://pre-commit.ci/) is a bot that you can add to your " -"GitHub repository. It will automagically apply code format to every PR " -"using the tools specified in your pre-commit-config.yaml file. It can save " +"GitHub repository. It will automagically apply code format to every PR using" +" the tools specified in your pre-commit-config.yaml file. It can save " "significant time and make contributions easier for new contributors." msgstr "" "[precommit.ci](https://pre-commit.ci/) は、GitHub リポジトリに追加できるボットです。 pre-" @@ -66,8 +66,8 @@ msgstr "" #: ../../package-structure-code/code-style-linting-format.md:11 msgid "" -"Automation is good! By making code quality tools care of your code, you can" -" focus on structural and high values tasks." +"Automation is good! By making code quality tools care of your code, you can " +"focus on structural and high values tasks." msgstr "自動化は良いことです! コードクオリティツールにコードを管理させることで、あなたは構造的で価値の高いタスクに集中することができます。" #: ../../package-structure-code/code-style-linting-format.md:14 @@ -75,7 +75,8 @@ msgid "" "Consistent code format and style is useful to both your package and across " "the scientific Python ecosystem because using similar formats makes code " "easier to read." -msgstr "一貫したコードフォーマットとスタイルは、あなたのパッケージにとっても、科学的なPythonエコシステム全体にとっても有用です、なぜなら、同じようなフォーマットを使うことでコードが読みやすくなるからです。" +msgstr "" +"一貫したコードフォーマットとスタイルは、あなたのパッケージにとっても、科学的なPythonエコシステム全体にとっても有用です、なぜなら、同じようなフォーマットを使うことでコードが読みやすくなるからです。" #: ../../package-structure-code/code-style-linting-format.md:18 msgid "" @@ -126,8 +127,8 @@ msgid "" "We suggest that you use a code format tool, or a set of format tools, " "because manually applying all of the PEP 8 format specifications is both " "time consuming for maintainers and can be a road block for potential new " -"contributors. Code formatters will automagically reformat your code for " -"you, adhering to PEP 8 standards and applying consistent style decisions " +"contributors. Code formatters will automagically reformat your code for you," +" adhering to PEP 8 standards and applying consistent style decisions " "throughout." msgstr "" "コードフォーマットツール、あるいはフォーマットツールのセットを使うことをお勧めします。PEP 8 " @@ -139,11 +140,13 @@ msgid "Setting up a code format suite of tools will:" msgstr "コードフォーマット一式のツールを設定します:" #: ../../package-structure-code/code-style-linting-format.md:49 -msgid "Save you and your maintainer team time in fixing PEP 8 inconsistencies." +msgid "" +"Save you and your maintainer team time in fixing PEP 8 inconsistencies." msgstr "PEP 8の不整合を修正する時間を、あなたとあなたのメンテナチームに節約させます。" #: ../../package-structure-code/code-style-linting-format.md:50 -msgid "Ensure that format and style is consistent across your entire code-base." +msgid "" +"Ensure that format and style is consistent across your entire code-base." msgstr "フォーマットとスタイルがコードベース全体で一貫していることを確認します。" #: ../../package-structure-code/code-style-linting-format.md:51 @@ -154,51 +157,50 @@ msgstr "レビューの際に、貢献者や他のメンテナと、個人的な #: ../../package-structure-code/code-style-linting-format.md:53 msgid "" -"Avoid pure visual edits in the code base so that code reviews focus on " -"added value" +"Avoid pure visual edits in the code base so that code reviews focus on added" +" value" msgstr "コードレビューが付加価値に焦点を当てるように、コードベースにおける純粋な視覚的編集を避けます。" #: ../../package-structure-code/code-style-linting-format.md:55 msgid "" "Many packages use a suite of tools to apply code format rules, taking the " "work out of manually implementing code format requirements." -msgstr "多くのパッケージは、コードフォーマット規則を適用するために一連のツールを使用しており、手作業でコードフォーマット要件を実装する手間を省いています。" +msgstr "" +"多くのパッケージは、コードフォーマット規則を適用するために一連のツールを使用しており、手作業でコードフォーマット要件を実装する手間を省いています。" #: ../../package-structure-code/code-style-linting-format.md:58 msgid "" "Consistent code format across packages within the (scientific) Python " "ecosystem, will also broadly make code easier to scan, understand and " "contribute to." -msgstr "(科学的な)Pythonエコシステム内のパッケージ間で統一されたコードフォーマットは、広くコードをスキャンし、理解し、貢献することを容易にします。" +msgstr "" +"(科学的な)Pythonエコシステム内のパッケージ間で統一されたコードフォーマットは、広くコードをスキャンし、理解し、貢献することを容易にします。" #: ../../package-structure-code/code-style-linting-format.md:61 -#, fuzzy msgid "Linting vs. format and style" -msgstr "リンティング vs フォーマットとスタイル" +msgstr "リンティング vs. フォーマットとスタイル" #: ../../package-structure-code/code-style-linting-format.md:63 msgid "Before we dive in let's get a few definitions out of the way." msgstr "その前に、いくつかの定義を整理しておきましょう。" #: ../../package-structure-code/code-style-linting-format.md:65 -#, fuzzy msgid "Code linting" msgstr "コードリンティング" #: ../../package-structure-code/code-style-linting-format.md:67 msgid "" "A code linter is a tool that will review your code and identify errors or " -"issues. A linter typically does not modify your code. It will tell you what" -" the error is and on what line it was discovered. Flake8, discussed below, " -"is an example of a commonly-used code linter." +"issues. A linter typically does not modify your code. It will tell you what " +"the error is and on what line it was discovered. Flake8, discussed below, is" +" an example of a commonly-used code linter." msgstr "" "コードリンターは、コードをレビューしてエラーや問題を特定するツールです。 リンターは通常、あなたのコードを修正しません。 " "エラーが何であり、どの行で発見されたかを教えてくれます。 後述するFlake8は、よく使われるコードリンターの一例です。" #: ../../package-structure-code/code-style-linting-format.md:72 -#, fuzzy msgid "Code formatters (and stylers)" -msgstr "コードフォーマッタ(およびスタイラーズ)" +msgstr "コードフォーマッタ(およびスタイラー)" #: ../../package-structure-code/code-style-linting-format.md:74 msgid "" @@ -206,14 +208,14 @@ msgid "" "formatters often follow PEP 8 standards. However, they also make stylistic " "decisions about code consistency." msgstr "" -"コードフォーマッタはあなたのコードを再フォーマットしてくれます。 Python に特化したコードフォーマッタは PEP 8 標準に従うことが多いです。" -" しかし、コードの一貫性に関する文体的な決定も行います。" +"コードフォーマッタはあなたのコードを再フォーマットしてくれます。 Python に特化したコードフォーマッタは PEP 8 標準に従うことが多いです。 " +"しかし、コードの一貫性に関する文体的な決定も行います。" #: ../../package-structure-code/code-style-linting-format.md:78 msgid "" "Black is an example of a commonly-used code formatter. Black both applies " -"PEP 8 standards while also making decisions about things like consistent " -"use of double quotes for strings, and spacing of items in lists." +"PEP 8 standards while also making decisions about things like consistent use" +" of double quotes for strings, and spacing of items in lists." msgstr "" "Blackはよく使われるコードフォーマッターの一例です。 BlackはPEP " "8の標準を適用すると同時に、文字列に対する二重引用符の一貫した使用や、リスト内の項目のスペーシングなどについても決定しています。" @@ -232,8 +234,8 @@ msgstr "Black" #: ../../package-structure-code/code-style-linting-format.md:89 msgid "" -"[Black](https://black.readthedocs.io/en/stable/) is a code formatter. Black" -" will automagically (and _unapologetically_) fix spacing issues and ensure " +"[Black](https://black.readthedocs.io/en/stable/) is a code formatter. Black " +"will automagically (and _unapologetically_) fix spacing issues and ensure " "code format is consistent throughout your package. Black also generally " "adheres to PEP 8 style guidelines with some exceptions. A few examples of " "those exceptions are below:" @@ -260,12 +262,13 @@ msgstr "Blackはコメントやdocstringの行の長さを調整しません。" msgid "" "This tool will not review and fix import order (you need `isort` or `ruff` " "to do that - see below)." -msgstr "このツールはインポートの順番を見直したり修正したりはしません(そのためには `isort` や `ruff` が必要です - 下記を参照してください)。" +msgstr "" +"このツールはインポートの順番を見直したり修正したりはしません(そのためには `isort` や `ruff` が必要です - 下記を参照してください)。" #: ../../package-structure-code/code-style-linting-format.md:100 msgid "" -"If you are interested in seeing how Black will format your code, you can " -"use the [Black playground](https://black.vercel.app/)" +"If you are interested in seeing how Black will format your code, you can use" +" the [Black playground](https://black.vercel.app/)" msgstr "" "Black があなたのコードをどのようにフォーマットするか興味がある場合は、 [Black " "playground](https://black.vercel.app/) を使用することができます。" @@ -313,8 +316,8 @@ msgstr "Flake8はまた、モジュール内の未使用のインポートや未 #: ../../package-structure-code/code-style-linting-format.md:122 msgid "" -"Below you can see the output of running `flake8 filename.py` at the command" -" line for a Python file within a package called `stravalib`." +"Below you can see the output of running `flake8 filename.py` at the command " +"line for a Python file within a package called `stravalib`." msgstr "" "下記は `stravalib` というパッケージ内の Python ファイルに対してコマンドラインで `flake8 filename.py` " "を実行したときの出力です。" @@ -339,8 +342,8 @@ msgstr "Isort" #: ../../package-structure-code/code-style-linting-format.md:145 msgid "" "Python imports refer to the Python packages that a module in your package " -"requires. Imports should always be located at the top of each Python module" -" in your package." +"requires. Imports should always be located at the top of each Python module " +"in your package." msgstr "" "Python import は、あなたのパッケージのモジュールが必要とする Python パッケージを指します。 " "importsは常にパッケージ内の各Pythonモジュールの先頭に配置されるべきです。" @@ -382,8 +385,8 @@ msgstr "" #: ../../package-structure-code/code-style-linting-format.md:160 msgid "" "`isort` will identify where imports in your code are out of order. It will " -"then modify your code, automatically reordering all imports. This leaves " -"you with one less thing to think about when cleaning up your code." +"then modify your code, automatically reordering all imports. This leaves you" +" with one less thing to think about when cleaning up your code." msgstr "" "`isort` は、コードの中でインポートの順番が狂っている箇所を特定します。 " "そして、あなたのコードを修正し、すべてのインポートの順番を自動的に並べ替えます。 これで、コードを整理するときに考えることが1つ減ります。" @@ -406,8 +409,8 @@ msgid "" msgstr "" "以下では、`pandas`はサードパーティのパッケージであり、`typing`は `Python` とともに配布されている `Python` " "のコアパッケージであり、 " -"`examplePy.temperature`はファーストパーティモジュールで、インポートを行うファイルと同じパッケージに属していることを意味します。" -" また、以下のインポートにスペースがないことに注意してください。" +"`examplePy.temperature`はファーストパーティモジュールで、インポートを行うファイルと同じパッケージに属していることを意味します。 " +"また、以下のインポートにスペースがないことに注意してください。" #: ../../package-structure-code/code-style-linting-format.md:179 msgid "From the project root, run:" @@ -424,10 +427,10 @@ msgstr "Ruff" #: ../../package-structure-code/code-style-linting-format.md:195 msgid "" "[Ruff](https://docs.astral.sh/ruff/) is a new addition to the code quality " -"ecosystem, gaining some traction since its release. `ruff` is both a linter" -" and a code formatter for Python, aiming to replace several tools behind a " -"single interface. As such, `ruff` can be used at a replacement of all other" -" tools mentioned here, or in complement to some of them." +"ecosystem, gaining some traction since its release. `ruff` is both a linter " +"and a code formatter for Python, aiming to replace several tools behind a " +"single interface. As such, `ruff` can be used at a replacement of all other " +"tools mentioned here, or in complement to some of them." msgstr "" "[Ruff](https://docs.astral.sh/ruff/) " "は、コードクオリティのエコシステムに新しく追加されたもので、リリース以来人気を集めています。 `ruff` " @@ -435,7 +438,8 @@ msgstr "" "はここで紹介する他のすべてのツールの置き換えとして、あるいはいくつかのツールの補完として使用することができます。" #: ../../package-structure-code/code-style-linting-format.md:201 -msgid "`ruff` has some interesting features that distinguish it from other linters:" +msgid "" +"`ruff` has some interesting features that distinguish it from other linters:" msgstr "`ruff` には他のリンターと異なる興味深い特徴があります:" #: ../../package-structure-code/code-style-linting-format.md:203 @@ -443,7 +447,8 @@ msgid "Linter configuration in `pyproject.toml`" msgstr "`pyproject.toml` のリンター設定" #: ../../package-structure-code/code-style-linting-format.md:204 -msgid "Several hundred rules included, many of which are automatically fixable" +msgid "" +"Several hundred rules included, many of which are automatically fixable" msgstr "数百のルールが含まれ、その多くは自動的に修正可能です" #: ../../package-structure-code/code-style-linting-format.md:205 @@ -451,8 +456,8 @@ msgid "" "Rules explanation, see [F403](https://docs.astral.sh/ruff/rules/undefined-" "local-with-import-star/) for an example" msgstr "" -"ルールの説明、例については [F403](https://docs.astral.sh/ruff/rules/undefined-local-" -"with-import-star/) を参照してください。" +"ルールの説明、例については [F403](https://docs.astral.sh/ruff/rules/undefined-local-with-" +"import-star/) を参照してください。" #: ../../package-structure-code/code-style-linting-format.md:206 msgid "" @@ -462,8 +467,8 @@ msgstr "実行時間が速いので、大規模プロジェクトでも素早い #: ../../package-structure-code/code-style-linting-format.md:208 msgid "" -"Here is a simple configuration to get started with `ruff`. It would go into" -" your `pyproject.toml`:" +"Here is a simple configuration to get started with `ruff`. It would go into " +"your `pyproject.toml`:" msgstr "以下は `ruff` を使い始めるための簡単な設定です。 これは `pyproject.toml` に記述します:" #: ../../package-structure-code/code-style-linting-format.md:216 @@ -498,7 +503,8 @@ msgid "Use pre-commit hooks to run code formatters and linters on commits" msgstr "プレコミットフックを使って、コミット時にコードフォーマッタやリンタを実行" #: ../../package-structure-code/code-style-linting-format.md:236 -msgid "You can also setup a `pre-commit hook` in your Python package repository." +msgid "" +"You can also setup a `pre-commit hook` in your Python package repository." msgstr "Pythonのパッケージリポジトリに `pre-commit hook` をセットアップすることもできます。" #: ../../package-structure-code/code-style-linting-format.md:238 @@ -521,15 +527,16 @@ msgstr "コマンドラインで `git commit -m \"message here\"` を実行" #: ../../package-structure-code/code-style-linting-format.md:248 msgid "" -"Once you hit return, pre-commit will run any tools that you have configured" -" in a **.pre-commit-config.yaml** file." -msgstr "returnを押すと、pre-commitは **.pre-commit-config.yaml** ファイルで設定したツールを実行します。" +"Once you hit return, pre-commit will run any tools that you have configured " +"in a **.pre-commit-config.yaml** file." +msgstr "" +"returnを押すと、pre-commitは **.pre-commit-config.yaml** ファイルで設定したツールを実行します。" #: ../../package-structure-code/code-style-linting-format.md:250 msgid "" "If the tools configured in the pre-commit hook run successfully without " -"making changes or finding errors in your code, the commit will be applied " -"to the repository." +"making changes or finding errors in your code, the commit will be applied to" +" the repository." msgstr "" "pre-" "commitフックで設定したツールが、コードに変更を加えたりエラーを発見したりすることなく正常に実行されると、コミットがリポジトリに適用されます。" @@ -539,8 +546,8 @@ msgid "" "If the tools configured in the hook find errors in your files, the commit " "will NOT be applied to the repository. Remember from the discussion above " "that a code formatter like Black will run and reformat your code. A linter " -"like _flake8_ will provide you with some output that details where there " -"are syntax issues in your code. You will then need to fix those issues, " +"like _flake8_ will provide you with some output that details where there are" +" syntax issues in your code. You will then need to fix those issues, " "manually." msgstr "" "フックで設定したツールがファイルにエラーを見つけた場合、コミットはリポジトリに適用されません。 上の説明で、Black " @@ -558,10 +565,9 @@ msgid "Diagram showing the steps of a pre-commit workflow from left to right." msgstr "左から右へ、 pre-commit ワークフローのステップを示す図。" #: ../../package-structure-code/code-style-linting-format.md:267 -#, fuzzy msgid "" -"The pre-commit workflow begins with you adding files that have changes to " -"be staged in git. Next, you'd run git commit. When you run git commit, the " +"The pre-commit workflow begins with you adding files that have changes to be" +" staged in git. Next, you'd run git commit. When you run git commit, the " "pre-commit hooks will then run. In this example, Black, the code formatter " "and flake8, a linter both run. If all of the files pass Black and flake8 " "checks, then your commit will be recorded. If they don't, the commit is " @@ -570,21 +576,20 @@ msgid "" "Source_](https://ljvmiranda921.github.io/notebook/2018/06/21/precommits-" "using-black-and-flake8/)" msgstr "" -"pre-commit のワークフローは、まず git にステージすべき変更があるファイルを追加することから始まります。 次に git commit " -"を実行します。git commit を実行すると、pre-commit フックが実行されます。 この例では、コード整形ツールである Black " -"とリンターである flake8 が実行されます。 すべてのファイルがBlackとflake8のチェックをパスすれば、コミットが記録される。 " -"通らなかった場合、コミットはキャンセルされます。 flake8の問題を修正し、コミットするファイルを再度追加/ステージする必要があります。 " -"[_Image Source_](https://ljvmiranda921.github.io/notebook/2018/06/21" -"/precommits-using-black-and-flake8/*)" +"pre-commit のワークフローは、まず git にステージすべき変更があるファイルを追加することから始まります。次に git commit " +"を実行します。git commit を実行すると、pre-commit フックが実行されます。この例では、コードフォーマッタである Black " +"とリンターである flake8 の両方が実行されます。すべてのファイルが Black と flake8 " +"のチェックをパスすれば、コミットが記録されます。パスしなかった場合、コミットはキャンセルされます。flake8 " +"の問題を修正し、コミットするファイルを再度追加/ステージする必要があります。[_画像出典_](https://ljvmiranda921.github.io/notebook/2018/06/21/precommits-" +"using-black-and-flake8/)" #: ../../package-structure-code/code-style-linting-format.md:280 msgid "" -"If have a Python code-base and multiple maintainers actively working on the" -" code, and you intend to run a tool like Black, be sure to coordinate " -"across your team. An initial commit that applies Black to your entire " -"package will likely change a significant amount of your code. This could " -"lead to merge conflicts on open and new PR's before the new changes are " -"merged." +"If have a Python code-base and multiple maintainers actively working on the " +"code, and you intend to run a tool like Black, be sure to coordinate across " +"your team. An initial commit that applies Black to your entire package will " +"likely change a significant amount of your code. This could lead to merge " +"conflicts on open and new PR's before the new changes are merged." msgstr "" "Python のコードベースがあり、複数のメンテナがそのコードに積極的に取り組んでいて、Black " "のようなツールを使うつもりなら、チーム全体で調整するようにしてください。 " @@ -600,17 +605,17 @@ msgid "" "In addition to calling tools, Pre-commit also has a suite of [built in " "format hooks](https://github.com/pre-commit/pre-commit-hooks#hooks-" "available) that you can call. Some, such as `trailing-whitespace` can be " -"also useful to add to your pre-commit workflow to ensure clean, streamlined" -" code files." +"also useful to add to your pre-commit workflow to ensure clean, streamlined " +"code files." msgstr "" -"ツールを呼び出すだけでなく、Pre-commitには [ビルトインフォーマットフック](https://github.com/pre-commit" -"/pre-commit-hooks#hooks-available) が用意されています。また、 `trailing-whitespace` " -"のように、コミット前のワークフローに追加することで、クリーンで合理的なコードファイルを確保できるものもあります。" +"ツールを呼び出すだけでなく、Pre-commitには [ビルトインフォーマットフック](https://github.com/pre-" +"commit/pre-commit-hooks#hooks-available) が用意されています。また、 `trailing-whitespace`" +" のように、コミット前のワークフローに追加することで、クリーンで合理的なコードファイルを確保できるものもあります。" #: ../../package-structure-code/code-style-linting-format.md:294 msgid "" -"An example pre-commit-config.yaml file is below with examples of how this " -"is all setup." +"An example pre-commit-config.yaml file is below with examples of how this is" +" all setup." msgstr "" "以下に、 pre-commit-config.yaml " "ファイルの例を記載します。このファイルに記載されている内容のセットアップ方法の例も記載されています。" @@ -629,26 +634,28 @@ msgstr "" "このボットをリポジトリにセットアップすると、次のようなことができるようになります:" #: ../../package-structure-code/code-style-linting-format.md:302 -msgid "It will check every pull request using all of the pre-commit hook setting" +msgid "" +"It will check every pull request using all of the pre-commit hook setting" msgstr "コミット前のフック設定をすべて使用して、すべてのプルリクエストをチェックします" #: ../../package-structure-code/code-style-linting-format.md:303 msgid "" -"If you wish, it will also submit a pull request to your repo with pre-" -"commit fixes, saving you, and new contributors the time of reformatting a " -"pr that has format issues." +"If you wish, it will also submit a pull request to your repo with pre-commit" +" fixes, saving you, and new contributors the time of reformatting a pr that " +"has format issues." msgstr "" -"あなたが望むなら、事前にコミットした修正と一緒にあなたのリポジトリにプルリクエストを提出します、あなたや新しい貢献者は、フォーマットの問題がある pr" -" を再フォーマットする時間を節約できます。" +"あなたが望むなら、事前にコミットした修正と一緒にあなたのリポジトリにプルリクエストを提出します、あなたや新しい貢献者は、フォーマットの問題がある pr " +"を再フォーマットする時間を節約できます。" #: ../../package-structure-code/code-style-linting-format.md:306 -msgid "You can also call the bot on any pull request to run / and fix the code." +msgid "" +"You can also call the bot on any pull request to run / and fix the code." msgstr "また、どのプルリクエストでもボットを呼び出して、実行し / コードを修正することができます。" #: ../../package-structure-code/code-style-linting-format.md:308 msgid "" -"The pre-commit.ci bot uses the same pre-commit-config.yaml file that you " -"use to setup pre-commit locally." +"The pre-commit.ci bot uses the same pre-commit-config.yaml file that you use" +" to setup pre-commit locally." msgstr "" "pre-commit.ci ボットは、ローカルで pre-commit をセットアップするのと同じ pre-commit-config.yaml " "ファイルを使用します。" @@ -665,9 +672,9 @@ msgstr "メンテナにとっては、コードフォーマットの修正に頭 #: ../../package-structure-code/code-style-linting-format.md:315 msgid "" -"It can make it easier for new comers as they never have to setup pre-commit" -" locally or worry about linting their code. They can even make small fixes " -"to the code directly on GitHub without worry." +"It can make it easier for new comers as they never have to setup pre-commit " +"locally or worry about linting their code. They can even make small fixes to" +" the code directly on GitHub without worry." msgstr "" "ローカルでpre-" "commitをセットアップしたり、コードのlintを心配したりする必要がないので、新規参入者も楽になります。GitHub上で直接コードを修正することもできます。" @@ -687,7 +694,8 @@ msgid "" msgstr "pre-commitをインストールする(そしてリポジトリに開発要件として含める)" #: ../../package-structure-code/code-style-linting-format.md:331 -msgid "Create a .pre-commit-config.yaml file in the root of your package directory." +msgid "" +"Create a .pre-commit-config.yaml file in the root of your package directory." msgstr "パッケージディレクトリのルートに .pre-commit-config.yaml ファイルを作成します。" #: ../../package-structure-code/code-style-linting-format.md:333 @@ -701,8 +709,8 @@ msgstr "" #: ../../package-structure-code/code-style-linting-format.md:341 msgid "" -"This file specifies a hook that will be triggered automatically before each" -" `git commit`, in this case, it specifies a `flake8` using version `6.0.0`." +"This file specifies a hook that will be triggered automatically before each " +"`git commit`, in this case, it specifies a `flake8` using version `6.0.0`." msgstr "" "このファイルでは、各 `git commit` の前に自動的に起動するフックを指定します。この例では、バージョン `6.0.0` を使って " "`flake8` を指定しています。" @@ -731,13 +739,12 @@ msgid "" "pyOpenSci suggests setting up a linter and a code styler for your package, " "regardless of whether you use pre-commit hooks, CI or other infrastructure " "to manage code format. Setting up these tools will give you automatic " -"feedback about your code's structure as you (or a contributor) write it. " -"And using a tool like black that format code for you, reduce effort that " -"you need to make surrounding decisions around code format and style." +"feedback about your code's structure as you (or a contributor) write it. And" +" using a tool like black that format code for you, reduce effort that you " +"need to make surrounding decisions around code format and style." msgstr "" "pyOpenSciは、プレコミットフック、CI、またはコードフォーマットを管理する他のインフラストラクチャを使用しているかどうかに関係なく、あなたのパッケージにリンターとコードスタイラーをセットアップすることを提案します。" -" " -"これらのツールをセットアップすることで、あなた(または貢献者)がコードを書いたときに、コードの構造に関する自動的なフィードバックを得ることができます。" +" これらのツールをセットアップすることで、あなた(または貢献者)がコードを書いたときに、コードの構造に関する自動的なフィードバックを得ることができます。" " また、コードを整形してくれるblackのようなツールを使うことで、コードのフォーマットやスタイルにまつわる決断に必要な労力を減らすことができます。" #: ../../package-structure-code/complex-python-package-builds.md:1 @@ -746,48 +753,45 @@ msgstr "複雑なPythonパッケージのビルド" #: ../../package-structure-code/complex-python-package-builds.md:3 msgid "" -"This guide is focused on packages that are either pure-python or that have " -"a few simple extensions in another language such as C or C++." +"This guide is focused on packages that are either pure-python or that have a" +" few simple extensions in another language such as C or C++." msgstr "このガイドでは、純粋なPythonか、CやC++のような他の言語でいくつかの簡単な拡張を持つパッケージのどちらかに焦点を当てています。" #: ../../package-structure-code/complex-python-package-builds.md:6 msgid "" "For comprehensive guidance on packaging compiled projects with " -"C/C++/Fortran/Rust extensions, see the [Scientific Python Development Guide" -" on compiled packaging](https://learn.scientific-" +"C/C++/Fortran/Rust extensions, see the [Scientific Python Development Guide " +"on compiled packaging](https://learn.scientific-" "python.org/development/guides/packaging-compiled/). This is the best " "reference for complex builds and covers scikit-build-core, meson-python, " "maturin, and other modern build backends." msgstr "" "C/C++/Fortran/Rust " "拡張機能を使用してコンパイルされたプロジェクトをパッケージ化するための包括的なガイダンスについては、[コンパイルされたパッケージ化に関する科学的 " -"Python 開発ガイド](https://learn.scientific-python.org/development/guides" -"/packaging-compiled/) を参照してください。これは、複雑なビルドに最適なリファレンスであり、scikit-build-core" -"、meson-python、maturin、その他の最新のビルド バックエンドをカバーしています。" +"Python 開発ガイド](https://learn.scientific-" +"python.org/development/guides/packaging-compiled/) " +"を参照してください。これは、複雑なビルドに最適なリファレンスであり、scikit-build-core、meson-" +"python、maturin、その他の最新のビルド バックエンドをカバーしています。" #: ../../package-structure-code/complex-python-package-builds.md:8 -#, fuzzy msgid "" "If you have questions about these types of package, please open an [issue " "about this guide specifically in the GitHub repo for this " -"guide](https://github.com/pyOpenSci/python-package-guide/issues). There are" -" many nuances to building and distributing Python packages that have " -"compiled extensions requiring non-Python dependencies at build time. For an" -" overview and thorough discussion of these nuances, please see [this " +"guide](https://github.com/pyOpenSci/python-package-guide/issues). There are " +"many nuances to building and distributing Python packages that have compiled" +" extensions requiring non-Python dependencies at build time. For an overview" +" and thorough discussion of these nuances, please see [this " "site.](https://pypackaging-native.github.io/)" msgstr "" -"将来的には、より複雑なビルドを必要とするパッケージングワークフローのためのリソースを提供したいと考えています。 " -"このようなタイプのパッケージについて質問がある場合は、 " -"[私たちのdiscourseに質問を追加する](https://pyopensci.discourse.group/) か、 [このガイドの " -"GitHub リポジトリでこのガイドに関する issue を発行する](https://github.com/pyOpenSci/python-" -"package-guide/issues) してください。 ビルド時に Python 以外の依存関係を必要とするコンパイルされた拡張機能を持つ " -"Python パッケージをビルドして配布するには、多くの微妙な違いがあります。 これらの微妙な違いの概要と徹底的な議論については、 " -"[このサイト](https://pypackaging-native.github.io/) を参照してください。" +"これらのタイプのパッケージについて質問がある場合は、[このガイドの GitHub リポジトリで issue " +"を開いてください](https://github.com/pyOpenSci/python-package-guide/issues)。ビルド時に " +"Python 以外の依存関係を必要とするコンパイル済み拡張機能を持つ Python " +"パッケージのビルドと配布には、多くの細かい注意点があります。これらの注意点の概要と詳細な議論については、[このサイト](https://pypackaging-" +"native.github.io/)を参照してください。" #: ../../package-structure-code/complex-python-package-builds.md:10 -#, fuzzy msgid "Pure Python packages vs. packages with extensions in other languages" -msgstr "純粋なPythonパッケージと他言語の拡張機能付きパッケージの比較" +msgstr "純粋な Python パッケージと他言語の拡張機能を持つパッケージ" #: ../../package-structure-code/complex-python-package-builds.md:12 msgid "" @@ -801,8 +805,8 @@ msgstr "" #: ../../package-structure-code/complex-python-package-builds.md:16 msgid "" "**Pure-python packages:** these are packages that only rely on Python to " -"function. Building a pure Python package is simpler. As such, you can chose" -" a tool below that has the features that you want and be done with your " +"function. Building a pure Python package is simpler. As such, you can chose " +"a tool below that has the features that you want and be done with your " "decision!" msgstr "" "**純粋なPythonパッケージ:** Pythonだけに依存して機能するパッケージです。 純粋なPythonパッケージの構築はよりシンプルです。 " @@ -811,13 +815,13 @@ msgstr "" #: ../../package-structure-code/complex-python-package-builds.md:18 msgid "" "**Python packages with non-Python extensions:** These packages have " -"additional components called extensions written in other languages (such as" -" C or C++). If you have a package with non-Python extensions, then you need" -" to select a build backend tool that allows additional build steps needed " -"to compile your extension code. Further, if you wish to use a frontend tool" -" to support your workflow, you will need to select a tool that supports " -"additional build setups. We suggest that you chose build tool that supports" -" custom build steps like Hatch." +"additional components called extensions written in other languages (such as " +"C or C++). If you have a package with non-Python extensions, then you need " +"to select a build backend tool that allows additional build steps needed to " +"compile your extension code. Further, if you wish to use a frontend tool to " +"support your workflow, you will need to select a tool that supports " +"additional build setups. We suggest that you chose build tool that supports " +"custom build steps like Hatch." msgstr "" "**Python以外の拡張を持つPythonパッケージ:** これらのパッケージには、他の言語(CやC++など)で書かれた拡張と呼ばれる " "追加コンポーネントがあります。 Python " @@ -827,20 +831,22 @@ msgstr "" #: ../../package-structure-code/complex-python-package-builds.md:20 msgid "" -"**Python packages that have extensions written in different languages (e.g." -" Fortran and C++) or that have non Python dependencies that are difficult " -"to install (e.g. GDAL):** These packages often have complex build steps " -"(more complex than a package with just a few C extensions for instance). As" -" such, these packages require tools such as [scikit-build](https://scikit-" -"build.readthedocs.io/en/latest/) or [meson-python](https://mesonbuild.com" -"/Python-module.html) to build. NOTE: you can use meson-python with PDM." +"**Python packages that have extensions written in different languages (e.g. " +"Fortran and C++) or that have non Python dependencies that are difficult to " +"install (e.g. GDAL):** These packages often have complex build steps (more " +"complex than a package with just a few C extensions for instance). As such, " +"these packages require tools such as [scikit-build](https://scikit-" +"build.readthedocs.io/en/latest/) or [meson-" +"python](https://mesonbuild.com/Python-module.html) to build. NOTE: you can " +"use meson-python with PDM." msgstr "" "**異なる言語で書かれた拡張(例えばFortranやC++)を持つPythonパッケージや、 " "インストールが困難なPython以外の依存関係(例えばGDAL)を持つPythonパッケージ: ** " "これらのパッケージは、しばしば複雑なビルド手順を持ちます(例えば、いくつかのC拡張を持つ パッケージよりも複雑です)。 " "そのため、これらのパッケージのビルドには [scikit-build](https://scikit-" -"build.readthedocs.io/en/latest/) や [meson-python](https://mesonbuild.com" -"/Python-module.html) といったツールが必要になります。 注:meson-pythonはPDMと一緒に使うことができます。" +"build.readthedocs.io/en/latest/) や [meson-" +"python](https://mesonbuild.com/Python-module.html) といったツールが必要になります。 注:meson-" +"pythonはPDMと一緒に使うことができます。" #: ../../package-structure-code/complex-python-package-builds.md:23 msgid "Mixing frontend and backend projects" @@ -853,8 +859,8 @@ msgid "" "default backend (`build`), and this choice is placed on the maintainer. " "Other backends (`hatch`) have a preferred backend (`hatchling`) but allow " "the maintainer to migrate to another, while some backends (`poetry`) only " -"work with a single backend (`poetry-core`). Refer to (#python-package-" -"build-tools) for more information about frontend and backend compatibility." +"work with a single backend (`poetry-core`). Refer to (#python-package-build-" +"tools) for more information about frontend and backend compatibility." msgstr "" "ビルドフロントエンドと別のビルドバックエンドを併用することが必要な場合や望ましい場合があります。これは、フロントエンドの中にはデフォルトのバックエンド(`build`)を持たないものがあり、この選択はメンテナに委ねられているからです。他のバックエンド" " (`hatch`) には推奨されるバックエンド (`hatchling`) " @@ -864,16 +870,16 @@ msgstr "" #: ../../package-structure-code/complex-python-package-builds.md:31 msgid "" -"In this packaging guide we recommend using `hatch` along with its preferred" -" backend `hatchling`. While this will be suitable for most packages, an " +"In this packaging guide we recommend using `hatch` along with its preferred " +"backend `hatchling`. While this will be suitable for most packages, an " "alternate backend may be used with Hatch if needed when creating an " "extension module. A Python extension module is one that is made up, either " -"in part or entirely, of compiled code. In this case the backend chosen " -"(such as `meson-python`) must know how to compile the extension language " -"and bind it to Python. `hatchling` does not know how to do this all on its " -"own and must either make use of " -"[plugins](https://hatch.pypa.io/1.9/plugins/about/) or be replaced by a " -"backend that is already capable of building extension modules." +"in part or entirely, of compiled code. In this case the backend chosen (such" +" as `meson-python`) must know how to compile the extension language and bind" +" it to Python. `hatchling` does not know how to do this all on its own and " +"must either make use of [plugins](https://hatch.pypa.io/1.9/plugins/about/) " +"or be replaced by a backend that is already capable of building extension " +"modules." msgstr "" "このパッケージングガイドでは、 `hatch` とそのバックエンドである `hatchling` " "の使用を推奨します。これはほとんどのパッケージに適していますが、拡張モジュールを作成する際に必要であれば、Hatchで別のバックエンドを使用することもできます。Pythonの拡張モジュールは、一部または全部がコンパイルされたコードで構成されています。この場合、(" @@ -893,9 +899,8 @@ msgstr "" "がある場合は、次のように変更する必要があるかもしれません。" #: ../../package-structure-code/declare-dependencies.md:6 -#, fuzzy msgid "Dependencies for your Python Package" -msgstr "Pythonパッケージのバージョンを管理するツール" +msgstr "Python パッケージの依存関係" #: ../../package-structure-code/declare-dependencies.md:8 msgid "" @@ -913,21 +918,20 @@ msgid "What is a package dependency?" msgstr "パッケージ依存性とは何か?" #: ../../package-structure-code/declare-dependencies.md:16 -#, fuzzy msgid "" -"A Python package dependency refers to an external package or A tool that is" -" needed when using or working on your Python project. Declare your " -"dependencies in your `pyproject.toml` file. This keeps all package metadata" -" in one place, making it simpler for users and contributors to understand " +"A Python package dependency refers to an external package or A tool that is " +"needed when using or working on your Python project. Declare your " +"dependencies in your `pyproject.toml` file. This keeps all package metadata " +"in one place, making it simpler for users and contributors to understand " "your package." msgstr "" -"依存関係は `pyproject.toml` ファイルを使って宣言することを推奨します。 " -"こうすることで、パッケージに関連するすべてのメタデータが一箇所で宣言され、ユーザや貢献者がパッケージのインフラストラクチャを理解するのがより簡単になります。" +"Python パッケージの依存関係とは、Python プロジェクトを使用する際や開発する際に必要となる外部パッケージやツールのことです。依存関係は " +"`pyproject.toml` " +"ファイルで宣言します。これにより、パッケージのメタデータがすべて一箇所にまとまり、ユーザーや貢献者がパッケージを理解しやすくなります。" #: ../../package-structure-code/declare-dependencies.md:19 -#, fuzzy msgid "Older ways to declare dependencies" -msgstr "依存関係はどのように宣言するのか?" +msgstr "依存関係を宣言する古い方法" #: ../../package-structure-code/declare-dependencies.md:22 msgid "" @@ -937,40 +941,36 @@ msgstr "現在では「pyproject.toml」が標準ですが、依存関係を「 #: ../../package-structure-code/declare-dependencies.md:24 msgid "" -"**requirements.txt**: Previously common for dependencies, still used by " -"some projects for local development" +"**requirements.txt**: Previously common for dependencies, still used by some" +" projects for local development" msgstr "**requirements.txt**: 以前は依存関係に一般的でしたが、現在でもローカル開発の一部のプロジェクトで使用されています" #: ../../package-structure-code/declare-dependencies.md:25 -#, fuzzy msgid "" "**setup.py or setup.cfg**: May be needed for packages with extensions in " "other languages" -msgstr "純粋なPythonパッケージと他言語の拡張機能付きパッケージの比較" +msgstr "**setup.py または setup.cfg**: 他の言語で書かれた拡張機能を持つパッケージでは必要になる場合があります" #: ../../package-structure-code/declare-dependencies.md:27 -#, fuzzy msgid "" "[Learn more in the setuptools " -"documentation](https://setuptools.pypa.io/en/latest/userguide/dependency_management.html" -"#declaring-required-dependency)" +"documentation](https://setuptools.pypa.io/en/latest/userguide/dependency_management.html#declaring-" +"required-dependency)" msgstr "" -"プロジェクトが他の言語で書かれた拡張機能を含んでいる場合、 `setup.py` ファイルが必要になるかもしれません。あるいは、依存関係の宣言に " -"`setup.cfg` を使っているパッケージに貢献することもできます。 [これについては setuptools " -"のドキュメントを参照してください](https://setuptools.pypa.io/en/latest/userguide/dependency_management.html" -"#declaring-required-dependency)" +"[詳しくは setuptools " +"のドキュメントを参照してください](https://setuptools.pypa.io/en/latest/userguide/dependency_management.html#declaring-" +"required-dependency)" #: ../../package-structure-code/declare-dependencies.md:30 -#, fuzzy msgid "Why specify dependencies" -msgstr "再帰的依存関係" +msgstr "なぜ依存関係を指定するのか" #: ../../package-structure-code/declare-dependencies.md:32 msgid "" "Specifying dependencies in the `project.dependencies` array of your " -"`pyproject.toml` file ensures that libraries needed to run your package are" -" correctly installed into a user's environment. For instance, if your " -"package requires Pandas to run properly, and you add Pandas to the " +"`pyproject.toml` file ensures that libraries needed to run your package are " +"correctly installed into a user's environment. For instance, if your package" +" requires Pandas to run properly, and you add Pandas to the " "`project.dependencies` array, Pandas will be installed into the users' " "environment when they install your package using uv, pip, or conda." msgstr "" @@ -982,29 +982,28 @@ msgstr "" #: ../../package-structure-code/declare-dependencies.md:45 msgid "" "Development dependencies make it easier for contributors to work on your " -"package. You can set up instructions for running specific workflows, such " -"as tests, linting, and even typing, that automatically install groups of " -"development dependencies. These dependencies can be stored in arrays (lists" -" of dependencies) within a `[dependency-groups]` table." +"package. You can set up instructions for running specific workflows, such as" +" tests, linting, and even typing, that automatically install groups of " +"development dependencies. These dependencies can be stored in arrays (lists " +"of dependencies) within a `[dependency-groups]` table." msgstr "" -"開発の依存関係により、コントリビューターがパッケージで作業しやすくなります。テスト、lint、さらには入力など、開発依存関係のグループを自動的にインストールする特定のワークフローを実行するための手順を設定できます。これらの依存関係は" -"、`[dependency-groups]` テーブル内の配列 (依存関係のリスト) に保存できます。" +"開発の依存関係により、コントリビューターがパッケージで作業しやすくなります。テスト、lint、さらには入力など、開発依存関係のグループを自動的にインストールする特定のワークフローを実行するための手順を設定できます。これらの依存関係は、`[dependency-" +"groups]` テーブル内の配列 (依存関係のリスト) に保存できます。" #: ../../package-structure-code/declare-dependencies.md:55 -#, fuzzy msgid "Types of dependencies" -msgstr "依存関係のセットを組み合わせる" +msgstr "依存関係の種類" #: ../../package-structure-code/declare-dependencies.md:57 msgid "" -"There are three different types of dependencies that you will learn about " -"on this page:" +"There are three different types of dependencies that you will learn about on" +" this page:" msgstr "このページでは、次の 3 つの異なるタイプの依存関係について説明します。" #: ../../package-structure-code/declare-dependencies.md:59 msgid "" -"**Required dependencies:** These are dependencies that need to be installed" -" for your package to work correctly in a user's environment. You add these " +"**Required dependencies:** These are dependencies that need to be installed " +"for your package to work correctly in a user's environment. You add these " "dependencies to the `project.dependencies` table in your pyproject.toml " "file." msgstr "" @@ -1013,10 +1012,10 @@ msgstr "" #: ../../package-structure-code/declare-dependencies.md:60 msgid "" -"**Feature Dependencies:** These are dependencies that are required if a " -"user wants to access additional functionality (that is not core) to your " -"package. Store these in the `[project.optional-dependencies]` table or your" -" pyproject.toml file." +"**Feature Dependencies:** These are dependencies that are required if a user" +" wants to access additional functionality (that is not core) to your " +"package. Store these in the `[project.optional-dependencies]` table or your " +"pyproject.toml file." msgstr "" "**機能の依存関係:** これらは、ユーザーがパッケージの追加機能 (コアではない) にアクセスしたい場合に必要な依存関係です。これらを " "`[project.optional-dependency]` テーブルまたは pyproject.toml ファイルに保存します。" @@ -1025,31 +1024,29 @@ msgstr "" msgid "" "**Development Dependencies:** These dependencies are required if someone " "wants to develop or work on your package. These include instance linters, " -"testing tools like pytest and mypy are examples of development " -"dependencies. Store these in the `[dependency-groups]` table of your " -"pyproject.toml file." +"testing tools like pytest and mypy are examples of development dependencies." +" Store these in the `[dependency-groups]` table of your pyproject.toml file." msgstr "" -"**開発の依存関係:** これらの依存関係は、誰かがパッケージを開発または作業したい場合に必要です。これらには、インスタンス リンター、pytest " -"や mypy などのテスト ツールが開発依存関係の例として含まれます。これらを pyproject.toml ファイルの `[dependency-" +"**開発の依存関係:** これらの依存関係は、誰かがパッケージを開発または作業したい場合に必要です。これらには、インスタンス リンター、pytest や" +" mypy などのテスト ツールが開発依存関係の例として含まれます。これらを pyproject.toml ファイルの `[dependency-" "groups]` テーブルに保存します。" #: ../../package-structure-code/declare-dependencies.md:64 -#, fuzzy msgid "" "A dependency is not part of your project's codebase. It is a package or " "software called within the code of your project or used during the " "development of your package." -msgstr "依存関係は、プロジェクトのコードベースの一部ではありません。 プロジェクトのコード内やパッケージの開発中に呼び出されるパッケージやソフトウェアです。" +msgstr "" +"依存関係は、プロジェクトのコードベースの一部ではありません。プロジェクトのコード内で呼び出されたり、パッケージの開発中に使用されたりするパッケージやソフトウェアです。" #: ../../package-structure-code/declare-dependencies.md:69 -#, fuzzy msgid "1. Required dependencies" -msgstr "再帰的依存関係" +msgstr "1. 必須の依存関係" #: ../../package-structure-code/declare-dependencies.md:71 msgid "" -"Required dependencies are imported and called directly within your " -"package's code. They are needed for your package to run." +"Required dependencies are imported and called directly within your package's" +" code. They are needed for your package to run." msgstr "必要な依存関係はインポートされ、パッケージのコード内で直接呼び出されます。これらはパッケージを実行するために必要です。" #: ../../package-structure-code/declare-dependencies.md:74 @@ -1064,24 +1061,22 @@ msgstr "" "を使用してパッケージをインストールすると、これらの依存関係は、パッケージと一緒に環境に自動的にインストールされます。" #: ../../package-structure-code/declare-dependencies.md:92 -#, fuzzy msgid "" "Try your best to minimize dependencies whenever possible. Remember that " "fewer dependencies reduce the possibility of version conflicts in user " "environments." -msgstr "インストールする依存関係を少なくすることで、ユーザー環境でのバージョン不一致の可能性が低くなることを覚えておいてください。" +msgstr "" +"可能な限り依存関係を最小限に抑えるよう努めてください。依存関係が少ないほど、ユーザー環境でバージョンの衝突が発生する可能性が低くなることを覚えておいてください。" #: ../../package-structure-code/declare-dependencies.md -#, fuzzy msgid "How to Add Required Dependencies with UV" -msgstr "必要な依存関係をpyproject.tomlファイルに追加" +msgstr "UV で必須の依存関係を追加する方法" #: ../../package-structure-code/declare-dependencies.md:102 #: ../../package-structure-code/declare-dependencies.md:162 #: ../../package-structure-code/declare-dependencies.md:222 -#, fuzzy msgid "You can use uv to add dependencies to your pyproject.toml file:" -msgstr "pyproject.tomlファイルに依存関係を追加" +msgstr "uv を使って pyproject.toml ファイルに依存関係を追加できます:" #: ../../package-structure-code/declare-dependencies.md:104 msgid "**Add a required dependency:**" @@ -1092,42 +1087,37 @@ msgid "Will add numpy as a dependency to your `project.dependencies` array:" msgstr "numpy を依存関係として `project.dependency` 配列に追加します。" #: ../../package-structure-code/declare-dependencies.md:121 -#, fuzzy msgid "Requiring packages from GitHub / Gitlab" -msgstr "GitHub / Gitlab からパッケージをインストールする" +msgstr "GitHub / GitLab からパッケージを要求する" #: ../../package-structure-code/declare-dependencies.md:124 -#, fuzzy msgid "" -"If you have dependencies that need to be installed directly from GitHub, " -"you can specify them in your pyproject.toml file like this:" -msgstr "" -"GitHubから直接インストールする必要がある依存関係がある場合は、`git+https`というインストール方法を使います、以下のように " -"`pyproject.toml` ファイルを使用します:" +"If you have dependencies that need to be installed directly from GitHub, you" +" can specify them in your pyproject.toml file like this:" +msgstr "GitHub から直接インストールする必要がある依存関係がある場合は、次のように pyproject.toml ファイルに指定できます:" #: ../../package-structure-code/declare-dependencies.md:133 -#, fuzzy msgid "" "IMPORTANT: If your library depends on a GitHub-hosted project, you should " "point to a specific commit/tag/hash of that repository before you upload " -"your project to PyPI. You never know how the project might change over " -"time. Commit hashes are more reliable as they can't be changed" -msgstr "重要:セキュリティ上の理由から、あなたのライブラリがGitHubでホストされているプロジェクトに依存している場合、あなたのプロジェクトをPyPIにアップロードするには、そのリポジトリの特定のコミット/タグ/ハッシュを指す必要があります。" +"your project to PyPI. You never know how the project might change over time." +" Commit hashes are more reliable as they can't be changed" +msgstr "" +"重要:ライブラリが GitHub でホストされているプロジェクトに依存している場合は、プロジェクトを PyPI " +"にアップロードする前に、そのリポジトリの特定のコミット/タグ/ハッシュを指定する必要があります。プロジェクトが時間とともにどう変わるかは分からないためです。コミットハッシュは変更できないため、より信頼性が高くなります" #: ../../package-structure-code/declare-dependencies.md:140 -#, fuzzy msgid "2. Optional dependencies" -msgstr "オプションの依存関係" +msgstr "2. オプションの依存関係" #: ../../package-structure-code/declare-dependencies.md:142 msgid "" "Optional (also referred to as feature) dependencies can be installed by " -"users as needed. Optional dependencies add specific features to your " -"package that not all users need. For example, if your package has an " -"optional interactive plotting feature that uses Bokeh, you would list Bokeh" -" under `[project.optional-dependencies]`. Users who want interactive " -"plotting will install it. Users who don't need plotting don't have to " -"install it." +"users as needed. Optional dependencies add specific features to your package" +" that not all users need. For example, if your package has an optional " +"interactive plotting feature that uses Bokeh, you would list Bokeh under " +"`[project.optional-dependencies]`. Users who want interactive plotting will " +"install it. Users who don't need plotting don't have to install it." msgstr "" "オプションの (機能とも呼ばれる) " "依存関係は、必要に応じてユーザーがインストールできます。オプションの依存関係により、すべてのユーザーが必要とするわけではない特定の機能がパッケージに追加されます。たとえば、パッケージに" @@ -1135,54 +1125,49 @@ msgstr "" "をリストします。インタラクティブなプロットを必要とするユーザーは、それをインストールします。プロットが必要ないユーザーはインストールする必要はありません。" #: ../../package-structure-code/declare-dependencies.md:144 -#, fuzzy -msgid "Place these dependencies in the `[project.optional-dependencies]` table." -msgstr "`[project.optional-dependencies]` テーブルに複数の依存グループをインストールすることができます:" +msgid "" +"Place these dependencies in the `[project.optional-dependencies]` table." +msgstr "これらの依存関係は `[project.optional-dependencies]` テーブルに配置します。" #: ../../package-structure-code/declare-dependencies.md:155 msgid "" -"When a user installs your package, uv, pip, or conda automatically installs" -" all required dependencies. Optional dependencies are only installed if the" -" user explicitly requests them." +"When a user installs your package, uv, pip, or conda automatically installs " +"all required dependencies. Optional dependencies are only installed if the " +"user explicitly requests them." msgstr "" "ユーザーがパッケージをインストールすると、uv、pip、または conda " "によって必要な依存関係がすべて自動的にインストールされます。オプションの依存関係は、ユーザーが明示的に要求した場合にのみインストールされます。" #: ../../package-structure-code/declare-dependencies.md -#, fuzzy msgid "How to Add optional dependencies using UV" -msgstr "オプションの依存関係" +msgstr "UV でオプションの依存関係を追加する方法" #: ../../package-structure-code/declare-dependencies.md:164 -#, fuzzy msgid "**Add an optional dependency:**" -msgstr "オプションの依存関係" +msgstr "**オプションの依存関係を追加する:**" #: ../../package-structure-code/declare-dependencies.md:170 -#, fuzzy msgid "Will add this to your pyproject.toml file:" -msgstr "pyproject.tomlファイルに依存関係を追加" +msgstr "次の内容が pyproject.toml ファイルに追加されます:" #: ../../package-structure-code/declare-dependencies.md:181 -#, fuzzy msgid "3. Dependency groups" -msgstr "依存グループをインストールする" +msgstr "3. 依存グループ" #: ../../package-structure-code/declare-dependencies.md:183 msgid "" "Development dependencies include packages needed to work on your package " "locally. They are used to perform tasks such as:" -msgstr "開発の依存関係には、パッケージをローカルで操作するために必要なパッケージが含まれます。これらは次のようなタスクを実行するために使用されます。" +msgstr "" +"開発の依存関係には、パッケージをローカルで操作するために必要なパッケージが含まれます。これらは次のようなタスクを実行するために使用されます。" #: ../../package-structure-code/declare-dependencies.md:186 -#, fuzzy msgid "running your test suite (pytest, pytest-cov)" -msgstr "テストスイートの実行" +msgstr "テストスイートの実行 (pytest、pytest-cov)" #: ../../package-structure-code/declare-dependencies.md:187 -#, fuzzy msgid "building your documentation (sphinx, sphinx-theme packages)" -msgstr "ドキュメントの作成" +msgstr "ドキュメントのビルド (sphinx、sphinx-theme パッケージ)" #: ../../package-structure-code/declare-dependencies.md:188 msgid "linting and formatting code (ruff, black)" @@ -1197,12 +1182,12 @@ msgid "" "Dependency groups are optional because they are not required for users to " "install and use your package. However, they will make it easier for " "contributors to your project to setup development environments locally." -msgstr "依存関係グループは、ユーザーがパッケージをインストールして使用するために必須ではないため、オプションです。ただし、プロジェクトの貢献者がローカルで開発環境をセットアップすることが容易になります。" +msgstr "" +"依存関係グループは、ユーザーがパッケージをインストールして使用するために必須ではないため、オプションです。ただし、プロジェクトの貢献者がローカルで開発環境をセットアップすることが容易になります。" #: ../../package-structure-code/declare-dependencies.md:196 -#, fuzzy msgid "New: PEP 735 dependency groups" -msgstr "オプションの依存グループを作成する" +msgstr "新機能: PEP 735 依存グループ" #: ../../package-structure-code/declare-dependencies.md:199 msgid "" @@ -1212,20 +1197,18 @@ msgid "" "into a user's environment." msgstr "" "`[dependency-groups]` は、PEP 735 " -"によって導入された新しい仕様です。これらは、開発の依存関係を整理することを目的としており、ユーザーの環境にインストールできる `[project" -".optional-dependency]` とは意図的に分離されています。" +"によって導入された新しい仕様です。これらは、開発の依存関係を整理することを目的としており、ユーザーの環境にインストールできる " +"`[project.optional-dependency]` とは意図的に分離されています。" #: ../../package-structure-code/declare-dependencies.md:203 -#, fuzzy msgid "How to declare dependency groups" -msgstr "依存関係はどのように宣言するのか?" +msgstr "依存グループを宣言する方法" #: ../../package-structure-code/declare-dependencies.md:205 -#, fuzzy msgid "" -"You declare development dependencies in your **pyproject.toml** file within" -" a `[dependency-groups]` table." -msgstr "**pyproject.toml** ファイルでオプションの依存関係を宣言します:" +"You declare development dependencies in your **pyproject.toml** file within " +"a `[dependency-groups]` table." +msgstr "開発用の依存関係は、**pyproject.toml** ファイル内の `[dependency-groups]` テーブルで宣言します。" #: ../../package-structure-code/declare-dependencies.md:208 msgid "" @@ -1244,9 +1227,8 @@ msgid "**Add a development dependency group:**" msgstr "**開発依存関係グループを追加します:**" #: ../../package-structure-code/declare-dependencies.md:231 -#, fuzzy msgid "Will add the following to your pyproject.toml file:" -msgstr "pyproject.tomlファイルに依存関係を追加" +msgstr "次の内容が pyproject.toml ファイルに追加されます:" #: ../../package-structure-code/declare-dependencies.md:244 #: ../../package-structure-code/declare-dependencies.md:250 @@ -1260,50 +1242,49 @@ msgstr "Todo" #: ../../package-structure-code/declare-dependencies.md:245 msgid "" "i'll pick back up here tomorrow - this section is all about how things " -"install and what \"ships\" with your package vs what just gets installed " -"via commands (ie development)" +"install and what \"ships\" with your package vs what just gets installed via" +" commands (ie development)" msgstr "" "明日またここに戻ってきます - このセクションでは、インストール方法と、パッケージに「同梱」されるものと、コマンドによってインストールされるもの " "(つまり開発) について説明します。" #: ../../package-structure-code/declare-dependencies.md:248 -#, fuzzy msgid "Understanding required vs. optional dependencies" -msgstr "オプションと必須の依存関係を理解する" +msgstr "必須の依存関係とオプションの依存関係を理解する" #: ../../package-structure-code/declare-dependencies.md:251 msgid "" "The purpose of this section is to help users understand how dependencies " "relate to what is installed in their environment. We have two graphics on " "this page - one that breaks out the two buckets of tools (required and " -"optional) that both get installed into a user's envt vs development groups," -" which are contributor/ development facing, not user-facing. When we " -"originally wrote this section, development groups didn't exist, and we were" -" using optional dependencies for dev groups." +"optional) that both get installed into a user's envt vs development groups, " +"which are contributor/ development facing, not user-facing. When we " +"originally wrote this section, development groups didn't exist, and we were " +"using optional dependencies for dev groups." msgstr "" -"このセクションの目的は、環境にインストールされているものと依存関係がどのように関係しているかをユーザーが理解できるようにすることです。このページには " -"2 つのグラフィックがあります。1 つは、ユーザーの環境にインストールされる 2 つのツール (必須およびオプション) " +"このセクションの目的は、環境にインストールされているものと依存関係がどのように関係しているかをユーザーが理解できるようにすることです。このページには 2" +" つのグラフィックがあります。1 つは、ユーザーの環境にインストールされる 2 つのツール (必須およびオプション) " "と、ユーザー側ではなく貢献者/開発側である開発グループにインストールされるツールを分けたものです。最初にこのセクションを書いたとき、開発グループは存在せず、開発グループのオプションの依存関係を使用していました。" #: ../../package-structure-code/declare-dependencies.md:253 msgid "" -"The graphic below is two circles representing optional vs regular / " -"required deps - created before development groups existed... there is " -"another graphi that shows what gets installed into a uses envt." +"The graphic below is two circles representing optional vs regular / required" +" deps - created before development groups existed... there is another graphi" +" that shows what gets installed into a uses envt." msgstr "" -"以下のグラフィックは、オプションの DEPS と通常 / 必須の DEPS を表す 2 つの円です。開発グループが存在する前に作成されました。uses" -" 環境に何がインストールされるかを示す別のグラフィックがあります。" +"以下のグラフィックは、オプションの DEPS と通常 / 必須の DEPS を表す 2 つの円です。開発グループが存在する前に作成されました。uses " +"環境に何がインストールされるかを示す別のグラフィックがあります。" #: ../../package-structure-code/declare-dependencies.md:257 msgid "" -"Diagram showing two main groups of Python package dependencies: required " -"and optional. Required dependencies include core packages needed to use " -"your package. Optional dependencies include development dependencies for " -"working on the package locally and feature dependencies for additional " +"Diagram showing two main groups of Python package dependencies: required and" +" optional. Required dependencies include core packages needed to use your " +"package. Optional dependencies include development dependencies for working " +"on the package locally and feature dependencies for additional " "functionality." msgstr "" -"Python パッケージの依存関係の 2 つの主要なグループ (必須とオプション) を示す図。必要な依存関係には、パッケージを使用するために必要なコア" -" パッケージが含まれます。オプションの依存関係には、パッケージをローカルで操作するための開発依存関係と、追加機能のための機能依存関係が含まれます。" +"Python パッケージの依存関係の 2 つの主要なグループ (必須とオプション) を示す図。必要な依存関係には、パッケージを使用するために必要なコア " +"パッケージが含まれます。オプションの依存関係には、パッケージをローカルで操作するための開発依存関係と、追加機能のための機能依存関係が含まれます。" #: ../../package-structure-code/declare-dependencies.md:259 msgid "" @@ -1321,22 +1302,22 @@ msgstr "その他の依存リソース" #: ../../package-structure-code/declare-dependencies.md:266 msgid "" "[Learn more: View PyPA's overview of declaring optional " -"dependencies](https://packaging.python.org/en/latest/specifications" -"/declaring-project-metadata/#dependencies-optional-dependencies)" +"dependencies](https://packaging.python.org/en/latest/specifications/declaring-" +"project-metadata/#dependencies-optional-dependencies)" msgstr "" "[詳細はこちら: " -"PyPAのオプション依存関係の宣言の概要を見る](https://packaging.python.org/en/latest/specifications" -"/declaring-project-metadata/#dependencies-optional-dependencies)" +"PyPAのオプション依存関係の宣言の概要を見る](https://packaging.python.org/en/latest/specifications/declaring-" +"project-metadata/#dependencies-optional-dependencies)" #: ../../package-structure-code/declare-dependencies.md:267 msgid "" "[Dependency " -"specifiers](https://packaging.python.org/en/latest/specifications" -"/dependency-specifiers/)" +"specifiers](https://packaging.python.org/en/latest/specifications/dependency-" +"specifiers/)" msgstr "" "[Dependency " -"specifiers](https://packaging.python.org/en/latest/specifications" -"/dependency-specifiers/)" +"specifiers](https://packaging.python.org/en/latest/specifications/dependency-" +"specifiers/)" #: ../../package-structure-code/declare-dependencies.md:271 msgid "Install dependency groups" @@ -1344,43 +1325,40 @@ msgstr "依存グループをインストールする" #: ../../package-structure-code/declare-dependencies.md:273 msgid "" -"When someone installs your package, only core dependencies are installed by" -" default. To install optional dependencies, you need to specify which " -"groups to include when installing the package." -msgstr "誰かがパッケージをインストールすると、デフォルトではコアの依存関係のみがインストールされます。オプションの依存関係をインストールするには、パッケージのインストール時に含めるグループを指定する必要があります。" +"When someone installs your package, only core dependencies are installed by " +"default. To install optional dependencies, you need to specify which groups " +"to include when installing the package." +msgstr "" +"誰かがパッケージをインストールすると、デフォルトではコアの依存関係のみがインストールされます。オプションの依存関係をインストールするには、パッケージのインストール時に含めるグループを指定する必要があります。" #: ../../package-structure-code/declare-dependencies.md:279 -#, fuzzy msgid "" "Diagram showing a Venn diagram with three sections representing dependency " -"groups - docs, feature, and tests. In the center it shows your-package with" -" core dependencies seaborn and numpy. Two arrows on the right demonstrate: " -"first, python -m pip install your-package installs only the package and " -"core dependencies. Second, python -m pip install your-package[tests] " -"installs the package, core dependencies, and test dependencies including " -"pytest and pytest-cov." -msgstr "" -"上記の依存グループを表す3つのセクションを持つven図を示す図 - ドキュメント機能とテスト。中央には your-package " -"と表示され、そのパッケージの主要な依存関係であるseabornとnumpyがリストされています。 右側に2つの矢印があります。最初のものは、コマンド " -"python - m pip install your-package " -"を示しています。それらをインストールすると、パッケージと2つのコア依存関係のみがユーザー環境にインストールされることを示しています。以下は、2つ目の矢印で、" -" python -m pip install youPackage[tests] とあります。これにより、パッケージ依存関係 - your-" -"package、seaborn、numpy とテスト依存関係 pytest、pytest-cov の両方を含む環境が構築されます。" +"groups - docs, feature, and tests. In the center it shows your-package with " +"core dependencies seaborn and numpy. Two arrows on the right demonstrate: " +"first, python -m pip install your-package installs only the package and core" +" dependencies. Second, python -m pip install your-package[tests] installs " +"the package, core dependencies, and test dependencies including pytest and " +"pytest-cov." +msgstr "" +"docs、feature、tests の3つの依存グループを表すセクションを持つベン図を示す図。中央には your-package " +"が表示され、コアの依存関係である seaborn と numpy がリストされています。右側の2つの矢印は次を示しています:1つ目は python -m" +" pip install your-package がパッケージとコアの依存関係のみをインストールすること。2つ目は python -m pip " +"install your-package[tests] がパッケージ、コアの依存関係、pytest や pytest-cov " +"を含むテスト依存関係をインストールすること。" #: ../../package-structure-code/declare-dependencies.md:281 -#, fuzzy msgid "" "When a user installs your package using `pip install your-package`, only " -"your package and its core dependencies get installed. When they install " -"with `pip install your-package[tests]`, pip will install your package, core" -" dependencies, and the test dependencies from the `[project.optional-" +"your package and its core dependencies get installed. When they install with" +" `pip install your-package[tests]`, pip will install your package, core " +"dependencies, and the test dependencies from the `[project.optional-" "dependencies]` table." msgstr "" -"ユーザがローカルで `python -m pip install your-package` " -"を使ってあなたのパッケージをインストールすると、あなたのパッケージとそのコア依存関係のみがインストールされます。ユーザがあなたのパッケージ " -"`python -m pip install your-package[tests]` をインストールすると、pip " -"はあなたのパッケージとそのコア依存パッケージの両方をインストールし、さらに `[project.optional-dependencies]` " -"テーブルの tests 配列にリストされている依存パッケージをインストールします。" +"ユーザーが `pip install your-package` " +"でパッケージをインストールすると、パッケージとそのコアの依存関係だけがインストールされます。`pip install your-" +"package[tests]` でインストールすると、pip はパッケージ、コアの依存関係、そして `[project.optional-" +"dependencies]` テーブルのテスト依存関係をインストールします。" #: ../../package-structure-code/declare-dependencies.md:288 msgid "Using uv or pip for installation" @@ -1389,9 +1367,9 @@ msgstr "インストールに uv または pip を使用する" #: ../../package-structure-code/declare-dependencies.md:290 msgid "" "UV streamlines this process, allowing you to sync a venv in your project " -"directory with both an editable install of your package and its " -"dependencies automatically. You can also use pip and install dependencies " -"into the environment of your choice." +"directory with both an editable install of your package and its dependencies" +" automatically. You can also use pip and install dependencies into the " +"environment of your choice." msgstr "" "UV はこのプロセスを合理化し、プロジェクト ディレクトリ内の venv " "を、パッケージの編集可能なインストールとその依存関係の両方と自動的に同期できるようにします。 pip " @@ -1405,9 +1383,8 @@ msgstr "UV pip install を表示すべきではないのですが、UV でオプ #: ../../package-structure-code/declare-dependencies.md:298 #: ../../package-structure-code/declare-dependencies.md:361 -#, fuzzy msgid "**Install dependency groups:**" -msgstr "依存グループをインストールする" +msgstr "**依存グループをインストールする:**" #: ../../package-structure-code/declare-dependencies.md msgid "Use UV" @@ -1421,31 +1398,31 @@ msgstr "UV 同期を使用して、UV 管理の venv 内の依存関係グルー msgid "" "use ``--active`` with ``uv sync`` to prefer the currently active virtual " "environment over the project's own managed environment:" -msgstr "プロジェクト独自の管理環境よりも現在アクティブな仮想環境を優先するには、 `--active` を `uv sync` とともに使用します。" +msgstr "" +"プロジェクト独自の管理環境よりも現在アクティブな仮想環境を優先するには、 `--active` を `uv sync` とともに使用します。" #: ../../package-structure-code/declare-dependencies.md:319 #: ../../package-structure-code/declare-dependencies.md:354 -#, fuzzy msgid "**Install optional dependencies:**" -msgstr "オプションの依存関係" +msgstr "**オプションの依存関係をインストールする:**" #: ../../package-structure-code/declare-dependencies.md:328 msgid "" -"Use the `--active` flag with `uv run` to prefer the currently active " -"virtual environment over the project's own managed environment:" +"Use the `--active` flag with `uv run` to prefer the currently active virtual" +" environment over the project's own managed environment:" msgstr "プロジェクト独自の管理環境よりも現在アクティブな仮想環境を優先するには、「uv run」で「--active」フラグを使用します。" #: ../../package-structure-code/declare-dependencies.md:336 msgid "" "This is useful when you have activated a virtual environment and want `uv " -"run` to use it instead of automatically creating or selecting the project's" -" environment." -msgstr "これは、仮想環境をアクティブ化しており、プロジェクトの環境を自動的に作成または選択する代わりに、「uv run」でそれを使用したい場合に便利です。" +"run` to use it instead of automatically creating or selecting the project's " +"environment." +msgstr "" +"これは、仮想環境をアクティブ化しており、プロジェクトの環境を自動的に作成または選択する代わりに、「uv run」でそれを使用したい場合に便利です。" #: ../../package-structure-code/declare-dependencies.md:341 -#, fuzzy msgid "**Install everything (package + all dependencies):**" -msgstr "Pythonパッケージの依存関係" +msgstr "**すべてをインストールする(パッケージ+すべての依存関係):**" #: ../../package-structure-code/declare-dependencies.md:347 msgid "" @@ -1461,14 +1438,13 @@ msgid "Use pip (version >=25.1)" msgstr "pip を使用します (バージョン >=25.1)" #: ../../package-structure-code/declare-dependencies.md:368 -#, fuzzy msgid "" "Always call pip using `python -m pip` to ensure you're using the pip from " "your current active Python environment. This helps avoid installation " "conflicts." msgstr "" -"`python -m` を使用して pip を呼び出すと、パッケージをインストールするために使用する `pip` が、現在アクティブな Python " -"環境のものであることが保証されます。インストールの衝突を避けるために、 `pip` を呼び出すときは常にこの方法を使うことを強く推奨します。" +"現在アクティブな Python 環境の pip を使っていることを保証するために、必ず `python -m pip` で pip " +"を呼び出してください。これによりインストールの衝突を避けられます。" #: ../../package-structure-code/declare-dependencies.md:372 msgid "" @@ -1481,9 +1457,8 @@ msgid "`python -m pip install \".[tests]\"`" msgstr "`python -m pip install \".[tests]\"`" #: ../../package-structure-code/declare-dependencies.md:380 -#, fuzzy msgid "Combining dependency groups" -msgstr "依存グループをインストールする" +msgstr "依存グループの組み合わせ" #: ../../package-structure-code/declare-dependencies.md:382 msgid "You can also create combined groups that reference other groups:" @@ -1494,23 +1469,22 @@ msgid "Then install everything with pip install or uv sync as needed:" msgstr "次に、必要に応じて pip install または uv sync を使用してすべてをインストールします。" #: ../../package-structure-code/declare-dependencies.md:400 -#, fuzzy msgid "" -"When you install optional dependencies, pip and uv install your package " -"and its core dependencies automatically." -msgstr "`pip` はあなたのパッケージとそのコアの依存関係もインストールします。" +"When you install optional dependencies, pip and uv install your package and" +" its core dependencies automatically." +msgstr "オプションの依存関係をインストールすると、pip と uv はパッケージとそのコアの依存関係を自動的にインストールします。" #: ../../package-structure-code/declare-dependencies.md:404 -#, fuzzy msgid "Version specifiers for dependencies" -msgstr "依存関係のセットを組み合わせる" +msgstr "依存関係のバージョン指定子" #: ../../package-structure-code/declare-dependencies.md:406 msgid "" "Version specifiers control which versions of a dependency work with your " "package. Use them to specify minimum versions, exclude buggy releases, or " "set version ranges." -msgstr "バージョン指定子は、パッケージで動作する依存関係のバージョンを制御します。これらを使用して、最小バージョンを指定したり、バグのあるリリースを除外したり、バージョン範囲を設定したりできます。" +msgstr "" +"バージョン指定子は、パッケージで動作する依存関係のバージョンを制御します。これらを使用して、最小バージョンを指定したり、バグのあるリリースを除外したり、バージョン範囲を設定したりできます。" #: ../../package-structure-code/declare-dependencies.md:410 msgid "Common operators" @@ -1524,8 +1498,8 @@ msgstr "**`>=`** 最小バージョンセット: `numpy>=1.20` (これが最も #: ../../package-structure-code/declare-dependencies.md:413 msgid "" -"**`==`** Exact version: `requests==2.28.0` (Avoid pinning dependencies like" -" this unless necessary)" +"**`==`** Exact version: `requests==2.28.0` (Avoid pinning dependencies like " +"this unless necessary)" msgstr "**`==`** 正確なバージョン: `requests==2.28.0` (必要な場合を除き、このような依存関係の固定は避けてください)" #: ../../package-structure-code/declare-dependencies.md:414 @@ -1540,17 +1514,18 @@ msgstr "**`<` または `>`** - 上限/下限: `pandas>=1.0,<3.0`" #: ../../package-structure-code/declare-dependencies.md:416 msgid "" -"**`!=`** Exclude version: `scipy>=1.7,!=1.8.0` (Rare but allows you to skip" -" a buggy release version)" -msgstr "**`!=`** バージョンを除外します: `scipy>=1.7,!=1.8.0` (まれですが、バグのあるリリース バージョンをスキップできます)" +"**`!=`** Exclude version: `scipy>=1.7,!=1.8.0` (Rare but allows you to skip " +"a buggy release version)" +msgstr "" +"**`!=`** バージョンを除外します: `scipy>=1.7,!=1.8.0` (まれですが、バグのあるリリース バージョンをスキップできます)" #: ../../package-structure-code/declare-dependencies.md:419 msgid "" -"**Best practice:** Use `>=` to specify your minimum tested version and " -"avoid upper bounds unless you know at what version that dependency is no " -"longer compatible. UV will do this by default when it adds a dependency to " -"your pyproject.toml file. This keeps your package flexible and reduces " -"dependency conflicts." +"**Best practice:** Use `>=` to specify your minimum tested version and avoid" +" upper bounds unless you know at what version that dependency is no longer " +"compatible. UV will do this by default when it adds a dependency to your " +"pyproject.toml file. This keeps your package flexible and reduces dependency" +" conflicts." msgstr "" "**ベスト プラクティス:** `>=` " "を使用してテスト済みの最小バージョンを指定し、依存関係に互換性がなくなったバージョンがわからない限り、上限を避けます。 UV " @@ -1562,20 +1537,19 @@ msgid "Using conda and Pixi" msgstr "conda と Pixi の使用" #: ../../package-structure-code/declare-dependencies.md:439 -#, fuzzy msgid "" "The `pyproject.toml` file works great for pure-Python packages. However, " "some packages (particularly in the scientific Python ecosystem) require " -"dependencies written in other languages like C or Fortran. Conda was " -"created to support the distribution of tools with non-Python dependencies." +"dependencies written in other languages like C or Fortran. Conda was created" +" to support the distribution of tools with non-Python dependencies." msgstr "" -"いくつかのパッケージ、特に科学的なPythonエコシステムでは、Pythonで書かれていない依存関係を必要とします。 " -"Condaは、PythonとPython以外の言語の両方で書かれたコードを持つツールの配布をサポートするために作られました。" +"`pyproject.toml` ファイルは純粋な Python パッケージには最適です。しかし、一部のパッケージ(特に科学 Python " +"エコシステムのもの)は、C や Fortran など他の言語で書かれた依存関係を必要とします。Conda は Python " +"以外の依存関係を持つツールの配布をサポートするために作られました。" #: ../../package-structure-code/declare-dependencies.md:444 -#, fuzzy msgid "**For conda users:**" -msgstr "condaユーザーへのメモ" +msgstr "**conda ユーザー向け:**" #: ../../package-structure-code/declare-dependencies.md:446 msgid "" @@ -1592,18 +1566,18 @@ msgstr "**conda パッケージに重点を置いたワークフローについ #: ../../package-structure-code/declare-dependencies.md:452 msgid "" -"[Pixi](https://pixi.sh) is a modern package manager built on top of both " -"the conda and Python package ecosystems. Pixi is able to treat conda and " -"Python package requirements with parity when resolving environments, but " -"uses a \"conda-first\" approach of using already resolved conda packages if" -" possible when resolving Python dependencies. Pixi [can also use " +"[Pixi](https://pixi.sh) is a modern package manager built on top of both the" +" conda and Python package ecosystems. Pixi is able to treat conda and Python" +" package requirements with parity when resolving environments, but uses a " +"\"conda-first\" approach of using already resolved conda packages if " +"possible when resolving Python dependencies. Pixi [can also use " "`pyproject.toml` for " "configuration](https://pixi.sh/latest/python/pyproject_toml/). If your " -"project relies heavily on conda packages, Pixi offers a streamlined " -"workflow with faster dependency resolution and automatic lock file support " -"for full environment reproducibility. If you already have an existing conda" -" environment definition file, like an `environment.yml`, you can [import " -"the environment](https://pixi.sh/latest/tutorials/import/) into a new Pixi " +"project relies heavily on conda packages, Pixi offers a streamlined workflow" +" with faster dependency resolution and automatic lock file support for full " +"environment reproducibility. If you already have an existing conda " +"environment definition file, like an `environment.yml`, you can [import the " +"environment](https://pixi.sh/latest/tutorials/import/) into a new Pixi " "workspace with" msgstr "" "[Pixi](https://pixi.sh) は、conda パッケージ エコシステムと Python パッケージ " @@ -1622,38 +1596,36 @@ msgstr "condaユーザーへのメモ" #: ../../package-structure-code/declare-dependencies.md:473 msgid "" -"If you use a conda environment for development and install your package " -"with `python -m pip install -e .` dependencies will be installed from PyPI," -" potentially overwriting conda packages that had already been installed. " -"This can cause conflicts, especially for packages with system dependencies." +"If you use a conda environment for development and install your package with" +" `python -m pip install -e .` dependencies will be installed from PyPI, " +"potentially overwriting conda packages that had already been installed. This" +" can cause conflicts, especially for packages with system dependencies." msgstr "" "開発に conda 環境を使用し、「python -m pip install -e」でパッケージをインストールする場合、依存関係は PyPI " "からインストールされ、すでにインストールされている conda " "パッケージが上書きされる可能性があります。これにより、特にシステム依存関係のあるパッケージの場合、競合が発生する可能性があります。" #: ../../package-structure-code/declare-dependencies.md:478 -#, fuzzy msgid "To avoid this, install your package without dependencies:" -msgstr "`pip` はあなたのパッケージとそのコアの依存関係もインストールします。" +msgstr "これを避けるには、依存関係なしでパッケージをインストールします:" #: ../../package-structure-code/declare-dependencies.md:484 -#, fuzzy msgid "Then install dependencies through your conda `environment.yml` file." -msgstr "pyproject.tomlファイルに依存関係を追加" +msgstr "その後、conda の `environment.yml` ファイルを通じて依存関係をインストールします。" #: ../../package-structure-code/declare-dependencies.md:487 msgid "Dependencies in Read the Docs" msgstr "Read the Docs の依存関係" #: ../../package-structure-code/declare-dependencies.md:489 -#, fuzzy msgid "" "Once you've specified dependencies in your `pyproject.toml`, you can use " "them in other workflows like building documentation on Read the Docs." -msgstr "プロジェクトで依存関係を指定できたので、Read the Docsへのパブリッシュなど、他のワークフローをサポートするためにそれらを使用できます。" +msgstr "" +"`pyproject.toml` で依存関係を指定すると、Read the Docs " +"でのドキュメントビルドのような他のワークフローでもそれらを使用できます。" #: ../../package-structure-code/declare-dependencies.md:492 -#, fuzzy msgid "" "[Read the Docs](https://readthedocs.org) is a documentation platform that " "automatically builds and publishes your documentation. To install your " @@ -1661,68 +1633,61 @@ msgid "" "**readthedocs.yaml** file." msgstr "" "[Read the Docs](https://readthedocs.org) " -"は、継続的インテグレーション/継続的デプロイメントサービスを備えたドキュメントプラットフォームで、あなたのドキュメントを自動的にビルドして公開します。" +"はドキュメントを自動的にビルドして公開するドキュメントプラットフォームです。ビルドプロセス中に依存関係をインストールするには、**readthedocs.yaml**" +" ファイルで設定します。" #: ../../package-structure-code/declare-dependencies.md:497 msgid "Here's an example that installs your `docs` optional dependencies:" msgstr "以下は、「docs」のオプションの依存関係をインストールする例です。" #: ../../package-structure-code/declare-dependencies.md:508 -#, fuzzy msgid "Learn more about Read the Docs" -msgstr "flitについてもっと知る" +msgstr "Read the Docs について詳しく知る" #: ../../package-structure-code/declare-dependencies.md:511 -#, fuzzy msgid "" -"[Creating a readthedocs.yaml file](https://docs.readthedocs.io/en/stable" -"/config-file/index.html)" +"[Creating a readthedocs.yaml " +"file](https://docs.readthedocs.io/en/stable/config-file/index.html)" msgstr "" -"[ `readthedocs.yaml` " -"ファイルの作成方法についてはこちらをご覧ください。](https://docs.readthedocs.io/en/stable/config-" +"[readthedocs.yaml ファイルの作成](https://docs.readthedocs.io/en/stable/config-" "file/index.html)" #: ../../package-structure-code/declare-dependencies.md:512 -#, fuzzy msgid "" "[Using uv with Read the Docs](https://docs.readthedocs.io/en/stable/build-" "customization.html)" msgstr "" -"[ `readthedocs.yaml` " -"ファイルの作成方法についてはこちらをご覧ください。](https://docs.readthedocs.io/en/stable/config-" -"file/index.html)" +"[Read the Docs で uv を使う](https://docs.readthedocs.io/en/stable/build-" +"customization.html)" #: ../../package-structure-code/declare-dependencies.md:513 -#, fuzzy msgid "" -"[Using Poetry with Read the Docs](https://docs.readthedocs.io/en/stable" -"/build-customization.html#install-dependencies-with-poetry)" +"[Using Poetry with Read the " +"Docs](https://docs.readthedocs.io/en/stable/build-" +"customization.html#install-dependencies-with-poetry)" msgstr "" -"Read the DocsのPoetryを使って依存関係をインストールしたい場合は、 " -"[こちらで詳しく説明されています。](https://docs.readthedocs.io/en/stable/build-" +"[Read the Docs で Poetry を使う](https://docs.readthedocs.io/en/stable/build-" "customization.html#install-dependencies-with-poetry)" #: ../../package-structure-code/declare-dependencies.md:518 -#, fuzzy msgid "" "Keep this comment - in this file for now - Jeremiah did" -" a nice inventory of common shells and whether they need quotes or not. " -"It's really comprehensive. But do we want it in the guide?? It's really " -"useful for more advanced users." +"guide/pull/106#issuecomment-1844278487> in this file for now - Jeremiah did " +"a nice inventory of common shells and whether they need quotes or not. It's " +"really comprehensive. But do we want it in the guide?? It's really useful " +"for more advanced users." msgstr "" -"このコメントを残しておいてください - https://github.com/pyOpenSci/python-package-" -"guide/pull/106#issuecomment-1844278487 - " -"今のところはこのファイルに。jeremiahは一般的なシェルについて、引用符が必要かどうかという点も含めて、素晴らしいリストを作成しました。本当に包括的です。しかし、ガイドに必要でしょうか?上級ユーザーにとっては本当に役立つと思います。" +"このコメントを残しておいてください - - 今のところはこのファイルに。Jeremiah " +"は一般的なシェルと引用符の要否について素晴らしいリストを作成しました。とても包括的です。しかし、ガイドに入れるべきでしょうか?上級ユーザーには本当に役立ちます。" #: ../../package-structure-code/declare-dependencies.md:520 -#, fuzzy msgid "" "Following this comment: " msgstr "" -"このコメントによります: https://github.com/pyOpenSci/python-package-" -"guide/pull/106#pullrequestreview-1766663571" +"このコメントに従います: " #: ../../package-structure-code/declare-dependencies.md:523 msgid "Jonny will add a section that talks about:" @@ -1735,21 +1700,20 @@ msgid "" msgstr "依存関係を指定する理由 依存関係を指定する方法 異なる指定子を使用する場合" #: ../../package-structure-code/declare-dependencies.md:530 -#, fuzzy msgid "Dependency Locking" -msgstr "依存仕様" +msgstr "依存関係のロック" #: ../../package-structure-code/declare-dependencies.md:532 msgid "" -"In addition to declaring dependencies in `pyproject.toml`, it is common for" -" packages to lock down exact versions of all their dependencies in a " -"separate lock file. A lock file provides benefits of reproducibility, " -"security, and potentially faster installs, among other things. Pinning the " -"exact dependency versions used in a project eliminates \"works on my " -"machine\" bugs and gives CI a reproducible baseline. For applications meant" -" to be run rather than imported, lock files also ensure anyone installing " -"the project gets a known-good set of dependencies instead of whatever " -"happens to be latest." +"In addition to declaring dependencies in `pyproject.toml`, it is common for " +"packages to lock down exact versions of all their dependencies in a separate" +" lock file. A lock file provides benefits of reproducibility, security, and " +"potentially faster installs, among other things. Pinning the exact " +"dependency versions used in a project eliminates \"works on my machine\" " +"bugs and gives CI a reproducible baseline. For applications meant to be run " +"rather than imported, lock files also ensure anyone installing the project " +"gets a known-good set of dependencies instead of whatever happens to be " +"latest." msgstr "" "`pyproject.toml` で依存関係を宣言することに加えて、パッケージでは、すべての依存関係の正確なバージョンを別のロック " "ファイルにロックダウンするのが一般的です。ロック " @@ -1758,9 +1722,8 @@ msgstr "" "に再現可能なベースラインが与えられます。インポートではなく実行することを目的としたアプリケーションの場合、ファイルをロックすると、プロジェクトをインストールするユーザーは、最新のものではなく既知の良好な依存関係のセットを確実に取得できるようになります。" #: ../../package-structure-code/declare-dependencies.md:541 -#, fuzzy msgid "`pyproject.toml` vs lock file" -msgstr "pyproject.tomlファイルについて" +msgstr "`pyproject.toml` とロックファイルの比較" #: ../../package-structure-code/declare-dependencies.md:542 msgid "" @@ -1775,10 +1738,10 @@ msgstr "**ロック ファイル**: 開発に使用される特定の環境を #: ../../package-structure-code/declare-dependencies.md:546 msgid "" "`pyproject.toml` should be permissive, erring on the side of allowing too " -"much even if it may allow untested environments. In most cases, it is " -"better that users install your package but encounter an issue rather than " -"being restricted from installing your package by the `pyproject.toml` when " -"it would otherwise work." +"much even if it may allow untested environments. In most cases, it is better" +" that users install your package but encounter an issue rather than being " +"restricted from installing your package by the `pyproject.toml` when it " +"would otherwise work." msgstr "" "`pyproject.toml` " "は寛容であるべきであり、たとえテストされていない環境を許可するとしても、許可しすぎるという誤りがあります。ほとんどの場合、ユーザーがパッケージをインストールしても問題が発生した場合、正常に動作するときに" @@ -1797,12 +1760,12 @@ msgstr "標準化されたロックファイル" #: ../../package-structure-code/declare-dependencies.md:557 msgid "" "As of March 2025, [PEP 751](https://peps.python.org/pep-0751) defined a " -"standard `pylock.toml` format to unify the various lock file formats in use" -" by other package managers (e.g. `uv.lock`, `poetry.lock`, `pdm.lock`). " -"Most package managers provide ways to generate a PEP 751 compatible file. " -"See [PyPA " -"specification](https://packaging.python.org/en/latest/specifications" -"/pylock-toml/) for up-to-date formatting info on `pylock.toml`" +"standard `pylock.toml` format to unify the various lock file formats in use " +"by other package managers (e.g. `uv.lock`, `poetry.lock`, `pdm.lock`). Most " +"package managers provide ways to generate a PEP 751 compatible file. See " +"[PyPA " +"specification](https://packaging.python.org/en/latest/specifications/pylock-" +"toml/) for up-to-date formatting info on `pylock.toml`" msgstr "" "2025 年 3 月の時点で、[PEP 751](https://peps.python.org/pep-0751) は、他のパッケージ " "マネージャーで使用されているさまざまなロック ファイル形式 (例: `uv.lock`、`poetry.lock`、`pdm.lock`) " @@ -1817,8 +1780,8 @@ msgstr "ロックファイルを扱うにはどうすればよいですか?" #: ../../package-structure-code/declare-dependencies.md:567 msgid "" -"Lock files are not written by hand. Package managers and IDEs provide tools" -" to create, update, and reformat lock files as needed." +"Lock files are not written by hand. Package managers and IDEs provide tools " +"to create, update, and reformat lock files as needed." msgstr "" "ロック ファイルは手動で書き込まれません。パッケージ マネージャーと IDE は、必要に応じてロック " "ファイルを作成、更新、再フォーマットするためのツールを提供します。" @@ -1826,17 +1789,17 @@ msgstr "" #: ../../package-structure-code/declare-dependencies.md:570 msgid "" "**Create** - Package managers often do this automatically though it can be " -"done manually. For example, calling `uv add numpy` will automatically " -"create a `uv.lock` file, setup the environment, and install numpy." +"done manually. For example, calling `uv add numpy` will automatically create" +" a `uv.lock` file, setup the environment, and install numpy." msgstr "" "**作成** - 手動で行うこともできますが、多くの場合、パッケージ マネージャーはこれを自動的に行います。たとえば、`uv add numpy` " "を呼び出すと、自動的に `uv.lock` ファイルが作成され、環境がセットアップされ、numpy がインストールされます。" #: ../../package-structure-code/declare-dependencies.md:573 msgid "" -"**Update** - This is not done automatically by package managers. " -"Maintainers can choose to do this manually or setup their own automated " -"workflow. Updates can be for specific packages or all dependencies." +"**Update** - This is not done automatically by package managers. Maintainers" +" can choose to do this manually or setup their own automated workflow. " +"Updates can be for specific packages or all dependencies." msgstr "" "**更新** - これはパッケージ " "マネージャーによって自動的に行われません。保守者はこれを手動で行うか、独自の自動ワークフローを設定するかを選択できます。更新は、特定のパッケージまたはすべての依存関係に対して行うことができます。" @@ -1847,8 +1810,8 @@ msgid "" "`uv.lock`) and provide tools for converting into `pylock.toml` and other " "formats (e.g. `requirements.txt`) when needed" msgstr "" -"**再フォーマット** - パッケージ マネージャーは現在ネイティブ形式 (例: uv は `uv.lock` を使用) を使用しており、必要に応じて" -" `pylock.toml` や他の形式 (例: `requirements.txt`) に変換するためのツールを提供しています。" +"**再フォーマット** - パッケージ マネージャーは現在ネイティブ形式 (例: uv は `uv.lock` を使用) を使用しており、必要に応じて " +"`pylock.toml` や他の形式 (例: `requirements.txt`) に変換するためのツールを提供しています。" #: ../../package-structure-code/declare-dependencies.md:580 msgid "Below is the uv CLI workflow for lock files:" @@ -1858,8 +1821,8 @@ msgstr "以下は、ロック ファイルの UV CLI ワークフローです。 msgid "" "See [official docs](https://docs.astral.sh/uv/concepts/projects/sync/) for " "more details. See also the relevant docs for [Poetry]( https://python-" -"poetry.org/docs/basic-usage/#installing-dependencies) and [PDM](https" -"://pdm-project.org/latest/usage/lockfile/)." +"poetry.org/docs/basic-usage/#installing-dependencies) and [PDM](https://pdm-" +"project.org/latest/usage/lockfile/)." msgstr "" "詳細については、[公式ドキュメント](https://docs.astral.sh/uv/concepts/projects/sync/) " "を参照してください。 [Poetry](https://python-poetry.org/docs/basic-usage/#installing-" @@ -1872,8 +1835,8 @@ msgstr "ロックファイルを使用する必要がありますか?" #: ../../package-structure-code/declare-dependencies.md:603 msgid "" -"Most package managers will generate a lock file automatically for you (e.g." -" uv, Poetry, PDM). The real question is when you version control the lock " +"Most package managers will generate a lock file automatically for you (e.g. " +"uv, Poetry, PDM). The real question is when you version control the lock " "file as part of your package." msgstr "" "ほとんどのパッケージ マネージャーはロック ファイルを自動的に生成します (uv、Poetry、PDM など)。本当の問題は、ロック " @@ -1892,10 +1855,10 @@ msgstr "プロジェクトが他の人が直接使用するアプリケーショ #: ../../package-structure-code/declare-dependencies.md:612 msgid "" "If your project is a library to be used in other projects and it is mature " -"enough to have CI, include a lock file for CI and contributors. For a small" -" library only you maintain that is shared amongst people you know, waiting " -"to add a lock file is not an issue. In general, you should version the lock" -" file." +"enough to have CI, include a lock file for CI and contributors. For a small " +"library only you maintain that is shared amongst people you know, waiting to" +" add a lock file is not an issue. In general, you should version the lock " +"file." msgstr "" "プロジェクトが他のプロジェクトで使用されるライブラリであり、CI を使用できるほど成熟している場合は、CI とコントリビューター用のロック " "ファイルを含めます。あなただけが管理し、知り合いの間で共有される小さなライブラリの場合、ロック " @@ -1905,8 +1868,8 @@ msgstr "" msgid "" "For private libraries shared within a team, a lock file is less important. " "But if the project is an application or tool that others run directly, " -"instead of importing into their code, committing the lock file is generally" -" the most convenient choice. It gives users a reproducible set of " +"instead of importing into their code, committing the lock file is generally " +"the most convenient choice. It gives users a reproducible set of " "dependencies instead of having each user resolve from pyproject.toml." msgstr "" "チーム内で共有されるプライベート ライブラリの場合、ロック " @@ -1961,9 +1924,8 @@ msgstr "" " パッチがある場合にのみ、クールダウンを上書きします。" #: ../../package-structure-code/declare-dependencies.md -#, fuzzy msgid "Dependency cooldowns" -msgstr "依存仕様" +msgstr "依存関係のクールダウン" #: ../../package-structure-code/declare-dependencies.md:649 msgid "" @@ -1979,15 +1941,14 @@ msgstr "" " マネージャー ツールがクールダウンの構成をサポートし始めています" #: ../../package-structure-code/declare-dependencies.md:657 -#, fuzzy msgid "or in `pyproject.toml`" -msgstr "`pyproject.toml` のリンター設定" +msgstr "または `pyproject.toml` で" #: ../../package-structure-code/declare-dependencies.md:663 msgid "" -"Integrating cooldown constrained lock files into CI is important since this" -" is where new packages are commonly tested first. Automated testing code " -"that resolves `[project.dependencies]` every time" +"Integrating cooldown constrained lock files into CI is important since this " +"is where new packages are commonly tested first. Automated testing code that" +" resolves `[project.dependencies]` every time" msgstr "" "クールダウン制約付きロック ファイルを CI に統合することは、新しいパッケージが最初にテストされるのが一般的であるため、重要です。毎回 " "`[project.dependency]` を解決する自動テスト コード" @@ -2011,11 +1972,11 @@ msgstr "" #: ../../package-structure-code/declare-dependencies.md:683 msgid "" -"When you decide to update a lock file, make sure to test that the resulting" -" environment works before committing. If it fails because of some " -"dependency update, then it may be necessary to update `pyproject.toml` to " -"cap the supported versions of that dependency unless/until the code can be " -"updated to support it." +"When you decide to update a lock file, make sure to test that the resulting " +"environment works before committing. If it fails because of some dependency " +"update, then it may be necessary to update `pyproject.toml` to cap the " +"supported versions of that dependency unless/until the code can be updated " +"to support it." msgstr "" "ロック " "ファイルを更新する場合は、コミットする前に、結果の環境が動作することを必ずテストしてください。何らかの依存関係の更新が原因で失敗した場合は、コードが更新されてサポートされるまで、または依存関係のサポートされるバージョンを制限するために" @@ -2023,9 +1984,9 @@ msgstr "" #: ../../package-structure-code/declare-dependencies.md:688 msgid "" -"It can also be good, though not necessary, to double check what changed " -"when updating a lock file. The diff can be noisy so the main changes to " -"focus on are" +"It can also be good, though not necessary, to double check what changed when" +" updating a lock file. The diff can be noisy so the main changes to focus on" +" are" msgstr "" "必須ではありませんが、ロック " "ファイルを更新するときに何が変更されたかを再確認するのも良いでしょう。差分にはノイズが多い場合があるため、注目すべき主な変更点は次のとおりです。" @@ -2035,9 +1996,8 @@ msgid "major version updates (e.g. `pandas 2.X.X` -> `pandas 3.X.X`)" msgstr "メジャー バージョンのアップデート (例: `pandas 2.X.X` -> `pandas 3.X.X`)" #: ../../package-structure-code/declare-dependencies.md:691 -#, fuzzy msgid "new transitive dependencies (i.e. not part of your `pyproject.toml`)" -msgstr "pyproject.tomlファイルに依存関係を追加" +msgstr "新しい推移的な依存関係(つまり `pyproject.toml` の一部ではないもの)" #: ../../package-structure-code/declare-dependencies.md:694 msgid "" @@ -2051,8 +2011,8 @@ msgstr "" #: ../../package-structure-code/declare-dependencies.md:698 msgid "" "the latest packages consistent with your `pyproject.toml`, subject to " -"dependency cooldowns. This lets you know if a dependency update breaks your" -" package." +"dependency cooldowns. This lets you know if a dependency update breaks your " +"package." msgstr "" "依存関係のクールダウンの対象となる、`pyproject.toml` " "と一致する最新のパッケージ。これにより、依存関係の更新によってパッケージが破損するかどうかがわかります。" @@ -2082,17 +2042,17 @@ msgstr "" #: ../../package-structure-code/declare-dependencies.md:722 msgid "" -"However, this minimal level of specificity has several downsides making " -"lock files the preferred format:" +"However, this minimal level of specificity has several downsides making lock" +" files the preferred format:" msgstr "ただし、この最小レベルの特異性には、ロック ファイルが推奨される形式となるいくつかの欠点があります。" #: ../../package-structure-code/declare-dependencies.md:724 msgid "" "The versions satisfying `pyproject.toml` may differ between your Windows " -"laptop and the Linux server your CI runs on. A single lock file contains " -"the information needed to build platform specific and Python version " -"specific environments. In contrast, a separate `requirements.txt` files is " -"needed to store this information (e.g. `requirements.ci.txt`, " +"laptop and the Linux server your CI runs on. A single lock file contains the" +" information needed to build platform specific and Python version specific " +"environments. In contrast, a separate `requirements.txt` files is needed to " +"store this information (e.g. `requirements.ci.txt`, " "`requirements.py313-macos.txt`)" msgstr "" "`pyproject.toml` を満たすバージョンは、Windows ラップトップと CI が実行される Linux " @@ -2105,20 +2065,19 @@ msgid "" "Packages can get updated without a version update for both legitimate and " "malicious reasons. Lock files include package hashes to catch this. A " "[hash](https://en.wikipedia.org/wiki/Hash_function) is a unique signature " -"computed from the code and any change to the code will cause the release to" -" have a different hash even if is given the same release version number." +"computed from the code and any change to the code will cause the release to " +"have a different hash even if is given the same release version number." msgstr "" -"パッケージは、正当な理由と悪意のある理由の両方で、バージョンを更新せずに更新される可能性があります。ロック " -"ファイルには、これを検出するためのパッケージ ハッシュが含まれています。 " -"[ハッシュ](https://en.wikipedia.org/wiki/Hash_function) " +"パッケージは、正当な理由と悪意のある理由の両方で、バージョンを更新せずに更新される可能性があります。ロック ファイルには、これを検出するためのパッケージ" +" ハッシュが含まれています。 [ハッシュ](https://en.wikipedia.org/wiki/Hash_function) " "はコードから計算される一意の署名であり、コードに変更を加えると、たとえ同じリリース " "バージョン番号が与えられていたとしても、リリースのハッシュは異なります。" #: ../../package-structure-code/declare-dependencies.md:736 msgid "" -"Other metadata determined during resolution of `pyproject.toml` (e.g. which" -" dependencies are transitive, where the packages were downloaded from, " -"etc.) that can help speed up future installs is lost." +"Other metadata determined during resolution of `pyproject.toml` (e.g. which " +"dependencies are transitive, where the packages were downloaded from, etc.) " +"that can help speed up future installs is lost." msgstr "" "`pyproject.toml` の解決中に決定された、今後のインストールの高速化に役立つ他のメタデータ (例: " "どの依存関係が推移的であるか、パッケージのダウンロード元など) は失われます。" @@ -2172,23 +2131,21 @@ msgid "Publish your package" msgstr "パッケージを公開する" #: ../../package-structure-code/intro.md:1 -#, fuzzy msgid "Python Package Structure & Code" -msgstr "Pythonパッケージ構造" +msgstr "Python パッケージの構造とコード" #: ../../package-structure-code/intro.md:3 msgid "" "This section covers everything you need to structure your Python package, " -"configure metadata, choose build tools, and publish your package to PyPI " -"and conda-forge." +"configure metadata, choose build tools, and publish your package to PyPI and" +" conda-forge." msgstr "" "このセクションでは、Python パッケージの構造化、メタデータの構成、ビルド ツールの選択、パッケージを PyPI と conda-forge " "に公開するために必要なすべてについて説明します。" #: ../../package-structure-code/intro.md:9 -#, fuzzy msgid "New to Python packaging?" -msgstr "Pythonパッケージングツール" +msgstr "Python パッケージングは初めてですか?" #: ../../package-structure-code/intro.md:13 msgid "**Start with our step-by-step tutorials:**" @@ -2203,9 +2160,8 @@ msgid "Learn by doing with guided examples" msgstr "ガイド付きの例を使って実践的に学習する" #: ../../package-structure-code/intro.md:17 -#, fuzzy msgid "Perfect for your first package" -msgstr "Pythonパッケージのバージョンを管理するツール" +msgstr "初めてのパッケージに最適" #: ../../package-structure-code/intro.md:19 msgid "Start the tutorial series" @@ -2220,9 +2176,8 @@ msgid "**Jump into the reference guides:**" msgstr "**リファレンス ガイドにジャンプします:**" #: ../../package-structure-code/intro.md:32 -#, fuzzy msgid "Learn about package structure and metadata" -msgstr "Pythonパッケージ構造" +msgstr "パッケージの構造とメタデータについて学ぶ" #: ../../package-structure-code/intro.md:33 msgid "Compare build tools and choose what's right for you" @@ -2247,9 +2202,8 @@ msgid "" msgstr "このガイドの内容はすべて、コアパッケージングツールのメンテナや開発者を含むコミュニティメンバーによって吟味されています。" #: ../../package-structure-code/intro.md:46 -#, fuzzy msgid "What you'll learn" -msgstr "ここで学べること" +msgstr "このセクションで学べること" #: ../../package-structure-code/intro.md:48 msgid "In this section, you'll learn how to:" @@ -2265,16 +2219,18 @@ msgstr "**パッケージを構造化** - src レイアウトとフラット レ msgid "" "**Configure metadata** - Set up `pyproject.toml` with project information, " "dependencies, and versioning" -msgstr "**メタデータの構成** - プロジェクト情報、依存関係、およびバージョン管理を使用して `pyproject.toml` をセットアップします。" +msgstr "" +"**メタデータの構成** - プロジェクト情報、依存関係、およびバージョン管理を使用して `pyproject.toml` をセットアップします。" #: ../../package-structure-code/intro.md:52 msgid "" -"**Choose build tools** - Compare Hatch, PDM, Poetry, and setuptools to find" -" the right fit" +"**Choose build tools** - Compare Hatch, PDM, Poetry, and setuptools to find " +"the right fit" msgstr "**ビルド ツールの選択** - Hatch、PDM、Poetry、setuptools を比較して適切なものを見つけます" #: ../../package-structure-code/intro.md:53 -msgid "**Build distributions** - Create sdist and wheel files ready for publication" +msgid "" +"**Build distributions** - Create sdist and wheel files ready for publication" msgstr "**ディストリビューションのビルド** - 公開可能な sdist ファイルと Wheel ファイルを作成します。" #: ../../package-structure-code/intro.md:54 @@ -2285,62 +2241,57 @@ msgstr "**パッケージを公開する** - パッケージを PyPI および #: ../../package-structure-code/intro.md:55 msgid "" -"**Maintain code quality** - Set up linters and formatters to keep your code" -" consistent" +"**Maintain code quality** - Set up linters and formatters to keep your code " +"consistent" msgstr "**コードの品質を維持する** - コードの一貫性を保つためにリンターとフォーマッタを設定します。" #: ../../package-structure-code/intro.md:57 -#, fuzzy msgid "" "Our recommendations align with current [Python packaging " "standards](https://packaging.python.org/en/latest/) and [Scientific Python " "community specs](https://scientific-python.org/specs/), while prioritizing " "tools that are beginner-friendly and well-maintained." msgstr "" -"ここでは、私たちの提案を、最新の、受け入れられている " -"[Pythonコミュニティ](https://packaging.python.org/en/latest/) と [科学コミュニティ](https" -"://scientific-python.org/specs/) に合わせることも試みています。" +"私たちの推奨は、最新の [Python パッケージング標準](https://packaging.python.org/en/latest/) と " +"[Scientific Python コミュニティの仕様](https://scientific-python.org/specs/) " +"に沿ったものであり、初心者に優しく十分にメンテナンスされたツールを優先しています。" #: ../../package-structure-code/intro.md:59 -#, fuzzy msgid "Package setup" -msgstr "パッケージバージョン" +msgstr "パッケージのセットアップ" #: ../../package-structure-code/intro.md:66 -#, fuzzy msgid "✨ Package file structure ✨" -msgstr "✨ 1. パッケージのファイル構成 ✨" +msgstr "✨ パッケージのファイル構成 ✨" #: ../../package-structure-code/intro.md:68 msgid "" -"Learn how to organize your package files using [src or flat layouts" -"](package-source-layout). This page helps you decide on a package structure" -" that follows modern Python best practices, including where to place [tests" -"](src-layout-test) and [documentation](package-source-layout)." +"Learn how to organize your package files using [src or flat " +"layouts](package-source-layout). This page helps you decide on a package " +"structure that follows modern Python best practices, including where to " +"place [tests](src-layout-test) and [documentation](package-source-layout)." msgstr "" "[src またはフラット レイアウト](package-source-layout) を使用してパッケージ " "ファイルを整理する方法を学びます。このページは、[テスト](src-layout-test) と [ドキュメント](package-source-" "layout) をどこに配置するかなど、最新の Python のベスト プラクティスに従ったパッケージ構造を決定するのに役立ちます。" #: ../../package-structure-code/intro.md:71 -#, fuzzy msgid "✨ Add metadata ✨" -msgstr "✨ 4. メタデータを追加する ✨" +msgstr "✨ メタデータの追加 ✨" #: ../../package-structure-code/intro.md:73 -#, fuzzy msgid "" -"Learn how to add [project metadata](pyproject-toml-python-package-metadata)" -" to your Python package to support both filtering on PyPI and also the " +"Learn how to add [project metadata](pyproject-toml-python-package-metadata) " +"to your Python package to support both filtering on PyPI and also the " "metadata that a package installer needs to build and install your package." msgstr "" -"Python パッケージにプロジェクトのメタデータを追加して、PyPI " -"でのフィルタリングと、パッケージインストーラがパッケージをビルドしてインストールするために必要なメタデータの両方をサポートする方法を学びましょう。" +"[プロジェクトメタデータ](pyproject-toml-python-package-metadata) を Python " +"パッケージに追加して、PyPI " +"でのフィルタリングと、パッケージインストーラがパッケージをビルドしてインストールするのに必要なメタデータの両方をサポートする方法を学びます。" #: ../../package-structure-code/intro.md:78 -#, fuzzy msgid "✨ Declare dependencies ✨" -msgstr "依存関係の宣言" +msgstr "✨ 依存関係の宣言 ✨" #: ../../package-structure-code/intro.md:80 msgid "" @@ -2354,38 +2305,35 @@ msgstr "" "groups) を指定する方法を学びます。" #: ../../package-structure-code/intro.md:83 -#, fuzzy msgid "✨ Setup package versioning ✨" -msgstr "✨ 5. パッケージのバージョニングを設定する ✨" +msgstr "✨ パッケージのバージョニング設定 ✨" #: ../../package-structure-code/intro.md:85 msgid "" -"Learn how to manage package versions using [semantic versioning (SemVer" -")](package-versioning) or [calendar versioning (CalVer)](package-" +"Learn how to manage package versions using [semantic versioning " +"(SemVer)](package-versioning) or [calendar versioning (CalVer)](package-" "versioning). This page helps you choose the right versioning strategy and " -"set up [automated version management](tools-version-management) using tools" -" like hatch_vcs or setuptools-scm." +"set up [automated version management](tools-version-management) using tools " +"like hatch_vcs or setuptools-scm." msgstr "" -"[セマンティック バージョニング (SemVer)](パッケージ バージョニング) または [カレンダー バージョニング " -"(CalVer)](パッケージ バージョニング) を使用してパッケージ " -"バージョンを管理する方法を学びます。このページは、適切なバージョン管理戦略を選択し、hatch_vcs や setuptools-scm " -"などのツールを使用して [自動バージョン管理](tools-version-management) をセットアップするのに役立ちます。" +"[セマンティック バージョニング (SemVer)](パッケージ バージョニング) または [カレンダー バージョニング (CalVer)](パッケージ" +" バージョニング) を使用してパッケージ バージョンを管理する方法を学びます。このページは、適切なバージョン管理戦略を選択し、hatch_vcs や " +"setuptools-scm などのツールを使用して [自動バージョン管理](tools-version-management) " +"をセットアップするのに役立ちます。" #: ../../package-structure-code/intro.md:89 -#, fuzzy msgid "Development practices" -msgstr "開発状況" +msgstr "開発の実践" #: ../../package-structure-code/intro.md:96 -#, fuzzy msgid "✨ Code style & linters ✨" -msgstr "✨6. コードスタイルとリンター✨" +msgstr "✨ コードスタイルとリンター ✨" #: ../../package-structure-code/intro.md:98 msgid "" -"Learn how to set up [code formatters and linters](code-style-tools) ([Black" -"](about-black), [Ruff](about-ruff), [flake8](about-flake8)) to ensure your " -"package follows [PEP 8 standards](code-style-tools) and maintains " +"Learn how to set up [code formatters and linters](code-style-tools) " +"([Black](about-black), [Ruff](about-ruff), [flake8](about-flake8)) to ensure" +" your package follows [PEP 8 standards](code-style-tools) and maintains " "consistent code style throughout your project." msgstr "" "[コード フォーマッタとリンター](code-style-tools) ([Black](about-black)、[Ruff](about-" @@ -2397,9 +2345,8 @@ msgid "Build & publish" msgstr "構築して公開する" #: ../../package-structure-code/intro.md:109 -#, fuzzy msgid "✨ Choose your build tool ✨" -msgstr "ビルドワークフローツールの選択" +msgstr "✨ ビルドツールの選択 ✨" #: ../../package-structure-code/intro.md:111 msgid "" @@ -2413,9 +2360,8 @@ msgstr "" "を比較して、ワークフローに最適なものを見つけます。決定に役立つように、[概要比較](summary-build-tools) を参照してください。" #: ../../package-structure-code/intro.md:114 -#, fuzzy msgid "✨ Build your package ✨" -msgstr "パッケージをビルドする" +msgstr "✨ パッケージのビルド ✨" #: ../../package-structure-code/intro.md:116 msgid "" @@ -2424,20 +2370,18 @@ msgid "" "that can be published on [PyPI](publish-pypi-conda)." msgstr "" "[PyPI](publish-pypi-conda) で公開できる [配布ファイル](build-package) ([sdist](python-" -"source-distribution) および [wheel](python-wheel)) に Python " -"パッケージをビルドする方法を学びます。" +"source-distribution) および [wheel](python-wheel)) に Python パッケージをビルドする方法を学びます。" #: ../../package-structure-code/intro.md:119 -#, fuzzy msgid "✨ Publish to PyPI and Conda ✨" -msgstr "✨ 4. PyPIとCondaに公開する ✨" +msgstr "✨ PyPI と Conda への公開 ✨" #: ../../package-structure-code/intro.md:121 msgid "" "Learn how to publish your package to [PyPI](publish-pypi-conda) and " -"optionally to [conda-forge](how-to-submit-to-conda-forge). This page covers" -" the complete process for making your package available to users, including" -" the [conda-forge submission process](how-to-submit-to-conda-forge) after " +"optionally to [conda-forge](how-to-submit-to-conda-forge). This page covers " +"the complete process for making your package available to users, including " +"the [conda-forge submission process](how-to-submit-to-conda-forge) after " "publishing to PyPI." msgstr "" "パッケージを [PyPI](publish-pypi-conda) に公開する方法と、オプションで [conda-forge](how-to-" @@ -2457,8 +2401,8 @@ msgstr "どのビルド ツールを使用すればよいかわからない場 #: ../../package-structure-code/intro.md:131 msgid "" -"Figure showing a decision tree with the various packaging tool front-end " -"and back-end options." +"Figure showing a decision tree with the various packaging tool front-end and" +" back-end options." msgstr "様々なパッケージングツールのフロントエンドとバックエンドのオプションの決定ツリーを示す図。" #: ../../package-structure-code/intro.md:133 @@ -2485,43 +2429,42 @@ msgid "" msgstr "**初心者向け** - パッケージングの初心者にとって学びやすく、使いやすいツール" #: ../../package-structure-code/intro.md:141 -msgid "**Well-maintained** - Tools with active development and good documentation" +msgid "" +"**Well-maintained** - Tools with active development and good documentation" msgstr "**よく管理されている** - 活発な開発と充実したドキュメントを備えたツール" #: ../../package-structure-code/intro.md:142 -#, fuzzy msgid "" "**Standards-aligned** - Tools that follow current [Python packaging " "standards](https://packaging.python.org/en/latest/) and [Scientific Python " "community specs](https://scientific-python.org/specs/)" msgstr "" -"ここでは、私たちの提案を、最新の、受け入れられている " -"[Pythonコミュニティ](https://packaging.python.org/en/latest/) と [科学コミュニティ](https" -"://scientific-python.org/specs/) に合わせることも試みています。" +"**標準準拠** - 最新の [Python パッケージング標準](https://packaging.python.org/en/latest/) と" +" [Scientific Python コミュニティの仕様](https://scientific-python.org/specs/) に従うツール" #: ../../package-structure-code/intro.md:144 -#, fuzzy msgid "Pure Python vs. complex builds" -msgstr "複雑なビルド" +msgstr "純粋な Python と複雑なビルド" #: ../../package-structure-code/intro.md:146 msgid "" -"**Pure Python packages** can use any modern tool (Hatch, PDM, Poetry, Flit)" -" - choose based on the features you want" +"**Pure Python packages** can use any modern tool (Hatch, PDM, Poetry, Flit) " +"- choose based on the features you want" msgstr "" "**純粋な Python パッケージ** では、最新のツール (Hatch、PDM、Poetry、Flit) を使用できます - " "必要な機能に基づいて選択してください" #: ../../package-structure-code/intro.md:147 msgid "" -"**Packages with C/C++ extensions** may need additional build steps. See our" -" [complex builds page](complex-python-package-builds) for guidance. For " +"**Packages with C/C++ extensions** may need additional build steps. See our " +"[complex builds page](complex-python-package-builds) for guidance. For " "comprehensive information on packaging compiled projects, see the " -"[Scientific Python Development Guide on compiled packaging](https://learn" -".scientific-python.org/development/guides/packaging-compiled/)." +"[Scientific Python Development Guide on compiled " +"packaging](https://learn.scientific-python.org/development/guides/packaging-" +"compiled/)." msgstr "" -"**C/C++ 拡張機能を含むパッケージ**には、追加のビルド手順が必要な場合があります。ガイダンスについては、[複雑なビルド ページ" -"](complex-python-package-builds) " +"**C/C++ 拡張機能を含むパッケージ**には、追加のビルド手順が必要な場合があります。ガイダンスについては、[複雑なビルド " +"ページ](complex-python-package-builds) " "を参照してください。コンパイルされたプロジェクトのパッケージ化に関する包括的な情報については、[コンパイルされたパッケージ化に関する " "Scientific Python 開発ガイド](https://learn.scientific-" "python.org/development/guides/packaging-compiled/) を参照してください。" @@ -2537,19 +2480,18 @@ msgid "Submitting your package for peer review?" msgstr "ピアレビューのためにパッケージを送信しますか?" #: ../../package-structure-code/intro.md:153 -#, fuzzy msgid "" "If you're planning to submit your package to pyOpenSci for [peer " "review](https://www.pyopensci.org/about-peer-review/index.html), check out " "our [editor checklist](https://www.pyopensci.org/software-peer-review/how-" "to/editor-in-chief-guide.html#editor-checklist-template) for the minimum " -"requirements. These checks are useful for anyone creating a Python package," -" not just those submitting for review." +"requirements. These checks are useful for anyone creating a Python package, " +"not just those submitting for review." msgstr "" -"査読にパッケージを投稿しようと考えているなら、査読が始まる前にpyOpenSciが行う最低限の [editor " -"checks](https://www.pyopensci.org/software-peer-review/how-to/editor-in-" -"chief-guide.html#editor-checklist-template) " -"を見てください。これらのチェックは、私たちにパッケージをレビューのために提出しようと計画している作者と、Pythonパッケージを作成し始めたばかりの人の両方にとって、調べるのに便利です。" +"パッケージを pyOpenSci に[査読](https://www.pyopensci.org/about-peer-" +"review/index.html)のために提出しようと考えている場合は、最低限の要件について[エディタチェックリスト](https://www.pyopensci.org/software-" +"peer-review/how-to/editor-in-chief-guide.html#editor-checklist-" +"template)を確認してください。これらのチェックは、査読に提出する人だけでなく、Python パッケージを作成するすべての人に役立ちます。" #: ../../package-structure-code/intro.md:155 msgid "These are recommendations, not requirements" @@ -2565,31 +2507,30 @@ msgstr "" "ピアレビューの特定の要件ではありません**。" #: ../../package-structure-code/intro.md:160 -#, fuzzy msgid "" "If you're submitting to pyOpenSci, see our [package " "scope](https://www.pyopensci.org/software-peer-review/about/package-" "scope.html) and [author guide](https://www.pyopensci.org/software-peer-" "review/how-to/author-guide.html#) for actual review requirements." msgstr "" -"pyOpenSciのPythonパッケージ審査要件をお探しの方は、 [package scope " -"page](https://www.pyopensci.org/software-peer-review/about/package-" -"scope.html) と [review requirements in our author " -"guide](https://www.pyopensci.org/software-peer-review/how-to/author-" -"guide.html#) をご覧ください!" +"pyOpenSci " +"に提出する場合は、実際のレビュー要件について[パッケージスコープ](https://www.pyopensci.org/software-peer-" +"review/about/package-scope.html)と[著者ガイド](https://www.pyopensci.org/software-" +"peer-review/how-to/author-guide.html#)を参照してください。" #: ../../package-structure-code/publish-python-package-pypi-conda.md:1 -msgid "Publishing Your Package In A Community Repository: PyPI or Anaconda.org" +msgid "" +"Publishing Your Package In A Community Repository: PyPI or Anaconda.org" msgstr "コミュニティリポジトリでパッケージを公開する: PyPI または Anaconda.org" #: ../../package-structure-code/publish-python-package-pypi-conda.md:5 msgid "" "pyOpenSci requires that your package has an distribution that can be " -"installed from a public community repository such as PyPI or a conda " -"channel such as `bioconda` or `conda-forge` on Anaconda.org." +"installed from a public community repository such as PyPI or a conda channel" +" such as `bioconda` or `conda-forge` on Anaconda.org." msgstr "" -"pyOpenSci は、あなたのパッケージが PyPI のようなパブリックコミュニティリポジトリや Anaconda.org の `bioconda`" -" や `conda-forge` のような conda チャンネルからインストールできるディストリビューションを持っていることを要求します。" +"pyOpenSci は、あなたのパッケージが PyPI のようなパブリックコミュニティリポジトリや Anaconda.org の `bioconda` " +"や `conda-forge` のような conda チャンネルからインストールできるディストリビューションを持っていることを要求します。" #: ../../package-structure-code/publish-python-package-pypi-conda.md:9 msgid "" @@ -2609,8 +2550,8 @@ msgid "" "local environments, consider publishing your package to both PyPI and the " "conda-forge channel on Anaconda.org." msgstr "" -"ローカル環境を管理するために conda (または pip) を使用しているかもしれないユーザーの競合を最小にするために、Anaconda.org の" -" PyPI と conda-forge チャンネルの両方にパッケージを公開することを検討してください。" +"ローカル環境を管理するために conda (または pip) を使用しているかもしれないユーザーの競合を最小にするために、Anaconda.org の " +"PyPI と conda-forge チャンネルの両方にパッケージを公開することを検討してください。" #: ../../package-structure-code/publish-python-package-pypi-conda.md:18 msgid "" @@ -2621,24 +2562,23 @@ msgstr "以下では、PythonパッケージのPyPI公開とconda公開の違い #: ../../package-structure-code/publish-python-package-pypi-conda.md:23 #: ../../package-structure-code/python-package-distribution-files-sdist-wheel.md:6 msgid "" -"Image showing the progression of creating a Python package, building it and" -" then publishing to PyPI and conda-forge. You take your code and turn it " -"into distribution files (sdist and wheel) that PyPI accepts. Then there is " -"an arrow towards the PyPI repository where ou publish both distributions. " -"From PyPI if you create a conda-forge recipe you can then publish to conda-" -"forge." +"Image showing the progression of creating a Python package, building it and " +"then publishing to PyPI and conda-forge. You take your code and turn it into" +" distribution files (sdist and wheel) that PyPI accepts. Then there is an " +"arrow towards the PyPI repository where ou publish both distributions. From " +"PyPI if you create a conda-forge recipe you can then publish to conda-forge." msgstr "" "Pythonパッケージの作成、ビルド、そしてPyPIとconda-" -"forgeへの公開の流れを示す画像です。あなたのコードをPyPIが受け付ける配布ファイル(sdistとwheel)に変換します。そして、両方のディストリビューションを公開しているPyPIリポジトリへの矢印があります" -"。PyPIからconda-forgeのレシピを作成し、conda-forgeに公開することができます。" +"forgeへの公開の流れを示す画像です。あなたのコードをPyPIが受け付ける配布ファイル(sdistとwheel)に変換します。そして、両方のディストリビューションを公開しているPyPIリポジトリへの矢印があります。PyPIからconda-" +"forgeのレシピを作成し、conda-forgeに公開することができます。" #: ../../package-structure-code/publish-python-package-pypi-conda.md:25 msgid "" -"Once you have published both package distributions (the source distribution" -" and the wheel) to PyPI, you can then publish to conda-forge. The conda-" -"forge requires a source distribution on PyPI in order to build your package" -" on conda-forge. You do not need to rebuild your package to publish to " -"conda-forge." +"Once you have published both package distributions (the source distribution " +"and the wheel) to PyPI, you can then publish to conda-forge. The conda-forge" +" requires a source distribution on PyPI in order to build your package on " +"conda-forge. You do not need to rebuild your package to publish to conda-" +"forge." msgstr "" "両方のパッケージ配布(ソース配布とホイール)をPyPIに公開したら、次にconda-forgeに公開します。conda-" "forgeでパッケージをビルドするには、PyPIでのソース配布が必要です。conda-" @@ -2652,8 +2592,8 @@ msgstr "PyPIとは" msgid "" "[PyPI](https://pypi.org/) is an online Python package repository that you " "can use to both find and install and publish your Python package. There is " -"also a test PyPI repository where you can test publishing your package " -"prior to the final publication on PyPI." +"also a test PyPI repository where you can test publishing your package prior" +" to the final publication on PyPI." msgstr "" "[PyPI](https://pypi.org/) " "はオンラインのPythonパッケージリポジトリで、Pythonパッケージの検索やインストール、公開に利用できます。テスト用のPyPIリポジトリもあり、最終的にPyPIで公開する前に、パッケージの公開をテストすることができます。" @@ -2667,8 +2607,8 @@ msgstr "ほとんどのPythonパッケージはPyPIで見つけることがで #: ../../package-structure-code/publish-python-package-pypi-conda.md:38 msgid "" "The biggest different between using pip and conda to install a package is " -"that conda can install any package regardless of the language(s) that it is" -" written in. Whereas `pip` can only install Python packages." +"that conda can install any package regardless of the language(s) that it is " +"written in. Whereas `pip` can only install Python packages." msgstr "" "パッケージのインストールにpipを使う場合とcondaを使う場合の最大の違いは、condaは(複数の)言語に関係なくどんなパッケージでもインストールできるということです。" " 一方、 `pip` は Python パッケージしかインストールできません。" @@ -2679,16 +2619,16 @@ msgstr "PyPIへのパッケージ公開のチュートリアルはこちら。" #: ../../package-structure-code/publish-python-package-pypi-conda.md:51 msgid "" -"On the package build page, we discussed the [two package distribution types" -" that you will create when making a Python package](python-package-" +"On the package build page, we discussed the [two package distribution types " +"that you will create when making a Python package](python-package-" "distribution-files-sdist-wheel): SDist (packaged as a .tar.gz or .zip) and " -"Wheel (.whl) which is really a zip file. Both of those file \"bundles\" " -"will be published on PyPI when you use [a standard build tool](python-" -"package-build-tools) to build your package." +"Wheel (.whl) which is really a zip file. Both of those file \"bundles\" will" +" be published on PyPI when you use [a standard build tool](python-package-" +"build-tools) to build your package." msgstr "" "パッケージビルドのページで、 [Pythonパッケージを作るときに作成する2つのパッケージ配布タイプ](python-package-" -"distribution-files-sdist-wheel) について説明しました: SDist (.tar.gzまたは.zipとしてパッケージ化)" -" とWheel (.whl) は、実際にはzipファイルです。 [標準ビルドツール](python-package-build-tools) " +"distribution-files-sdist-wheel) について説明しました: SDist (.tar.gzまたは.zipとしてパッケージ化) " +"とWheel (.whl) は、実際にはzipファイルです。 [標準ビルドツール](python-package-build-tools) " "を使ってパッケージをビルドすると、これらのファイル \"バンドル\" は両方ともPyPIで公開されます。" #: ../../package-structure-code/publish-python-package-pypi-conda.md:59 @@ -2721,17 +2661,18 @@ msgid "" "The conda ecosystem evolved years ago to provide support for, and simplify " "the process of, managing software dependencies in scientific Python " "projects." -msgstr "condaエコシステムは、科学的なPythonプロジェクトにおけるソフトウェアの依存関係を管理するためのサポートを提供し、そのプロセスを簡素化するために数年前に発展しました。" +msgstr "" +"condaエコシステムは、科学的なPythonプロジェクトにおけるソフトウェアの依存関係を管理するためのサポートを提供し、そのプロセスを簡素化するために数年前に発展しました。" #: ../../package-structure-code/publish-python-package-pypi-conda.md:75 msgid "" -"Many of the core scientific Python projects depend upon or wrap around " -"tools and extensions that are written in other languages, such as C++. In " -"the early stages of the scientific ecosystem's development, these non-" -"Python extensions and tools were not well supported on PyPI, making " -"publication difficult. In recent years there is more support for complex " -"builds that allow developers to bundle non-Python code into a Python " -"distribution using the [wheel distribution format](python-wheel)." +"Many of the core scientific Python projects depend upon or wrap around tools" +" and extensions that are written in other languages, such as C++. In the " +"early stages of the scientific ecosystem's development, these non-Python " +"extensions and tools were not well supported on PyPI, making publication " +"difficult. In recent years there is more support for complex builds that " +"allow developers to bundle non-Python code into a Python distribution using " +"the [wheel distribution format](python-wheel)." msgstr "" "科学的なPythonプロジェクトのコアの多くは、C++などの他の言語で書かれたツールや拡張機能に依存したり、その周りを取り巻いたりしています。科学エコシステムの開発の初期段階では、これらのPython以外の拡張機能やツールはPyPIで十分にサポートされておらず、公開が困難でした。近年、開発者が" " [wheel distribution format](python-wheel) " @@ -2739,8 +2680,8 @@ msgstr "" #: ../../package-structure-code/publish-python-package-pypi-conda.md:77 msgid "" -"Conda provides a mechanism to manage these dependencies and ensure that the" -" required packages are installed correctly." +"Conda provides a mechanism to manage these dependencies and ensure that the " +"required packages are installed correctly." msgstr "Condaは、これらの依存関係を管理し、必要なパッケージが正しくインストールされるようにするメカニズムを提供します。" #: ../../package-structure-code/publish-python-package-pypi-conda.md:81 @@ -2749,8 +2690,8 @@ msgid "" "used across all languages. This cross-language support makes it easier for " "some packages to include and have access to tools written in other " "languages, such as C/C++ (gdal), Julia, or R. Creating an environment that " -"mixes all of these packages is usually easier and more consistent with " -"full-fledged package managers like conda." +"mixes all of these packages is usually easier and more consistent with full-" +"fledged package managers like conda." msgstr "" "condaはもともとPythonのパッケージをサポートするために作られたが、今ではあらゆる言語で使われています。この言語間サポートにより、C/C++ " "(gdal) " @@ -2789,9 +2730,8 @@ msgstr "" #: ../../package-structure-code/publish-python-package-pypi-conda.md:98 msgid "" "[**conda-forge:**](https://conda-forge.org/) this is a community-driven " -"channel that focuses on scientific packages. This channel is ideal for " -"tools that support geospatial data. Anyone can publish a package to this " -"channel." +"channel that focuses on scientific packages. This channel is ideal for tools" +" that support geospatial data. Anyone can publish a package to this channel." msgstr "" "[**conda-forge:**](https://conda-forge.org/) " "このチャンネルは科学的なパッケージに焦点を当てたコミュニティ主導のチャンネルです。 このチャンネルは地理空間データをサポートするツールに最適です。 " @@ -2801,24 +2741,26 @@ msgstr "" msgid "" "[**bioconda**](https://bioconda.github.io/): this channel focuses on " "biomedical tools." -msgstr "[**bioconda**](https://bioconda.github.io/): このチャンネルは生物医学ツールに焦点を当てています。" +msgstr "" +"[**bioconda**](https://bioconda.github.io/): このチャンネルは生物医学ツールに焦点を当てています。" #: ../../package-structure-code/publish-python-package-pypi-conda.md:101 msgid "" -"**conda-forge** emerged as many of the scientific packages did not exist in" -" the `defaults` Anaconda channel." -msgstr "科学的パッケージの多くが `defaults` Anaconda チャンネルに存在しなかったため、**conda-forge** が出現しました。" +"**conda-forge** emerged as many of the scientific packages did not exist in " +"the `defaults` Anaconda channel." +msgstr "" +"科学的パッケージの多くが `defaults` Anaconda チャンネルに存在しなかったため、**conda-forge** が出現しました。" #: ../../package-structure-code/publish-python-package-pypi-conda.md:106 msgid "" "Graphic with the title Python package repositories. Below it says Anything " "hosted on PyPI can be installed using pip install. Packaging hosted on a " -"conda channel can be installed using conda install. Below that there are " -"two rows. The top row says conda channels. Next to it are three boxes one " -"with conda-forge, community maintained; bioconda and then default - managed" -" by the anaconda team. Below that there is a row that says PyPI servers. " -"PyPI - anyone can publish to PyPI. And test PyPI. A testbed server for you " -"to practice." +"conda channel can be installed using conda install. Below that there are two" +" rows. The top row says conda channels. Next to it are three boxes one with " +"conda-forge, community maintained; bioconda and then default - managed by " +"the anaconda team. Below that there is a row that says PyPI servers. PyPI - " +"anyone can publish to PyPI. And test PyPI. A testbed server for you to " +"practice." msgstr "" "Python package repositoriesというタイトルのグラフィック。 PyPI でホストされているものは pip install " "でインストールできます。 condaチャンネルでホストされているパッケージはconda installを使ってインストールできます。 " @@ -2829,8 +2771,8 @@ msgstr "" #: ../../package-structure-code/publish-python-package-pypi-conda.md:108 msgid "" -"Conda channels represent various repositories that you can install packages" -" from. Because conda-forge is community maintained, anyone can submit a " +"Conda channels represent various repositories that you can install packages " +"from. Because conda-forge is community maintained, anyone can submit a " "recipe there. PyPI is also a community maintained repository. Anyone can " "submit a package to PyPI and test PyPI. Unlike conda-forge there are no " "manual checks of packages submitted to PyPI." @@ -2846,8 +2788,8 @@ msgstr "conda channels, PyPI, conda, pip - パッケージを公開する場所" #: ../../package-structure-code/publish-python-package-pypi-conda.md:113 msgid "" -"You might be wondering why there are different package repositories that " -"can be used to install Python packages." +"You might be wondering why there are different package repositories that can" +" be used to install Python packages." msgstr "なぜPythonパッケージをインストールするのに様々なパッケージリポジトリがあるのか不思議に思うかもしれません。" #: ../../package-structure-code/publish-python-package-pypi-conda.md:116 @@ -2863,8 +2805,8 @@ msgstr "どちらの質問に対する答えも、依存関係のコンフリク #: ../../package-structure-code/publish-python-package-pypi-conda.md:123 msgid "" "Image showing an XKCD comic that shows a web of Python environments and " -"tools and installations. At the bottom is says - My python environment has" -" become so degraded that my laptop has been declared a superfund site." +"tools and installations. At the bottom is says - My python environment has " +"become so degraded that my laptop has been declared a superfund site." msgstr "" "画像はXKCDのコミックで、Pythonの環境とツール、インストールの網を描いています。一番下にはこう書いてあります - " "私のパイソン環境は劣化しすぎて、私のラップトップはスーパーファンドサイトに指定された。" @@ -2891,11 +2833,11 @@ msgstr "Pythonパッケージの依存関係の競合を管理する" #: ../../package-structure-code/publish-python-package-pypi-conda.md:135 msgid "" "Python environments can encounter conflicts because Python tools can be " -"installed from different repositories. Broadly speaking, Python " -"environments have a smaller chance of dependency conflicts when the tools " -"are installed from the same package repository. Thus environments that " -"contain packages installed from both pip and conda are more likely to yield" -" dependency conflicts." +"installed from different repositories. Broadly speaking, Python environments" +" have a smaller chance of dependency conflicts when the tools are installed " +"from the same package repository. Thus environments that contain packages " +"installed from both pip and conda are more likely to yield dependency " +"conflicts." msgstr "" "Python環境は、Pythonツールが異なるリポジトリからインストールされることがあるため、競合に遭遇する可能性があります。 " "大まかに言えば、Python環境は、ツールが同じパッケージリポジトリからインストールされるとき、依存関係の衝突の可能性が小さくなります。 " @@ -2915,31 +2857,32 @@ msgid "" "because this channel is managed by Anaconda, the packages available on it " "are limited to those that Anaconda decides should be core to a stable " "installation. The conda-forge channel was created to complement the " -"`defaults` channel. It allows anyone to submit a package to be published in" -" the channel . Thus, `conda-forge` channel ensures that a broad suite of " +"`defaults` channel. It allows anyone to submit a package to be published in " +"the channel . Thus, `conda-forge` channel ensures that a broad suite of " "user-developed community packages can be installed from conda." msgstr "" "多くのパッケージは conda `defaults` チャンネルから直接インストールします。 しかし、このチャンネルは Anaconda " "によって管理されているため、このチャンネルで利用可能なパッケージは、Anaconda " "が安定したインストールの中核となるべきと判断したものに限定されます。 conda-forge チャンネルは `defaults` " -"チャンネルを補完するために作成されました。 誰でもこのチャンネルで公開するパッケージを投稿することができます。 このように、 `conda-" -"forge` チャネルは、ユーザが開発したコミュニティパッケージの広範なスイートを conda からインストールできるようにします。" +"チャンネルを補完するために作成されました。 誰でもこのチャンネルで公開するパッケージを投稿することができます。 このように、 `conda-forge`" +" チャネルは、ユーザが開発したコミュニティパッケージの広範なスイートを conda からインストールできるようにします。" #: ../../package-structure-code/publish-python-package-pypi-conda.md:148 msgid "" -"Take-aways: If you can, publish on both PyPI and conda-forge to accommodate" -" more users of your package" -msgstr "教訓: 可能であれば、PyPI と conda-forge の両方で公開し、より多くのユーザがあなたのパッケージを利用できるようにしましょう。" +"Take-aways: If you can, publish on both PyPI and conda-forge to accommodate " +"more users of your package" +msgstr "" +"教訓: 可能であれば、PyPI と conda-forge の両方で公開し、より多くのユーザがあなたのパッケージを利用できるようにしましょう。" #: ../../package-structure-code/publish-python-package-pypi-conda.md:150 msgid "" "The take-away here for maintainers is that if you anticipate users wanting " -"to use conda to manage their local environments (which many do), you should" -" consider publishing to both PyPI and the conda-forge channel (_more on " -"that below_)." +"to use conda to manage their local environments (which many do), you should " +"consider publishing to both PyPI and the conda-forge channel (_more on that " +"below_)." msgstr "" -"メンテナにとって重要なことは、もしユーザがローカル環境の管理にcondaを使いたいと考えているのであれば(多くのユーザがそうしている" -")、PyPIとconda-forge channelの両方に公開することを検討すべきだということです (_詳しくは後述します) 。" +"メンテナにとって重要なことは、もしユーザがローカル環境の管理にcondaを使いたいと考えているのであれば(多くのユーザがそうしている)、PyPIとconda-" +"forge channelの両方に公開することを検討すべきだということです (_詳しくは後述します) 。" #: ../../package-structure-code/publish-python-package-pypi-conda.md:155 msgid "Additional resources" @@ -2973,9 +2916,9 @@ msgstr "pyOpenSciはあなたのパッケージをconda-forgeに追加する必 #: ../../package-structure-code/publish-python-package-pypi-conda.md:170 msgid "" -"Once your package is on PyPI, the process to add your package to conda-" -"forge is straight forward to do. [You can follow the detailed steps " -"provided by the conda-forge maintainer team.](https://conda-" +"Once your package is on PyPI, the process to add your package to conda-forge" +" is straight forward to do. [You can follow the detailed steps provided by " +"the conda-forge maintainer team.](https://conda-" "forge.org/docs/maintainer/adding_pkgs.html)." msgstr "" "パッケージが PyPI に登録されたら、conda-forge にパッケージを追加する手順は簡単です。 [conda-forge " @@ -2998,9 +2941,8 @@ msgstr "パッケージが追加されると、GitHub の feedstock リポジト #: ../../package-structure-code/publish-python-package-pypi-conda.md:186 msgid "" -"[Here is an example conda-forge feedstock for the pyOpenSci approved " -"package - movingpandas](https://github.com/conda-forge/movingpandas-" -"feedstock)" +"[Here is an example conda-forge feedstock for the pyOpenSci approved package" +" - movingpandas](https://github.com/conda-forge/movingpandas-feedstock)" msgstr "" "[pyOpenSci承認パッケージ - movingpandas のconda-" "forgeフィードストックの例です](https://github.com/conda-forge/movingpandas-feedstock)" @@ -3012,21 +2954,21 @@ msgstr "conda-forge パッケージリポジトリの管理" #: ../../package-structure-code/publish-python-package-pypi-conda.md:191 msgid "" "Once your package is on the conda-forge channel, maintaining it is simple. " -"Every time that you push a new version of your package to PyPI, it will " -"kick off a continuous integration build that updates your package in the " -"conda-forge repository. Once that build is complete, you will get a " -"notification to review the update." +"Every time that you push a new version of your package to PyPI, it will kick" +" off a continuous integration build that updates your package in the conda-" +"forge repository. Once that build is complete, you will get a notification " +"to review the update." msgstr "" -"いったんあなたのパッケージが conda-forge チャンネルに登録されれば、それを維持するのは簡単です。 新しいバージョンのパッケージを PyPI" -" にプッシュするたびに、conda-forge リポジトリのパッケージを更新する継続的インテグレーションビルドが開始されます。 " +"いったんあなたのパッケージが conda-forge チャンネルに登録されれば、それを維持するのは簡単です。 新しいバージョンのパッケージを PyPI " +"にプッシュするたびに、conda-forge リポジトリのパッケージを更新する継続的インテグレーションビルドが開始されます。 " "ビルドが完了すると、更新を確認するための通知が届きます。" #: ../../package-structure-code/publish-python-package-pypi-conda.md:197 msgid "" -"You can merge the pull request for that update once you are happy with it. " -"A ready-to-merge PR usually means ensuring that your project's dependencies" -" (known as runtime requirements) listed in the updated YAML file found in " -"the pull request match the PyPI metadata of the new release." +"You can merge the pull request for that update once you are happy with it. A" +" ready-to-merge PR usually means ensuring that your project's dependencies " +"(known as runtime requirements) listed in the updated YAML file found in the" +" pull request match the PyPI metadata of the new release." msgstr "" "プルリクエストの内容に満足したら、プルリクエストをマージすることができます。 " "すぐにマージできるPRとは、通常、プルリクエストにある更新されたYAMLファイルに記載されているあなたのプロジェクトの依存関係(実行時要件として知られています)が、新しいリリースのPyPIメタデータと一致していることを確認することです。" @@ -3036,9 +2978,8 @@ msgid "Use a pyproject.toml file for your package configuration & metadata" msgstr "パッケージの設定とメタデータにはpyproject.tomlファイルを使用します。" #: ../../package-structure-code/pyproject-toml-python-package-metadata.md:4 -#, fuzzy msgid "pyproject.toml takeaways" -msgstr "pyproject.tomlから得られる重要なこと" +msgstr "pyproject.toml の要点" #: ../../package-structure-code/pyproject-toml-python-package-metadata.md:6 msgid "" @@ -3046,24 +2987,22 @@ msgid "" "package: **[build-system]** and **[project]**. The **[project]** table " "stores your package's metadata." msgstr "" -"インストール可能なPythonパッケージに必要なテーブルは2つだけです: **[build-system]** と **[project]** です。" -" **[project]** テーブルにはパッケージのメタデータが格納されます。" +"インストール可能なPythonパッケージに必要なテーブルは2つだけです: **[build-system]** と **[project]** です。 " +"**[project]** テーブルにはパッケージのメタデータが格納されます。" #: ../../package-structure-code/pyproject-toml-python-package-metadata.md:7 -#, fuzzy msgid "" "There are two _required_ fields in the **[project]** table: **name=** and " "**version=**." -msgstr "**[project]** テーブルの必須フィールドは2つだけです: **name=** と **version=** です。" +msgstr "**[project]** テーブルには2つの _必須_ フィールドがあります:**name=** と **version=** です。" #: ../../package-structure-code/pyproject-toml-python-package-metadata.md:8 -#, fuzzy msgid "" "Add metadata to the classifiers section of your `pyproject.toml` file to " "make it easier for users to find your project on PyPI." msgstr "" -"`pyproject.toml` ファイルにメタデータを追加することをお勧めします。 " -"そうすることで、ユーザがPyPIであなたのプロジェクトを見つけやすくなります。" +"ユーザーが PyPI であなたのプロジェクトを見つけやすくするために、`pyproject.toml` ファイルの classifiers " +"セクションにメタデータを追加します。" #: ../../package-structure-code/pyproject-toml-python-package-metadata.md:9 msgid "" @@ -3077,14 +3016,13 @@ msgstr "" #: ../../package-structure-code/pyproject-toml-python-package-metadata.md:10 msgid "" -"There is no specific order for tables in the `pyproject.toml` file. However" -" fields need to be placed within the correct table sections. For example " -"`requires =` always need to be associated with the **[build-system]** " -"table." +"There is no specific order for tables in the `pyproject.toml` file. However " +"fields need to be placed within the correct table sections. For example " +"`requires =` always need to be associated with the **[build-system]** table." msgstr "" "`pyproject.toml` ファイル内のテーブルには特定の順番はありません。 " -"しかし、フィールドは正しいテーブルセクションに配置する必要があります。 例えば `requires =` は常に **[build-system]**" -" テーブルと関連付ける必要があります。" +"しかし、フィールドは正しいテーブルセクションに配置する必要があります。 例えば `requires =` は常に **[build-system]** " +"テーブルと関連付ける必要があります。" #: ../../package-structure-code/pyproject-toml-python-package-metadata.md:16 msgid "when these are published, remove this todo" @@ -3097,7 +3035,8 @@ msgid "" msgstr "pyproject.tomlファイルの作成にヘルプが必要ですか? このチュートリアルはそのプロセスを説明します。" #: ../../package-structure-code/pyproject-toml-python-package-metadata.md:39 -msgid "Click here if need help migrating from setup.py/setup.cfg to pyproject.toml" +msgid "" +"Click here if need help migrating from setup.py/setup.cfg to pyproject.toml" msgstr "setup.py/setup.cfg から pyproject.toml への移行にヘルプが必要な場合はここをクリックしてください。" #: ../../package-structure-code/pyproject-toml-python-package-metadata.md:50 @@ -3105,26 +3044,23 @@ msgid "About the pyproject.toml file" msgstr "pyproject.tomlファイルについて" #: ../../package-structure-code/pyproject-toml-python-package-metadata.md:52 -#, fuzzy msgid "" -"Every modern Python package should include a `pyproject.toml` file. For " -"pure Python packages, this file replaces the `setup.py` and/or `setup.cfg` " -"file to describe project metadata." +"Every modern Python package should include a `pyproject.toml` file. For pure" +" Python packages, this file replaces the `setup.py` and/or `setup.cfg` file " +"to describe project metadata." msgstr "" -"最近の Python パッケージには `pyproject.toml` ファイルが含まれているはずです。 もしあなたのプロジェクトが純粋な " -"Python で、メタデータを記述するために `setup.py` や `setup.cfg` ファイルを使っているなら、メタデータとビルド情報を " -"`pyproject.toml` ファイルに移行することを検討するべきです。" +"すべてのモダンな Python パッケージには `pyproject.toml` ファイルを含めるべきです。純粋な Python " +"パッケージでは、このファイルはプロジェクトのメタデータを記述するために `setup.py` や `setup.cfg` ファイルを置き換えます。" #: ../../package-structure-code/pyproject-toml-python-package-metadata.md:54 -#, fuzzy msgid "" -"If your project isn’t pure Python, you might still require a `setup.py` " -"file to build the non-Python extensions. However, a `pyproject.toml` file " -"should still be used to store your project’s metadata." +"If your project isn’t pure Python, you might still require a `setup.py` file" +" to build the non-Python extensions. However, a `pyproject.toml` file should" +" still be used to store your project’s metadata." msgstr "" -"あなたのプロジェクトが純粋な Python でない場合、Python 以外の拡張機能をビルドするために `setup.py` " -"ファイルが必要になるかもしれません。 しかし、プロジェクトのメタデータを保存するために `pyproject.toml` " -"ファイルを使用する必要があります。" +"プロジェクトが純粋な Python でない場合、Python 以外の拡張機能をビルドするために `setup.py` " +"ファイルが必要になるかもしれません。しかし、プロジェクトのメタデータを保存するためには引き続き `pyproject.toml` " +"ファイルを使用すべきです。" #: ../../package-structure-code/pyproject-toml-python-package-metadata.md:56 msgid "Tutorial" @@ -3133,22 +3069,22 @@ msgstr "チュートリアル" #: ../../package-structure-code/pyproject-toml-python-package-metadata.md:59 msgid "" "If you are migrating from a **setup.py** or **setup.cfg** file, and want " -"help, [check out this tutorial.](migrate-pyproj) [specify build " -"requirements and metadata is called a " -"**pyproject.toml**](https://packaging.python.org/en/latest/specifications" -"/declaring-project-metadata/)" -msgstr "" -"**setup.py** または **setup.cfg** ファイルから移行しており、サポートが必要な場合は、[このチュートリアルを確認してください" -"。](merge-pyproj) [ビルド要件を指定し、メタデータは **pyproject.toml** " -"と呼ばれます](https://packaging.python.org/en/latest/specations/declaring-" +"help, [check out this tutorial.](migrate-pyproj) [specify build requirements" +" and metadata is called a " +"**pyproject.toml**](https://packaging.python.org/en/latest/specifications/declaring-" "project-metadata/)" +msgstr "" +"**setup.py** または **setup.cfg** " +"ファイルから移行しており、サポートが必要な場合は、[このチュートリアルを確認してください。](merge-pyproj) " +"[ビルド要件を指定し、メタデータは **pyproject.toml** " +"と呼ばれます](https://packaging.python.org/en/latest/specations/declaring-project-" +"metadata/)" #: ../../package-structure-code/pyproject-toml-python-package-metadata.md:64 msgid "About the .toml format" msgstr ".toml フォーマットについて" #: ../../package-structure-code/pyproject-toml-python-package-metadata.md:66 -#, fuzzy msgid "" "The **pyproject.toml** file is written in [TOML (Tom's Obvious, Minimal " "Language) format](https://toml.io/en/). TOML is an easy-to-read structure " @@ -3156,19 +3092,18 @@ msgid "" "contains a `[table identifier]`. Below that table identifier are key/value " "pairs that support configuration for that particular table." msgstr "" -"**pyproject.toml**ファイルは [TOML(Tom's Obvious, Minimal " -"Language)フォーマット](https://toml.io/en/) で書かれています。 " -"TOMLは読みやすい構造で、キーと値のペアで成り立っています。 **pyproject.toml** ファイルの各セクションは `[テーブル識別子]`" -" を含んでいます。 そのテーブル識別子の下には、その特定のテーブルの設定をサポートするキーと値のペアがあります。" +"**pyproject.toml** ファイルは [TOML(Tom's Obvious, Minimal " +"Language)フォーマット](https://toml.io/en/) で書かれています。TOML " +"はキーと値のペアに基づく読みやすい構造です。**pyproject.toml** ファイルの各セクションには `[テーブル識別子]` " +"が含まれています。そのテーブル識別子の下には、そのテーブルの設定をサポートするキーと値のペアがあります。" #: ../../package-structure-code/pyproject-toml-python-package-metadata.md:70 msgid "Below `[build-system]` is considered a table in the toml language." msgstr "`[build-system]` 以下はtoml言語ではテーブルとみなされます。" #: ../../package-structure-code/pyproject-toml-python-package-metadata.md:71 -#, fuzzy msgid "Within the `build-system` table, `requires =` is a key." -msgstr "以下の `build-system` テーブルの中で `requires =` がキーです。" +msgstr "`build-system` テーブルの中で、`requires =` はキーです。" #: ../../package-structure-code/pyproject-toml-python-package-metadata.md:72 msgid "" @@ -3184,18 +3119,18 @@ msgstr "パッケージのビルド時にpyproject.tomlがどのように使用 msgid "" "When you publish to PyPI, you will notice that each package has metadata " "listed. Let’s have a look at [xclim](https://pypi.org/project/xclim/), one " -"of our [pyOpenSci packages](https://www.pyopensci.org/python-" -"packages.html). Notice that on the PyPI landing page you see some metadata " -"about the package including python, maintainer information and more. PyPI " -"is able to populate this metadata because it was defined using correct " -"syntax and classifiers by Xclim's maintainers, [pyproject.toml " -"file](https://github.com/Ouranosinc/xclim/blob/master/pyproject.toml). This" -" metadata when the xclim package is built, is translated into a " -"distribution file that allows PyPI to read the metadata and print it out on" -" their website." -msgstr "" -"PyPIに公開すると、各パッケージにメタデータがリストされていることに気づくでしょう。[pyOpenSciパッケージ](https://www.pyopensci.org" -"/python-packages.html) の一つである [xclim](https://pypi.org/project/xclim/) " +"of our [pyOpenSci packages](https://www.pyopensci.org/python-packages.html)." +" Notice that on the PyPI landing page you see some metadata about the " +"package including python, maintainer information and more. PyPI is able to " +"populate this metadata because it was defined using correct syntax and " +"classifiers by Xclim's maintainers, [pyproject.toml " +"file](https://github.com/Ouranosinc/xclim/blob/master/pyproject.toml). This " +"metadata when the xclim package is built, is translated into a distribution " +"file that allows PyPI to read the metadata and print it out on their " +"website." +msgstr "" +"PyPIに公開すると、各パッケージにメタデータがリストされていることに気づくでしょう。[pyOpenSciパッケージ](https://www.pyopensci.org/python-" +"packages.html) の一つである [xclim](https://pypi.org/project/xclim/) " "を見てみましょう。PyPIのランディングページには、pythonやメンテナ情報など、パッケージに関するメタデータが表示されていることに注目してください。PyPIは、Xclimのメンテナ" " [pyproject.toml " "file](https://github.com/Ouranosinc/xclim/blob/master/pyproject.toml) " @@ -3206,8 +3141,8 @@ msgstr "" msgid "" "Image showing the left side bar of PyPI for the package xclim. The section " "at the top says Classifier. Below there is a list of items including " -"Development status, intended audience, License, natural language, operating" -" system, programming language and topic. Below each of those sections are " +"Development status, intended audience, License, natural language, operating " +"system, programming language and topic. Below each of those sections are " "various classifier options.\" width=\"300px\">" msgstr "" "xclimパッケージのPyPI左サイドバーの画像です。一番上のセクションにはClassifierとあります。その下に、開発状況、対象読者、ライセンス、自然言語、オペレーティングシステム、プログラミング言語、トピックなどの項目があります。" @@ -3216,11 +3151,11 @@ msgstr "" #: ../../package-structure-code/pyproject-toml-python-package-metadata.md:91 #: ../../package-structure-code/python-package-distribution-files-sdist-wheel.md:87 msgid "" -"When you add the classifier section to your pyproject.toml and your package" -" is built, the build tool organizes the metadata into a format that PyPI " -"can understand and represent on your PyPI landing page. These classifiers " -"also allow users to sort through packages by version of python they " -"support, categories and more." +"When you add the classifier section to your pyproject.toml and your package " +"is built, the build tool organizes the metadata into a format that PyPI can " +"understand and represent on your PyPI landing page. These classifiers also " +"allow users to sort through packages by version of python they support, " +"categories and more." msgstr "" "pyproject.tomlにclassifierセクションを追加してパッケージがビルドされると、ビルドツールはメタデータをPyPIが理解できる形式に整理し、PyPIのランディングページに表示します。" " これらの分類子により、ユーザはサポートするpythonのバージョンやカテゴリなどでパッケージをソートすることもできます。" @@ -3232,8 +3167,8 @@ msgstr "pyproject.tomlファイルを使用する利点" #: ../../package-structure-code/pyproject-toml-python-package-metadata.md:98 msgid "" "Including your package's metadata in a separate human-readable " -"**pyproject.toml** format also allows someone to view the project's " -"metadata in a GitHub repository." +"**pyproject.toml** format also allows someone to view the project's metadata" +" in a GitHub repository." msgstr "" "パッケージのメタデータを人間が読める **pyproject.toml** " "形式で含めると、GitHubのリポジトリでプロジェクトのメタデータを見ることができます。" @@ -3244,28 +3179,27 @@ msgstr "Setup.py は、複雑なパッケージのビルドに便利です。" #: ../../package-structure-code/pyproject-toml-python-package-metadata.md:105 msgid "" -"Using **setup.py** to manage package builds and metadata [can cause " -"problems with package development](https://blog.ganssle.io/articles/2021/10" -"/setup-py-deprecated.html). In some cases where a Python package build is " -"complex, a **setup.py** file may be required. While this guide will not " -"cover complex builds, we will provide resources working with complex builds" -" in the future." +"Using **setup.py** to manage package builds and metadata [can cause problems" +" with package development](https://blog.ganssle.io/articles/2021/10/setup-" +"py-deprecated.html). In some cases where a Python package build is complex, " +"a **setup.py** file may be required. While this guide will not cover complex" +" builds, we will provide resources working with complex builds in the " +"future." msgstr "" "パッケージのビルドとメタデータを管理するために **setup.py** を使うことは " "[パッケージ開発に問題を引き起こす可能性があります](https://blog.ganssle.io/articles/2021/10/setup-" -"py-deprecated.html) 。 Python パッケージのビルドが複雑な場合、**setup.py** " -"ファイルが必要になるかもしれません。 このガイドでは複雑なビルドは扱いませんが、将来的には複雑なビルドを扱うリソースを提供する予定です。" +"py-deprecated.html) 。 Python パッケージのビルドが複雑な場合、**setup.py** ファイルが必要になるかもしれません。" +" このガイドでは複雑なビルドは扱いませんが、将来的には複雑なビルドを扱うリソースを提供する予定です。" #: ../../package-structure-code/pyproject-toml-python-package-metadata.md:111 -#, fuzzy msgid "Optional vs. required pyproject.toml file fields" -msgstr "pyproject.toml ファイルのフィールドの任意と必須" +msgstr "pyproject.toml ファイルのオプションフィールドと必須フィールド" #: ../../package-structure-code/pyproject-toml-python-package-metadata.md:113 msgid "" "When you create your `pyproject.toml` file, there are numerous metadata " -"fields that you can use. Below we suggest specific fields to get you " -"started that support publication on PyPI and users finding your package." +"fields that you can use. Below we suggest specific fields to get you started" +" that support publication on PyPI and users finding your package." msgstr "" "`pyproject.toml` ファイルを作成するとき、使用できるメタデータフィールドがたくさんあります。 以下では、PyPI " "での公開とユーザがあなたのパッケージを見つけることをサポートする、特定のフィールドを提案します。" @@ -3273,11 +3207,11 @@ msgstr "" #: ../../package-structure-code/pyproject-toml-python-package-metadata.md:115 msgid "" "[An overview of all of the project metadata elements can be found " -"here.](https://packaging.python.org/en/latest/specifications/core-metadata" -"/#project-url-multiple-use)" +"here.](https://packaging.python.org/en/latest/specifications/core-" +"metadata/#project-url-multiple-use)" msgstr "" -"[プロジェクトの全メタデータ要素の概要は、こちらをご覧ください。](https://packaging.python.org/en/latest/specifications" -"/core-metadata/#project-url-multiple-use)" +"[プロジェクトの全メタデータ要素の概要は、こちらをご覧ください。](https://packaging.python.org/en/latest/specifications/core-" +"metadata/#project-url-multiple-use)" #: ../../package-structure-code/pyproject-toml-python-package-metadata.md:117 msgid "Required fields for the `[project]` table" @@ -3288,8 +3222,8 @@ msgid "" "As mentioned above, your `pyproject.toml` file needs to have a **`name`** " "and **`version`** field in order to properly build your package:" msgstr "" -"上述したように、 `pyproject.toml` ファイルはパッケージを適切にビルドするために **`name`** と **`version`**" -" フィールドを持つ必要があります:" +"上述したように、 `pyproject.toml` ファイルはパッケージを適切にビルドするために **`name`** と **`version`** " +"フィールドを持つ必要があります:" #: ../../package-structure-code/pyproject-toml-python-package-metadata.md:121 msgid "`name`: This is the name of your project provided as a string" @@ -3297,9 +3231,9 @@ msgstr "`name`: プロジェクトの名前を文字列で指定します。" #: ../../package-structure-code/pyproject-toml-python-package-metadata.md:122 msgid "" -"`version`: This is the version of your project. If you are using a SCM tool" -" for versioning (using git tags to determine versions), then the version " -"may be dynamic (more on that below)." +"`version`: This is the version of your project. If you are using a SCM tool " +"for versioning (using git tags to determine versions), then the version may " +"be dynamic (more on that below)." msgstr "" "`version`: プロジェクトのバージョンです。 バージョン管理に SCM ツール (git タグを使用してバージョンを決定する) " "を使用している場合は、このバージョンは動的なものになります (詳細は後述します)。" @@ -3311,8 +3245,8 @@ msgstr "`[project]` テーブルに含めるオプションフィールド" #: ../../package-structure-code/pyproject-toml-python-package-metadata.md:126 msgid "" "We strongly suggest that you also add the metadata keys below as they will " -"help users finding your package on PyPI. These fields will make it clear " -"how your package is structured, what platforms you support and what " +"help users finding your package on PyPI. These fields will make it clear how" +" your package is structured, what platforms you support and what " "dependencies your package requires." msgstr "" "以下のメタデータキーも追加することを強くお勧めします。 " @@ -3333,8 +3267,8 @@ msgstr "" #: ../../package-structure-code/pyproject-toml-python-package-metadata.md:133 msgid "" -"**Requires-python** (used by pip): this is a field that is used by pip. " -"Here you tell the installer whether you are using Python 2.x or 3.x. Most " +"**Requires-python** (used by pip): this is a field that is used by pip. Here" +" you tell the installer whether you are using Python 2.x or 3.x. Most " "projects will be using 3.x." msgstr "" "**Requires-python** (pipで使用): これはpipが使用するフィールドです。 ここでは、Python " @@ -3365,8 +3299,8 @@ msgid "" "**project.dependencies:** The dependency group is optional because not all " "packages require dependencies. However, if your project has specific " "dependencies, include this section in your `pyproject.toml`. Dependencies " -"declared in the pyproject.toml file will be installed by uv or pip when " -"your project is installed." +"declared in the pyproject.toml file will be installed by uv or pip when your" +" project is installed." msgstr "" "**project.dependency:** " "すべてのパッケージが依存関係を必要とするわけではないため、依存関係グループはオプションです。ただし、プロジェクトに特定の依存関係がある場合は、このセクションを" @@ -3374,26 +3308,26 @@ msgstr "" "uv または pip によってインストールされます。" #: ../../package-structure-code/pyproject-toml-python-package-metadata.md:146 -#, fuzzy msgid "" -"**project.optional-dependencies:** Optional or feature dependencies will be" -" installed if someone runs `python -m pip install projectname[feature]`. " -"Use this array to declare dependencies that add specific features to your " +"**project.optional-dependencies:** Optional or feature dependencies will be " +"installed if someone runs `python -m pip install projectname[feature]`. Use " +"this array to declare dependencies that add specific features to your " "package that are not installed by default when a user runs `uv sync` or " "`python -m pip install packagename`." msgstr "" -"**`[project.optional-dependencies]`:** 誰かが `python -m pip install " -"projectname[dev]` を実行したときに、オプションまたは開発用の依存パッケージがインストールされます。 " -"これは、あなたのプロジェクトに貢献したいユーザのために、開発用の依存関係を含める良い方法です。" +"**project.optional-dependencies:** 誰かが `python -m pip install " +"projectname[feature]` を実行すると、オプションまたは機能の依存関係がインストールされます。ユーザーが `uv sync` や " +"`python -m pip install packagename` " +"を実行したときにはデフォルトでインストールされない、パッケージに特定の機能を追加する依存関係を宣言するためにこの配列を使います。" #: ../../package-structure-code/pyproject-toml-python-package-metadata.md:147 msgid "" -"**dependency-groups:** Dependency groups organize packages and tools that a" -" contributor or developer would need to work on your package. These " -"dependencies may include tools for building and running tests, linters, and" -" code formatters. This is an optional but highly suggested way to organize " -"and install dependencies. This section can replace a requirements.txt file." -" [Learn more about adding these to your package in the PyPA guide " +"**dependency-groups:** Dependency groups organize packages and tools that a " +"contributor or developer would need to work on your package. These " +"dependencies may include tools for building and running tests, linters, and " +"code formatters. This is an optional but highly suggested way to organize " +"and install dependencies. This section can replace a requirements.txt file. " +"[Learn more about adding these to your package in the PyPA guide " "here.](https://packaging.python.org/en/latest/specifications/dependency-" "groups/)" msgstr "" @@ -3414,18 +3348,17 @@ msgstr "" "人々があなたのパッケージを検索するときに使う言葉だと考えてください。" #: ../../package-structure-code/pyproject-toml-python-package-metadata.md:149 -#, fuzzy msgid "" -"**classifiers:** The classifiers section of your metadata is also important" -" for the landing page of your package in PyPI and for filtering of packages" -" in PyPI. A list of [all options for classifiers can be found " +"**classifiers:** The classifiers section of your metadata is also important " +"for the landing page of your package in PyPI and for filtering of packages " +"in PyPI. A list of [all options for classifiers can be found " "here](https://PyPI.org/classifiers/). Some of the classifiers that you " "should consider including" msgstr "" -"**classifiers:** " -"メタデータのclassifiersセクションは、PyPIでのパッケージのランディングページや、PyPIでのパッケージのフィルタリングにも重要です。 " -"[分類子の全オプションはこちらです](https://PyPI.org/classifiers/) 。 " -"以下のようなクラシファイアを検討する必要があります。" +"**classifiers:** メタデータの classifiers セクションは、PyPI でのパッケージのランディングページや、PyPI " +"でのパッケージのフィルタリングにも重要です。[classifiers " +"のすべてのオプションはこちらで確認できます](https://PyPI.org/classifiers/)。含めることを検討すべき " +"classifiers には次のようなものがあります" #: ../../package-structure-code/pyproject-toml-python-package-metadata.md:150 msgid "Development Status" @@ -3450,9 +3383,9 @@ msgstr "pyproject.tomlファイルの高度なオプション" #: ../../package-structure-code/pyproject-toml-python-package-metadata.md:157 msgid "" "**`[project.scripts]` (Entry points):** Entry points are optional. If you " -"have a command line tool that runs a specific script hosted in your " -"package, you may include an entry point to call that script directly at the" -" command line (rather than at the Python shell)." +"have a command line tool that runs a specific script hosted in your package," +" you may include an entry point to call that script directly at the command " +"line (rather than at the Python shell)." msgstr "" "**`[project.scripts]` (Entry points):** エントリーポイントは任意です。 " "パッケージでホストされている特定のスクリプトを実行するコマンドラインツールがある場合、そのスクリプトを(Pythonシェルではなく)コマンドラインで直接呼び出すためのエントリポイントを含めることができます" @@ -3463,24 +3396,23 @@ msgid "" "Here is an example of[a package that has entry point " "script](https://github.com/pyOpenSci/pyosMeta/blob/main/pyproject.toml#L60)s." " Notice that there are several core scripts defined in that package that " -"perform sets of tasks. The pyOpenSci is using those scripts to process " -"their metadata." +"perform sets of tasks. The pyOpenSci is using those scripts to process their" +" metadata." msgstr "" "以下は、[エントリーポイントスクリプトを持つパッケージ](https://github.com/pyOpenSci/pyosMeta/blob/main/pyproject.toml#L60)" " の例である。 そのパッケージには、一連のタスクを実行するいくつかのコアスクリプトが定義されていることに注目してほしい。 " "pyOpenSciはこれらのスクリプトを使ってメタデータを処理しています。" #: ../../package-structure-code/pyproject-toml-python-package-metadata.md:160 -#, fuzzy msgid "" "Use **Dynamic Fields** If you have fields that are dynamically populated. " "For example, you may wish to automatically update your package's version " -"using Git tags (SCM/version control-based versioning). Example: **dynamic " -"= [\"version\"]**" +"using Git tags (SCM/version control-based versioning). Example: **dynamic =" +" [\"version\"]**" msgstr "" -"**ダイナミックフィールド:** 動的に入力されるフィールドがある場合。 " -"`setuptooms_scm`のようなツールでscm/バージョン管理ベースのバージョンを使用している場合、ダイナミックフィールドを使用することができます。" -" (scmを使用した)バージョンなど **dynamic = [\"version\"]**" +"フィールドが動的に設定される場合は **ダイナミックフィールド** を使用します。たとえば、Git " +"タグを使ってパッケージのバージョンを自動的に更新したい場合(SCM/バージョン管理ベースのバージョニング)などです。例:**dynamic = " +"[\"version\"]**" #: ../../package-structure-code/pyproject-toml-python-package-metadata.md:162 #: ../../package-structure-code/python-package-build-tools.md:398 @@ -3488,22 +3420,20 @@ msgid "Add dependencies to your pyproject.toml file" msgstr "pyproject.tomlファイルに依存関係を追加" #: ../../package-structure-code/pyproject-toml-python-package-metadata.md:164 -#, fuzzy msgid "" -"The `pyproject.toml` file is a modern replacement for the " -"`requirements.txt` file, which has been traditionally used to store " -"development dependencies and also configuration for tools such as pytest, " -"black, and others." -msgstr "pyproject.tomlファイルは、従来pytestのような開発依存ファイル、Blackのようなコードフォーマッタ、sphinxのようなドキュメントツールを保存するために使われてきたrequirements.txtファイルの代わりとして使うこともできます。" +"The `pyproject.toml` file is a modern replacement for the `requirements.txt`" +" file, which has been traditionally used to store development dependencies " +"and also configuration for tools such as pytest, black, and others." +msgstr "" +"`pyproject.toml` ファイルは、開発用の依存関係や pytest、black などのツールの設定を保存するために伝統的に使われてきた " +"`requirements.txt` ファイルのモダンな代替です。" #: ../../package-structure-code/pyproject-toml-python-package-metadata.md:166 -#, fuzzy msgid "" "To add development dependencies to your build, add a `[dependency-groups]` " "array to your pyproject.toml file." msgstr "" -"ビルドに依存関係を追加するには、 `[project.optional-dependencies]` " -"テーブルをpyproject.tomlファイルに追加します。" +"ビルドに開発用の依存関係を追加するには、pyproject.toml ファイルに `[dependency-groups]` 配列を追加します。" #: ../../package-structure-code/pyproject-toml-python-package-metadata.md:168 msgid "Then specify dependency groups as follows:" @@ -3547,8 +3477,9 @@ msgid "" "You can also setup sets of recursive dependencies. [See this blog post for " "more.](https://hynek.me/articles/python-recursive-optional-dependencies/)" msgstr "" -"再帰的依存関係のセットをセットアップすることもできます。 [詳しくはこのブログ記事を参照。](https://hynek.me/articles" -"/python-recursive-optional-dependencies/)" +"再帰的依存関係のセットをセットアップすることもできます。 " +"[詳しくはこのブログ記事を参照。](https://hynek.me/articles/python-recursive-optional-" +"dependencies/)" #: ../../package-structure-code/pyproject-toml-python-package-metadata.md:195 msgid "Example pyproject.toml for building using hatchling" @@ -3557,8 +3488,8 @@ msgstr "hatchlingを使用してビルドするpyproject.tomlの例" #: ../../package-structure-code/pyproject-toml-python-package-metadata.md:197 msgid "" "Below is an example build configuration for a Python project. This example " -"package setup uses **hatchling** to build the [package's sdist and wheels" -"](python-package-distribution-files-sdist-wheel)." +"package setup uses **hatchling** to build the [package's sdist and " +"wheels](python-package-distribution-files-sdist-wheel)." msgstr "" "以下は Python プロジェクトのビルド設定の例です。 このパッケージの設定例では、 [パッケージの sdist と wheel](python-" "package-distribution-files-sdist-wheel) をビルドするのに **hatchling** を使っています。" @@ -3573,10 +3504,10 @@ msgstr "setuptoolsを使ってビルドするpyproject.tomlの例" #: ../../package-structure-code/pyproject-toml-python-package-metadata.md:209 msgid "" -"The package metadata including authors, keywords, etc is also easy to read." -" Below you can see the same TOML file that uses a different build system " -"(setuptools). Notice how simple it is to swap out the tools needed to build" -" this package!" +"The package metadata including authors, keywords, etc is also easy to read. " +"Below you can see the same TOML file that uses a different build system " +"(setuptools). Notice how simple it is to swap out the tools needed to build " +"this package!" msgstr "" "作者やキーワードなどを含むパッケージのメタデータも読みやすいです。 " "下の図は、異なるビルドシステム(setuptools)を使った同じTOMLファイルです。 " @@ -3591,8 +3522,8 @@ msgid "" "**setuptools** to build the [package's sdist and wheels](python-package-" "distribution-files-sdist-wheel)" msgstr "" -"[パッケージのsdistとwheel](python-package-distribution-files-sdist-wheel) " -"をビルドするための **setuptools** 。" +"[パッケージのsdistとwheel](python-package-distribution-files-sdist-wheel) をビルドするための" +" **setuptools** 。" #: ../../package-structure-code/pyproject-toml-python-package-metadata.md:216 msgid "" @@ -3619,8 +3550,8 @@ msgstr "`build-back-end =`" #: ../../package-structure-code/pyproject-toml-python-package-metadata.md:229 msgid "" "[Click here to read about our packaging build tools including PDM, " -"setuptools, Poetry and Hatch.](/package-structure-code/python-package-" -"build-tools)" +"setuptools, Poetry and Hatch.](/package-structure-code/python-package-build-" +"tools)" msgstr "" "[PDM、setuptools、Poetry、Hatch などのパッケージビルドツールについてはこちらをご覧ください。](/package-" "structure-code/python-package-build-tools)" @@ -3639,13 +3570,13 @@ msgid "" "Python package's _sdist_ and _wheel_ distributions](python-package-" "distribution-files-sdist-wheel). Below, we discuss the features, benefits " "and limitations of the most commonly used Python packaging tools. We focus " -"on pure-python packages in this guide. However, we also highlight tools " -"that currently support packages with C/C++ and other language extensions." +"on pure-python packages in this guide. However, we also highlight tools that" +" currently support packages with C/C++ and other language extensions." msgstr "" "[Python パッケージの _sdist_ ディストリビューションと _wheel_ ディストリビューションを作成する](python-" -"package-distribution-files-sdist-wheel) ために使えるビルドツールはいくつかあります。 " -"以下では、最もよく使われる Python パッケージングツールの機能、利点、制限について説明します。 このガイドでは純粋な Python " -"パッケージに焦点を当てます。 しかし、現在C/C++やその他の言語拡張を含むパッケージをサポートしているツールも紹介します。" +"package-distribution-files-sdist-wheel) ために使えるビルドツールはいくつかあります。 以下では、最もよく使われる" +" Python パッケージングツールの機能、利点、制限について説明します。 このガイドでは純粋な Python パッケージに焦点を当てます。 " +"しかし、現在C/C++やその他の言語拡張を含むパッケージをサポートしているツールも紹介します。" #: ../../package-structure-code/python-package-build-tools.md:14 msgid "" @@ -3663,21 +3594,22 @@ msgstr "" #: ../../package-structure-code/python-package-build-tools.md:16 msgid "" -"Diagram showing the different front end build tools available to use in the" -" Python package ecosystem that you can select from. We selected tools to " +"Diagram showing the different front end build tools available to use in the " +"Python package ecosystem that you can select from. We selected tools to " "include in this diagram based upon the PyPI survey which helped us " -"understand the most populate tools in the ecosystem. Each tool has " -"different features as highlighted below." -msgstr "Pythonパッケージのエコシステムで利用可能な、さまざまなフロントエンドビルドツールを示す図です。この図に含めるツールは、エコシステムで最も利用されているツールを理解するのに役立ったPyPI調査に基づいて選択しました。各ツールには、以下のように異なる特徴があります。" +"understand the most populate tools in the ecosystem. Each tool has different" +" features as highlighted below." +msgstr "" +"Pythonパッケージのエコシステムで利用可能な、さまざまなフロントエンドビルドツールを示す図です。この図に含めるツールは、エコシステムで最も利用されているツールを理解するのに役立ったPyPI調査に基づいて選択しました。各ツールには、以下のように異なる特徴があります。" #: ../../package-structure-code/python-package-build-tools.md:19 msgid "" -"If you want to know more about Python packages that have extensions written" -" in other languages, [check out the page on complex package builds" -".](complex-python-package-builds)" +"If you want to know more about Python packages that have extensions written " +"in other languages, [check out the page on complex package builds.](complex-" +"python-package-builds)" msgstr "" -"他の言語で書かれた拡張機能を持つPythonパッケージについてもっと知りたい場合は、 [複雑なパッケージのビルドのページをチェックしてください" -"](complex-python-package-builds)" +"他の言語で書かれた拡張機能を持つPythonパッケージについてもっと知りたい場合は、 " +"[複雑なパッケージのビルドのページをチェックしてください](complex-python-package-builds)" #: ../../package-structure-code/python-package-build-tools.md:22 msgid "Tools that we review here" @@ -3688,7 +3620,8 @@ msgid "" "In this section we have selected tools that were returned as the most " "popular packaging tools in the PyPA survey. You will learn more about the " "following tools on this page:" -msgstr "このセクションでは、PyPAのアンケートで最も人気のあったパッケージングツールを紹介します。 このページでは以下のツールについて詳しく説明します:" +msgstr "" +"このセクションでは、PyPAのアンケートで最も人気のあったパッケージングツールを紹介します。 このページでは以下のツールについて詳しく説明します:" #: ../../package-structure-code/python-package-build-tools.md:28 msgid "" @@ -3709,9 +3642,8 @@ msgid "[Hatch](https://hatch.pypa.io/latest/)" msgstr "[Hatch](https://hatch.pypa.io/latest/)" #: ../../package-structure-code/python-package-build-tools.md:31 -#, fuzzy msgid "[PDM](https://pdm-project.org/latest/)" -msgstr "[PDM](https://pdm.fming.dev/latest/)" +msgstr "[PDM](https://pdm-project.org/latest/)" #: ../../package-structure-code/python-package-build-tools.md:32 msgid "[Poetry](https://python-poetry.org/docs/)" @@ -3727,10 +3659,11 @@ msgstr "簡単な要約をお探しの方は、以下をお読みください。 #: ../../package-structure-code/python-package-build-tools.md:39 msgid "" -"In general, any modern tool that you select from this page will be great to" -" build your package. Selecting a tool comes down to the features that you " -"are looking for in your workflow." -msgstr "一般的に、このページから選択した最新のツールは、パッケージを構築するのに適しています。 ツールの選択は、ワークフローに求める機能によって決まります。" +"In general, any modern tool that you select from this page will be great to " +"build your package. Selecting a tool comes down to the features that you are" +" looking for in your workflow." +msgstr "" +"一般的に、このページから選択した最新のツールは、パッケージを構築するのに適しています。 ツールの選択は、ワークフローに求める機能によって決まります。" #: ../../package-structure-code/python-package-build-tools.md:40 msgid "" @@ -3741,8 +3674,8 @@ msgstr "初心者の方は、 setuptools の複雑な操作ではなく、PDMの #: ../../package-structure-code/python-package-build-tools.md:41 msgid "" "If you are going to use Poetry (it is the most popular tool and does have " -"the best documentation) beware of the upper bounds dependency additions and" -" consider overriding dependencies when you add them. If you do that Poetry " +"the best documentation) beware of the upper bounds dependency additions and " +"consider overriding dependencies when you add them. If you do that Poetry " "will work well for pure-python builds! Poetry also has an active discord " "where you can ask questions." msgstr "" @@ -3783,17 +3716,17 @@ msgstr "Hatch:" #: ../../package-structure-code/python-package-build-tools.md:53 msgid "" "Offers matrix environment management that allows you to run tests across " -"Python versions. If this feature is important to you, then Hatch is a clear" -" winner." +"Python versions. If this feature is important to you, then Hatch is a clear " +"winner." msgstr "" "Pythonのバージョンにまたがってテストを実行できるマトリックス環境管理を提供します。 もしこの機能があなたにとって重要なら、Hatch " "が明らかに勝者です。" #: ../../package-structure-code/python-package-build-tools.md:54 msgid "" -"Offers a Nox / Make file like tool to streamline your build workflow. If " -"you are looking to reduce the number of tools in your workflow, Hatch might" -" be for you." +"Offers a Nox / Make file like tool to streamline your build workflow. If you" +" are looking to reduce the number of tools in your workflow, Hatch might be " +"for you." msgstr "" "ビルドワークフローを効率化するNox/Makeファイルのようなツールを提供します。 " "ワークフローにおけるツールの数を減らしたいのであれば、Hatchはうってつけかもしれません。" @@ -3807,7 +3740,8 @@ msgid "" "To better understand your options, when it comes to building a Python " "package, it's important to first understand the difference between a build " "tool front-end and build back-end." -msgstr "Pythonパッケージのビルドに関して、あなたの選択肢をよりよく理解するためには、まずビルドツールのフロントエンドとビルドのバックエンドの違いを理解することが重要です。" +msgstr "" +"Pythonパッケージのビルドに関して、あなたの選択肢をよりよく理解するためには、まずビルドツールのフロントエンドとビルドのバックエンドの違いを理解することが重要です。" #: ../../package-structure-code/python-package-build-tools.md:64 msgid "Build back-ends" @@ -3815,26 +3749,26 @@ msgstr "バックエンドのビルド" #: ../../package-structure-code/python-package-build-tools.md:66 msgid "" -"Most packaging tools have a back-end build tool that builds you package and" -" creates associated [(sdist and wheel) distribution files](python-package-" -"distribution-files-sdist-wheel). Some tools, such as **Flit**, only support" -" pure-Python package builds. A pure-Python build refers to a package build " +"Most packaging tools have a back-end build tool that builds you package and " +"creates associated [(sdist and wheel) distribution files](python-package-" +"distribution-files-sdist-wheel). Some tools, such as **Flit**, only support " +"pure-Python package builds. A pure-Python build refers to a package build " "that does not have extensions that are written in another programming " "language (such as `C` or `C++`)." msgstr "" "ほとんどのパッケージングツールには、パッケージをビルドし、関連する [(sdistとwheel)配布ファイル](python-package-" "distribution-files-sdist-wheel) を作成するバックエンドビルドツールがあります。 **Flit** " -"のようないくつかのツールは、純粋なPythonパッケージのビルドのみをサポートしています。 純粋な Python のビルドとは、他のプログラミング言語" -" (`C` や `C++` など) で書かれた拡張機能を持たないパッケージのビルドを指します。" +"のようないくつかのツールは、純粋なPythonパッケージのビルドのみをサポートしています。 純粋な Python のビルドとは、他のプログラミング言語 " +"(`C` や `C++` など) で書かれた拡張機能を持たないパッケージのビルドを指します。" #: ../../package-structure-code/python-package-build-tools.md:73 msgid "" -"Other packages that have C and C++ extensions (or that wrap other languages" -" such as fortran) require additional code compilation steps when built. " -"Back-ends such as **setuptools.build**, **meson.build** and **scikit-" -"build** support complex builds with custom steps. If your build is " -"particularly complex (i.e. you have more than a few `C`/`C++` extensions), " -"then we suggest you use **meson.build** or **scikit-build**." +"Other packages that have C and C++ extensions (or that wrap other languages " +"such as fortran) require additional code compilation steps when built. Back-" +"ends such as **setuptools.build**, **meson.build** and **scikit-build** " +"support complex builds with custom steps. If your build is particularly " +"complex (i.e. you have more than a few `C`/`C++` extensions), then we " +"suggest you use **meson.build** or **scikit-build**." msgstr "" "C や C++の拡張を持つ他のパッケージ(あるいは fortran " "のような他の言語を包含するパッケージ)は、ビルド時に追加のコードコンパイルステップを必要とします。 **setuptools.build** 、 " @@ -3848,9 +3782,8 @@ msgstr "Pythonパッケージビルドフロントエンド" #: ../../package-structure-code/python-package-build-tools.md:81 msgid "" -"A packaging front-end tool refers to a tool that makes it easier for you to" -" perform common packaging tasks using similar commands. These tasks " -"include:" +"A packaging front-end tool refers to a tool that makes it easier for you to " +"perform common packaging tasks using similar commands. These tasks include:" msgstr "" "パッケージングフロントエンドツールとは、同様のコマンドを使用して一般的なパッケージングタスクを簡単に実行できるようにするツールのことです。 " "これらのタスクには以下のようなものがあります:" @@ -3865,8 +3798,8 @@ msgstr "" #: ../../package-structure-code/python-package-build-tools.md:85 msgid "" -"Installing your package in a development mode (so it updates when you " -"update your code)" +"Installing your package in a development mode (so it updates when you update" +" your code)" msgstr "開発モードでパッケージをインストールします (コードを更新したときに更新されるようにします)" #: ../../package-structure-code/python-package-build-tools.md:86 @@ -3893,18 +3826,18 @@ msgid "" "builds. Each front-end tool discussed below supports a slightly different " "set of Python packaging tasks." msgstr "" -"純粋な Python のビルドに使える Python パッケージングツールがいくつかあります。 以下で説明する各フロントエンドツールは、少しずつ異なる" -" Python パッケージングタスクをサポートしています。" +"純粋な Python のビルドに使える Python パッケージングツールがいくつかあります。 以下で説明する各フロントエンドツールは、少しずつ異なる " +"Python パッケージングタスクをサポートしています。" #: ../../package-structure-code/python-package-build-tools.md:95 msgid "" -"For instance, you can use the packaging tools **Flit**, **Hatch** or " -"**PDM** to both build and publish your package to PyPI. However while " -"**Hatch** and **PDM** support versioning and environment management, " -"**Flit** does not. If you want a tool that supports dependency locking, you" -" can use **PDM** or **Poetry** but not **Hatch**. If you only need to build" -" your package's sdist and wheel distribution files, then you can stick with" -" PyPA's Build. You'd then use Twine to publish to PyPI." +"For instance, you can use the packaging tools **Flit**, **Hatch** or **PDM**" +" to both build and publish your package to PyPI. However while **Hatch** and" +" **PDM** support versioning and environment management, **Flit** does not. " +"If you want a tool that supports dependency locking, you can use **PDM** or " +"**Poetry** but not **Hatch**. If you only need to build your package's sdist" +" and wheel distribution files, then you can stick with PyPA's Build. You'd " +"then use Twine to publish to PyPI." msgstr "" "例えば、パッケージングツールの **Flit**、**Hatch**、**PDM** を使って、パッケージのビルドと PyPI " "への公開の両方を行うことができます。 しかし、**Hatch**と**PDM**はバージョン管理と環境管理をサポートしていますが、 **Flit** " @@ -3941,14 +3874,13 @@ msgstr "ビルドバックエンドの選択" #: ../../package-structure-code/python-package-build-tools.md:129 msgid "" -"Most front-end packaging tools have their own back-end build tool. The " -"build tool creates your package's (sdist and wheel) distribution files. For" -" pure Python packages, the main difference between the different build " -"back-ends discussed below is:" +"Most front-end packaging tools have their own back-end build tool. The build" +" tool creates your package's (sdist and wheel) distribution files. For pure " +"Python packages, the main difference between the different build back-ends " +"discussed below is:" msgstr "" -"ほとんどのフロントエンドパッケージングツールは、独自のバックエンドビルドツールを持っています。 ビルドツールはパッケージの " -"(sdistやwheelの) 配布ファイルを作成します。 " -"純粋なPythonパッケージの場合、以下で説明するビルドバックエンド間の主な違いは以下の通りです:" +"ほとんどのフロントエンドパッケージングツールは、独自のバックエンドビルドツールを持っています。 ビルドツールはパッケージの (sdistやwheelの)" +" 配布ファイルを作成します。 純粋なPythonパッケージの場合、以下で説明するビルドバックエンド間の主な違いは以下の通りです:" #: ../../package-structure-code/python-package-build-tools.md:134 msgid "" @@ -3958,8 +3890,8 @@ msgstr "設定可能性 - 例えば、Python以外の拡張機能をサポート #: ../../package-structure-code/python-package-build-tools.md:135 msgid "" -"How much you need to configure them to ensure the correct files are " -"included in your sdist and wheel distributions." +"How much you need to configure them to ensure the correct files are included" +" in your sdist and wheel distributions." msgstr "正しいファイルがsdistとwheelディストリビューションに含まれていることを確認するために、どの程度設定する必要があるか。" #: ../../package-structure-code/python-package-build-tools.md:137 @@ -3994,8 +3926,8 @@ msgstr "PDMのバックエンドは、setuptoolsを使用してC / C++拡張を #: ../../package-structure-code/python-package-build-tools.md:145 msgid "" "Poetry's back-end supports C/C++ extensions however this functionality is " -"currently undocumented. As such we don't recommend using Poetry for complex" -" or non pure Python builds until it is documented." +"currently undocumented. As such we don't recommend using Poetry for complex " +"or non pure Python builds until it is documented." msgstr "" "PoetryのバックエンドはC/C++拡張をサポートしていますが、この機能は現在ドキュメント化されていません。 " "そのため、ドキュメント化されるまでは、複雑なビルドや純粋なPython以外のビルドにPoetryを使うことはお勧めしません。" @@ -4012,9 +3944,9 @@ msgstr "Pythonビルドツールのエコシステム" #: ../../package-structure-code/python-package-build-tools.md:152 msgid "" -"Below we introduce several of the most commonly used Python packaging build" -" front-end tools. We highlight the features that each tool offers as a way " -"to help you decide what tool might be best for your workflow." +"Below we introduce several of the most commonly used Python packaging build " +"front-end tools. We highlight the features that each tool offers as a way to" +" help you decide what tool might be best for your workflow." msgstr "" "以下では、最もよく使われる Python パッケージングビルドフロントエンドツールをいくつか紹介します。 " "どのツールがあなたのワークフローに最適かを決める手助けとして、各ツールが提供する機能を強調します。" @@ -4026,38 +3958,41 @@ msgstr "setuptools の使用はお勧めしません" #: ../../package-structure-code/python-package-build-tools.md:159 msgid "" "We suggest that you pick one of the modern tools listed above rather than " -"setuptools because setuptools will require some additional knowledge to set" -" up correctly." -msgstr "setuptoolsは、正しくセットアップするためにいくつかの追加知識を必要とするため、setuptoolsではなく、上記の近代的なツールのいずれかを選択することをお勧めします。" +"setuptools because setuptools will require some additional knowledge to set " +"up correctly." +msgstr "" +"setuptoolsは、正しくセットアップするためにいくつかの追加知識を必要とするため、setuptoolsではなく、上記の近代的なツールのいずれかを選択することをお勧めします。" #: ../../package-structure-code/python-package-build-tools.md:163 msgid "" "We review setuptools as a back-end because it is still popular. However it " "is not the most user friendly option." -msgstr "バックエンドとしてsetuptoolsをレビューするのは、今でも人気があるからです。 しかし、それは最もユーザーフレンドリーなオプションではありません。" +msgstr "" +"バックエンドとしてsetuptoolsをレビューするのは、今でも人気があるからです。 しかし、それは最もユーザーフレンドリーなオプションではありません。" #: ../../package-structure-code/python-package-build-tools.md:167 msgid "" -"The most commonly used tools in the ecosystem are setuptools back-end (with" -" build) and Poetry (a front end tool with numerous features and excellent " +"The most commonly used tools in the ecosystem are setuptools back-end (with " +"build) and Poetry (a front end tool with numerous features and excellent " "documentation)." -msgstr "エコシステムで最もよく使われるツールは、setuptoolsのバックエンド(ビルド機能付き)とPoetry(多数の機能と優れたドキュメントを備えたフロントエンドツール)です。" +msgstr "" +"エコシステムで最もよく使われるツールは、setuptoolsのバックエンド(ビルド機能付き)とPoetry(多数の機能と優れたドキュメントを備えたフロントエンドツール)です。" #: ../../package-structure-code/python-package-build-tools.md:173 msgid "" -"Graph showing the results of the 2022 PyPA survey of Python packaging " -"tools. On the x axis is percent response and on the y axis are the tools." +"Graph showing the results of the 2022 PyPA survey of Python packaging tools." +" On the x axis is percent response and on the y axis are the tools." msgstr "2022年のPyPAによるPythonパッケージングツールの調査結果を示すグラフです。 X軸は回答率、Y軸はツールです。" #: ../../package-structure-code/python-package-build-tools.md:175 msgid "" "The Python developers survey results (n=>8,000 PyPI users) show setuptools " -"and poetry as the most commonly used Python packaging tools. The core tools" -" that we've seen being used in the scientific community are included here. " +"and poetry as the most commonly used Python packaging tools. The core tools " +"that we've seen being used in the scientific community are included here. " "[You can view the full survey results by clicking " "here.](https://drive.google.com/file/d/1U5d5SiXLVkzDpS0i1dJIA4Hu5Qg704T9/view)" -" NOTE: this data represent maintainers across domains and is likely heavily" -" represented by those in web development. So this represents a snapshot " +" NOTE: this data represent maintainers across domains and is likely heavily " +"represented by those in web development. So this represents a snapshot " "across the broader Python ecosystem." msgstr "" "Python developers survey results (n=>8,000 PyPI " @@ -4115,9 +4050,9 @@ msgstr "ツールを選ぶ際には、このような一般的な質問の流れ #: ../../package-structure-code/python-package-build-tools.md:191 msgid "" -"**Is your tool pure python? Yes?** You can use any tool that you wish! Pick" -" the tool that has the features that you want to use in your build " -"workflow. We suggest:" +"**Is your tool pure python? Yes?** You can use any tool that you wish! Pick " +"the tool that has the features that you want to use in your build workflow. " +"We suggest:" msgstr "" "**あなたのツールは純粋なパイソンですか?はい?** お好きなツールをお使いください! " "あなたのビルドワークフローで使いたい機能を持つツールを選んでください。 お勧めは:" @@ -4131,9 +4066,9 @@ msgid "" "**Does your tool have a few C or C++ extensions?** Great, we suggest using " "**PDM** for the time being. It is the only tool in the list below that has " "both documented workflow to support such extensions and support for other " -"back-ends in the case that build hooks are not enough for your workflow. " -"PDM supports other back-ends such as scikit-build and meson-python that " -"will allow you to fully customize your package's build." +"back-ends in the case that build hooks are not enough for your workflow. PDM" +" supports other back-ends such as scikit-build and meson-python that will " +"allow you to fully customize your package's build." msgstr "" "**あなたのツールはCやC++の拡張機能をいくつか持っていますか?** 当面は **PDM** を使うことをお勧めします。 " "以下のリストの中で、このような拡張をサポートするワークフローが文書化されており、ビルドフックだけではワークフローが不十分な場合に他のバックエンドをサポートする唯一のツールです。" @@ -4161,22 +4096,22 @@ msgstr "Pythonパッケージングツールまとめ" #: ../../package-structure-code/python-package-build-tools.md:203 msgid "" "Below, we summarize features offered by the most popular build front end " -"tools. It is important to keep in mind that these front-end tools remove " -"the need to use other core tools in your workflow. For example if you use " -"setuptools, you will need to also use Build and Twine to build your package" -" and publish to PyPI. But if you use Poetry, Hatch or PDM you can do all of" -" those things using the same tool (e.g. `hatch build`, `hatch publish` or " +"tools. It is important to keep in mind that these front-end tools remove the" +" need to use other core tools in your workflow. For example if you use " +"setuptools, you will need to also use Build and Twine to build your package " +"and publish to PyPI. But if you use Poetry, Hatch or PDM you can do all of " +"those things using the same tool (e.g. `hatch build`, `hatch publish` or " "`pdm build`, `pdm publish`)." msgstr "" "以下に、最も人気のあるビルドフロントエンドツールが提供する機能を要約します。これらのフロントエンドツールは、あなたのワークフローにおいて他のコアツールを使う必要性をなくすということを覚えておくことが重要です。" " 例えばsetuptoolsを使う場合、パッケージをビルドしてPyPIに公開するためにBuildとTwineも使う必要があります。 " -"しかし、PoetryやHatch、PDMを使う場合は、同じツールを使ってこれらすべてを行うことができます (例:`hatch " -"build`、`hatch publish`、`pdm build`、`pdm publish`) 。" +"しかし、PoetryやHatch、PDMを使う場合は、同じツールを使ってこれらすべてを行うことができます (例:`hatch build`、`hatch" +" publish`、`pdm build`、`pdm publish`) 。" #: ../../package-structure-code/python-package-build-tools.md:206 msgid "" -"Note that because setuptools does not offer a front-end interface, it is " -"not included in the table." +"Note that because setuptools does not offer a front-end interface, it is not" +" included in the table." msgstr "setuptoolsはフロントエンドインターフェースを提供していないので、この表には含まれていないことに注意してください。" #: ../../package-structure-code/python-package-build-tools.md:210 @@ -4188,9 +4123,8 @@ msgstr "パッケージツール機能一覧表" #: ../../package-structure-code/python-package-build-tools.md:307 #: ../../package-structure-code/python-package-build-tools.md:353 #: ../../package-structure-code/python-package-build-tools.md:398 -#, fuzzy msgid "Feature" -msgstr "PDMの特徴" +msgstr "機能" #: ../../package-structure-code/python-package-build-tools.md:217 msgid "Default Build Back-end" @@ -4274,15 +4208,14 @@ msgstr "" "Releaseのようなツールを使えば、コミットメッセージに続くバージョンバンプをサポートします。" #: ../../package-structure-code/python-package-build-tools.md:235 -#, fuzzy msgid "" "[PDM is a Python packaging and dependency management tool](https://pdm-" -"project.org/latest/). PDM supports builds for pure Python projects. It also" -" provides multiple layers of support for projects that have C and C++ " +"project.org/latest/). PDM supports builds for pure Python projects. It also " +"provides multiple layers of support for projects that have C and C++ " "extensions." msgstr "" -"[PDMはPythonのパッケージングと依存関係の管理ツールです](https://pdm.fming.dev/latest/) 。 " -"PDMは純粋なPythonプロジェクトのビルドをサポートします。また、CやC++の拡張を持つプロジェクトに対しても、多層的なサポートを提供します。" +"[PDM は Python のパッケージングと依存関係管理ツールです](https://pdm-project.org/latest/)。PDM " +"は純粋な Python プロジェクトのビルドをサポートします。また、C や C++ の拡張を持つプロジェクトに対しても多層的なサポートを提供します。" #: ../../package-structure-code/python-package-build-tools.md:239 msgid "PDM support for C and C++ extensions" @@ -4300,17 +4233,15 @@ msgstr "" ".pyd)を受け取り、純粋なPythonファイルと一緒にパッケージ化します。" #: ../../package-structure-code/python-package-build-tools.md:247 -#, fuzzy msgid "PDM features" -msgstr "PDMの特徴" +msgstr "PDM の特徴" #: ../../package-structure-code/python-package-build-tools.md:254 #: ../../package-structure-code/python-package-build-tools.md:307 #: ../../package-structure-code/python-package-build-tools.md:353 #: ../../package-structure-code/python-package-build-tools.md:398 -#, fuzzy msgid "Notes" -msgstr "注釈:" +msgstr "注釈" #: ../../package-structure-code/python-package-build-tools.md:254 msgid "" @@ -4326,19 +4257,18 @@ msgid "Dependency specifications" msgstr "依存仕様" #: ../../package-structure-code/python-package-build-tools.md:254 -#, fuzzy msgid "" "PDM has flexible support for managing dependencies. PDM defaults to using " -"an open bound (e.g. `requests >=1.2`) approach to dependencies. However you" -" can [customize how you want to add dependencies in case you prefer " -"another approach such as that of Poetry which uses an upper bound " +"an open bound (e.g. `requests >=1.2`) approach to dependencies. However you " +"can [customize how you want to add dependencies in case you prefer another " +"approach such as that of Poetry which uses an upper bound " "limit](https://pdm-project.org/en/latest/usage/dependency/#about-update-" "strategy).**" msgstr "" -"PDMは依存関係の管理を柔軟にサポートしています。 PDMはデフォルトで依存関係に対してオープンバウンド(例えば `requests >=1.2` " -")アプローチを使用します。 しかし、 " -"[Poetryのような上限を使用する別のアプローチを好む場合、依存関係を追加する方法をカスタマイズする](https://pdm.fming.dev/latest/usage/dependency" -"/#about-update-strategy) ことができます。" +"PDM は依存関係の管理を柔軟にサポートしています。PDM はデフォルトでオープンバウンド(例えば `requests " +">=1.2`)のアプローチを使用します。しかし、[Poetry " +"のような上限を使用する別のアプローチを好む場合、依存関係の追加方法をカスタマイズできます](https://pdm-" +"project.org/en/latest/usage/dependency/#about-update-strategy)。**" #: ../../package-structure-code/python-package-build-tools.md:254 msgid "Environment lock files" @@ -4376,8 +4306,8 @@ msgstr "インストール時に環境タイプを選択" #: ../../package-structure-code/python-package-build-tools.md:254 msgid "" -"When you run `PDM init`, PDM will discover environments that are already on" -" your system and allow you to select one to use for your project." +"When you run `PDM init`, PDM will discover environments that are already on " +"your system and allow you to select one to use for your project." msgstr "`PDM init` を実行すると、PDMがあなたのシステム上にある環境を検出し、プロジェクトに使用する環境を選択できるようになります。" #: ../../package-structure-code/python-package-build-tools.md:254 @@ -4394,12 +4324,13 @@ msgstr "バージョン管理ベースのバージョニング" msgid "" "PDM has a setuptools_scm like tool built into it which allows you to use " "dynamic versioning that rely on git tags." -msgstr "PDMには setuptools_scm のようなツールが組み込まれており、gitタグに依存したダイナミックバージョニングを使うことができます。" +msgstr "" +"PDMには setuptools_scm のようなツールが組み込まれており、gitタグに依存したダイナミックバージョニングを使うことができます。" #: ../../package-structure-code/python-package-build-tools.md:254 msgid "" -"PDM supports you bumping the version of your package using standard " -"semantic version terms patch; minor; major" +"PDM supports you bumping the version of your package using standard semantic" +" version terms patch; minor; major" msgstr "" "PDMは、標準的なセマンティックバージョニングである patch; minor; major " "を使って、パッケージのバージョンをバンプすることをサポートしています。" @@ -4457,29 +4388,30 @@ msgstr "" #: ../../package-structure-code/python-package-build-tools.md:272 msgid "" -"If you are deciding between the Poetry and PDM, a smaller difference is " -"the default way that dependencies are added to your pyproject.toml file." -msgstr "もしあなたがPoetryとPDMのどちらを選ぶか決めているのであれば、より小さな違いは依存関係をpyproject.tomlファイルに追加するデフォルトの方法です。" +"If you are deciding between the Poetry and PDM, a smaller difference is the" +" default way that dependencies are added to your pyproject.toml file." +msgstr "" +"もしあなたがPoetryとPDMのどちらを選ぶか決めているのであれば、より小さな違いは依存関係をpyproject.tomlファイルに追加するデフォルトの方法です。" #: ../../package-structure-code/python-package-build-tools.md:274 msgid "" -"Poetry by default follows strict semantic versioning adding dependencies to" -" your pyproject.toml file [using an upper bounds constraint (`^`)](https" -"://python-poetry.org/docs/dependency-specification/#version-constraints). " -"Upper bounds lock means that Poetry will never bump a dependency to the " -"next major version (i.e. from 1.2 to 2.0). However, you can tell Poetry to " -"use an open bound approach by explicitly adding the package like this: " -"`poetry add requests >= 1.2` rather than just using `poetry add requests` " -"which will result in a upper bound locked (ie Upper bound locks means that " -"requests 2.0 could never be installed even if it came out and your package " -"could benefit from it)." +"Poetry by default follows strict semantic versioning adding dependencies to " +"your pyproject.toml file [using an upper bounds constraint " +"(`^`)](https://python-poetry.org/docs/dependency-specification/#version-" +"constraints). Upper bounds lock means that Poetry will never bump a " +"dependency to the next major version (i.e. from 1.2 to 2.0). However, you " +"can tell Poetry to use an open bound approach by explicitly adding the " +"package like this: `poetry add requests >= 1.2` rather than just using " +"`poetry add requests` which will result in a upper bound locked (ie Upper " +"bound locks means that requests 2.0 could never be installed even if it came" +" out and your package could benefit from it)." msgstr "" "Poetryはデフォルトで、pyproject.tomlファイルに [上界制約(`^`)を使って](https://python-" "poetry.org/docs/dependency-specification/#version-constraints) " "依存関係を追加する、厳密なセマンティックバージョニングに従っています。 " "アッパーバウンズロックとは、ポエトリーが依存関係を次のメジャーバージョン(1.2から2.0など)にバンプさせないことを意味します。 " -"しかし、次のように明示的にパッケージを追加することで、Poetryにオープンバウンドのアプローチを使うように指示することができる: poetry " -"add requests >= 1.2` のように明示的にパッケージを追加することで、Poetry " +"しかし、次のように明示的にパッケージを追加することで、Poetryにオープンバウンドのアプローチを使うように指示することができる: poetry add" +" requests >= 1.2` のように明示的にパッケージを追加することで、Poetry " "にオープンバウンドのアプローチを使うように指示することができます " "(すなわち、アッパーバウンドロックとは、リクエスト2.0が出たとしてもインストールされることはなく、あなたのパッケージはその恩恵を受けることができるということです)" " 。" @@ -4506,13 +4438,14 @@ msgid "Challenges with PDM" msgstr "PDMの課題" #: ../../package-structure-code/python-package-build-tools.md:282 -msgid "PDM is a full-featured packaging tool. However it is not without challenges:" +msgid "" +"PDM is a full-featured packaging tool. However it is not without challenges:" msgstr "PDMはフル機能のパッケージングツールです。しかし、課題がないわけではありません:" #: ../../package-structure-code/python-package-build-tools.md:284 msgid "" -"Its documentation can be confusing, especially if you are new to packaging." -" For example, PDM doesn't provide an end to end beginning workflow in its " +"Its documentation can be confusing, especially if you are new to packaging. " +"For example, PDM doesn't provide an end to end beginning workflow in its " "documentation." msgstr "" "PDMのドキュメントは、特に初めてパッケージングを行う場合、混乱する可能性があります。 " @@ -4533,8 +4466,8 @@ msgstr "" msgid "" "[You can view an example of a package that uses PDM " "here](https://github.com/pyOpenSci/examplePy/tree/main/example4_pdm). The " -"README file for this directly provides you with an overview of what the PDM" -" command line interface looks like when you use it." +"README file for this directly provides you with an overview of what the PDM " +"command line interface looks like when you use it." msgstr "" "[PDMを使用したパッケージの例はこちらからご覧いただけます](https://github.com/pyOpenSci/examplePy/tree/main/example4_pdm)" " 。 このREADMEファイルでは、PDMコマンドラインインターフェイスを使用する際にどのように見えるかの概要を直接説明しています。" @@ -4542,20 +4475,18 @@ msgstr "" #: ../../package-structure-code/python-package-build-tools.md:296 msgid "" "[Flit is a no-frills, streamlined packaging " -"tool](https://flit.pypa.io/en/stable/) that supports modern Python " -"packaging standards. Flit is a great choice if you are building a basic " -"package to use in a local workflow that doesn't require any advanced " -"features. And if your package structure is already created. More on that " -"below." +"tool](https://flit.pypa.io/en/stable/) that supports modern Python packaging" +" standards. Flit is a great choice if you are building a basic package to " +"use in a local workflow that doesn't require any advanced features. And if " +"your package structure is already created. More on that below." msgstr "" "[Flitは、最新のPythonパッケージング標準をサポートする、飾り気のない、合理的なパッケージングツール](https://flit.pypa.io/en/stable/)" " です。 Flitは、ローカル・ワークフローで使用する基本的なパッケージを構築し、高度な機能を必要としない場合に最適な選択です。 " "また、パッケージ構造がすでに作成されている場合。 詳しくは後述します。" #: ../../package-structure-code/python-package-build-tools.md:300 -#, fuzzy msgid "Flit features" -msgstr "Flitの特徴" +msgstr "Flit の特徴" #: ../../package-structure-code/python-package-build-tools.md:307 #: ../../package-structure-code/python-package-build-tools.md:353 @@ -4573,8 +4504,8 @@ msgstr "**pyproject.toml** ファイルにメタデータを追加するのに #: ../../package-structure-code/python-package-build-tools.md:307 msgid "" -"Flit does support adding metadata to your **pyproject.toml** file following" -" modern packaging standards." +"Flit does support adding metadata to your **pyproject.toml** file following " +"modern packaging standards." msgstr "Flitは **pyproject.toml** ファイルにメタデータを追加することをサポートしています。" #: ../../package-structure-code/python-package-build-tools.md:307 @@ -4593,8 +4524,8 @@ msgstr "Flitはsdistとwheelのディストリビューションパッケージ #: ../../package-structure-code/python-package-build-tools.md:314 msgid "" -"NOTE: _If you are using the most current version of pip, it supports both a" -" symlink approach `flit install -s` and `python -m pip install -e .`_" +"NOTE: _If you are using the most current version of pip, it supports both a " +"symlink approach `flit install -s` and `python -m pip install -e .`_" msgstr "" "注: _最新バージョンのpipを使用している場合、シンボリックリンクを使った `flit install -s` と `python -m pip " "install -e .`_ の両方をサポートしています。" @@ -4613,10 +4544,11 @@ msgstr "Flitを使いたくない理由" #: ../../package-structure-code/python-package-build-tools.md:323 msgid "" -"Because Flit is no frills, it is best for basic, quick builds. If you are a" -" beginner you may want to select Hatch or PDM which will offer you more " +"Because Flit is no frills, it is best for basic, quick builds. If you are a " +"beginner you may want to select Hatch or PDM which will offer you more " "support in common operations." -msgstr "Flitは飾り気がないので、基本的で素早いビルドに最適です。 初心者の方は、一般的な操作をよりサポートしてくれるHatchやPDMを選ぶとよいでしょう。" +msgstr "" +"Flitは飾り気がないので、基本的で素早いビルドに最適です。 初心者の方は、一般的な操作をよりサポートしてくれるHatchやPDMを選ぶとよいでしょう。" #: ../../package-structure-code/python-package-build-tools.md:327 msgid "You may NOT want to use flit if:" @@ -4629,11 +4561,13 @@ msgid "" msgstr "より高度なバージョン追跡と管理をセットアップしたい場合 (バージョン管理を使ってバージョンバンプを行う)" #: ../../package-structure-code/python-package-build-tools.md:330 -msgid "You want a tool that handles dependency versions (use PDM or Poetry instead)" +msgid "" +"You want a tool that handles dependency versions (use PDM or Poetry instead)" msgstr "依存性のあるバージョンを処理するツールが必要(代わりにPDMやPoetryを使用する)" #: ../../package-structure-code/python-package-build-tools.md:331 -msgid "You have a project that is not pure Python (Use Hatch, PDM or setuptools)" +msgid "" +"You have a project that is not pure Python (Use Hatch, PDM or setuptools)" msgstr "純粋なPythonではないプロジェクトを持っている(Hatch、PDM、またはsetuptoolsを使用する)" #: ../../package-structure-code/python-package-build-tools.md:332 @@ -4643,19 +4577,18 @@ msgstr "環境を管理したい(PDM、Hatch、またはPoetryを使用する #: ../../package-structure-code/python-package-build-tools.md:338 msgid "" "[**Hatch**](https://hatch.pypa.io/latest/), similar to Poetry and PDM, " -"provides a unified command line interface. To separate Hatch from Poetry " -"and PDM, it also provides an environment manager for testing that will make" -" it easier for you to run tests locally across different versions of " -"Python. It also offers a nox / makefile like feature that allows you to " -"create custom build workflows such as building your documentation locally. " -"This means that you could potentially drop a tool like **Make** or **Nox** " -"from your workflow and use Hatch instead." +"provides a unified command line interface. To separate Hatch from Poetry and" +" PDM, it also provides an environment manager for testing that will make it " +"easier for you to run tests locally across different versions of Python. It " +"also offers a nox / makefile like feature that allows you to create custom " +"build workflows such as building your documentation locally. This means that" +" you could potentially drop a tool like **Make** or **Nox** from your " +"workflow and use Hatch instead." msgstr "" "[**Hatch**](https://hatch.pypa.io/latest/) " "は、ポエトリーやPDMと同様、統一されたコマンドラインインターフェイスを提供する。HatchをPoetryやPDMから切り離すために、Pythonの異なるバージョン間でローカルにテストを実行しやすくするテスト用の環境マネージャーも提供しています。" " また、nox / makefileのような機能もあり、ドキュメントをローカルでビルドするようなカスタムビルドワークフローを作成することができる。 " -"つまり、ワークフローから **Make** や **Nox** " -"のようなツールを削除して、代わりにHatchを使うことができる可能性があるということだ。" +"つまり、ワークフローから **Make** や **Nox** のようなツールを削除して、代わりにHatchを使うことができる可能性があるということだ。" #: ../../package-structure-code/python-package-build-tools.md:345 msgid "Hatch features" @@ -4665,13 +4598,13 @@ msgstr "Hatchの特徴" msgid "" "Hatch is used with the backend Hatchling by default, but allows you to use " "another backend by switching the declaration in pyproject.toml." -msgstr "HatchはデフォルトでHatchlingバックエンドと一緒に使われますが、pyproject.tomlの宣言を切り替えることで別のバックエンドを使うことができます。" +msgstr "" +"HatchはデフォルトでHatchlingバックエンドと一緒に使われますが、pyproject.tomlの宣言を切り替えることで別のバックエンドを使うことができます。" #: ../../package-structure-code/python-package-build-tools.md:353 msgid "" "Currently you have to add dependencies manually with Hatch. However a " -"feature to support dependencies management may be added in a future " -"release." +"feature to support dependencies management may be added in a future release." msgstr "" "現在のところ、Hatchを使って手動で依存関係を追加する必要があります。 " "しかし、依存関係の管理をサポートする機能が将来のリリースで追加されるかもしれません。" @@ -4694,8 +4627,8 @@ msgstr "Hatch は test PyPI と PyPI の両方への公開をサポートして #: ../../package-structure-code/python-package-build-tools.md:353 msgid "" "Hatch offers `hatch_vcs` which is a plugin that uses setuptools_scm to " -"support versioning using git tags. The workflow with `hatch_vcs` is the " -"same as that with `setuptools_scm`." +"support versioning using git tags. The workflow with `hatch_vcs` is the same" +" as that with `setuptools_scm`." msgstr "" "Hatch が提供する `hatch_vcs` は setuptools_scm を使って git " "タグを使ったバージョン管理をサポートするプラグインです。 hatch_vcs` を使ったワークフローは `setuptools_scm` " @@ -4718,10 +4651,10 @@ msgstr "Hatchは、 **pyproject.toml** ファイルにメタデータを追加 #: ../../package-structure-code/python-package-build-tools.md:353 msgid "" "Hatch will install your package into any of its environments by default in " -"editable mode. You can install your package in editable mode manually using" -" `python -m pip install -e .` Hatch mentions [editable " -"installs](https://hatch.pypa.io/latest/config/build/#dev-mode) but refers " -"to pip in its documentation." +"editable mode. You can install your package in editable mode manually using " +"`python -m pip install -e .` Hatch mentions [editable " +"installs](https://hatch.pypa.io/latest/config/build/#dev-mode) but refers to" +" pip in its documentation." msgstr "" "Hatchはデフォルトで編集可能なモードで、あなたのパッケージをどの環境にもインストールします。 `python -m pip install -e " ".` を使って、編集可能モードでパッケージを手動でインストールできます。Hatchは [editable " @@ -4733,15 +4666,15 @@ msgid "Hatch will build the sdist and wheel distributions" msgstr "Hatchはsdistとホイールのディストリビューションを構築します" #: ../../package-structure-code/python-package-build-tools.md:353 -msgid "✨Matrix environment creation to support testing across Python versions✨" +msgid "" +"✨Matrix environment creation to support testing across Python versions✨" msgstr "✨Pythonのバージョンをまたいだテストをサポートするためのマトリックス環境の構築✨" #: ../../package-structure-code/python-package-build-tools.md:353 msgid "" -"The matrix environment creation is a feature that is unique to Hatch in the" -" packaging ecosystem. This feature is useful if you wish to test your " -"package locally across Python versions (instead of using a tool such as " -"tox)." +"The matrix environment creation is a feature that is unique to Hatch in the " +"packaging ecosystem. This feature is useful if you wish to test your package" +" locally across Python versions (instead of using a tool such as tox)." msgstr "" "マトリックス環境の作成は、パッケージングエコシステムにおける Hatch 独自の機能です。 この機能は、(tox " "のようなツールを使う代わりに)Python のバージョンにまたがってパッケージをローカルでテストしたい場合に便利です。" @@ -4773,14 +4706,15 @@ msgid "" "**The hatchling build backend offered by the maintainer of Hatch allows " "developers to easily build plugins to support custom build steps when " "packaging." -msgstr "**Hatchのメンテナが提供するhatchlingビルドバックエンドは、開発者がパッケージング時にカスタムビルドステップをサポートするプラグインを簡単にビルドすることを可能にします。" +msgstr "" +"**Hatchのメンテナが提供するhatchlingビルドバックエンドは、開発者がパッケージング時にカスタムビルドステップをサポートするプラグインを簡単にビルドすることを可能にします。" #: ../../package-structure-code/python-package-build-tools.md:367 msgid "" -"_There is some argument about this approach placing a burden on maintainers" -" to create a custom build system. But others appreciate the flexibility. " -"The Hatch build hook approach is also comparable with the features offered " -"by PDM._" +"_There is some argument about this approach placing a burden on maintainers " +"to create a custom build system. But others appreciate the flexibility. The " +"Hatch build hook approach is also comparable with the features offered by " +"PDM._" msgstr "" "_このアプローチは、メンテナにカスタムビルドシステムを作る負担を強いるという議論があリマス。 しかし、柔軟性を高く評価する人もいます。 " "ハッチのビルドフックアプローチは、PDMが提供する機能にも匹敵します。_" @@ -4829,8 +4763,8 @@ msgstr "" #: ../../package-structure-code/python-package-build-tools.md:387 msgid "" "While some have used Poetry for Python builds with C/C++ extensions, this " -"support is currently undocumented. Thus, we don't recommend using Poetry " -"for more complex builds." +"support is currently undocumented. Thus, we don't recommend using Poetry for" +" more complex builds." msgstr "" "C/C++ 拡張を含む Python のビルドに Poetry を使っている人もいますが、このサポートは現在のところ文書化されていません。 " "したがって、より複雑なビルドに Poetry を使うことはお勧めしません。" @@ -4840,9 +4774,8 @@ msgid "Poetry features" msgstr "Poetryの特徴" #: ../../package-structure-code/python-package-build-tools.md:398 -#, fuzzy msgid "Poetry helps you add dependencies to your `pyproject.toml` metadata." -msgstr "pyproject.tomlファイルに依存関係を追加" +msgstr "Poetry は `pyproject.toml` メタデータへの依存関係の追加をサポートします。" #: ../../package-structure-code/python-package-build-tools.md:398 msgid "Dependency specification" @@ -4850,8 +4783,8 @@ msgstr "依存仕様" #: ../../package-structure-code/python-package-build-tools.md:398 msgid "" -"Poetry allows you to be specific about version of dependencies that you add" -" to your package's pyproject.toml file. However, it's default upper bound " +"Poetry allows you to be specific about version of dependencies that you add " +"to your package's pyproject.toml file. However, it's default upper bound " "approach can be problematic for some packages (We suggest you override the " "default setting when adding dependencies). Read below for more." msgstr "" @@ -4867,8 +4800,8 @@ msgid "" "poetry.org/docs/basic-usage/#using-your-virtual-environment)." msgstr "" "Poetryでは、ビルトイン環境を使用するか、パッケージ管理に使用する環境タイプを選択することができます。 " -"[内蔵された環境管理オプションについての詳細はこちら](https://python-poetry.org/docs/basic-usage" -"/#using-your-virtual-environment) 。" +"[内蔵された環境管理オプションについての詳細はこちら](https://python-poetry.org/docs/basic-" +"usage/#using-your-virtual-environment) 。" #: ../../package-structure-code/python-package-build-tools.md:398 msgid "Lock files" @@ -4886,8 +4819,8 @@ msgstr "Poetry は test PyPI と PyPI の両方への公開をサポートして #: ../../package-structure-code/python-package-build-tools.md:398 msgid "" -"The plugin [Poetry dynamic versioning](https://github.com/mtkennerly" -"/poetry-dynamic-versioning) supports versioning using git tags with Poetry." +"The plugin [Poetry dynamic versioning](https://github.com/mtkennerly/poetry-" +"dynamic-versioning) supports versioning using git tags with Poetry." msgstr "" "[Poetry dynamic versioning](https://github.com/mtkennerly/poetry-dynamic-" "versioning) プラグインは、Poetryでgitタグを使ったバージョン管理をサポートします。" @@ -4902,8 +4835,8 @@ msgstr "" #: ../../package-structure-code/python-package-build-tools.md:398 msgid "" -"Since version 2.0, Poetry supports most current project metadata standards." -" However, not all standards are supported, and it also supports the legacy " +"Since version 2.0, Poetry supports most current project metadata standards. " +"However, not all standards are supported, and it also supports the legacy " "Poetry format. Read below for more." msgstr "" "バージョン 2.0 以降、Poetry は最新のプロジェクト " @@ -4911,12 +4844,12 @@ msgstr "" "形式もサポートされています。詳細については以下をお読みください。" #: ../../package-structure-code/python-package-build-tools.md:398 -#, fuzzy msgid "Poetry supports installing your package in editable mode." -msgstr "PDMは編集可能モードでのパッケージのインストールをサポートしています。" +msgstr "Poetry は編集可能モードでのパッケージのインストールをサポートします。" #: ../../package-structure-code/python-package-build-tools.md:398 -msgid "Poetry will build your sdist and wheel distributions using `poetry build`" +msgid "" +"Poetry will build your sdist and wheel distributions using `poetry build`" msgstr "Poetry は `poetry build` を使って sdist と wheel ディストリビューションをビルドします。" #: ../../package-structure-code/python-package-build-tools.md:413 @@ -4930,8 +4863,8 @@ msgstr "Poetryの課題には次のようなものがある:" #: ../../package-structure-code/python-package-build-tools.md:417 msgid "" "Poetry has its own concept of grouped dependencies (`poetry add " -"--group=GROUP_NAME DEPENDENCY`). Dependencies added as grouped dependencies" -" are not optional and there is no Python standard for this type of " +"--group=GROUP_NAME DEPENDENCY`). Dependencies added as grouped dependencies " +"are not optional and there is no Python standard for this type of " "dependency. This should not be confused with \"optional\" dependencies " "(`poetry add --optional=GROUP_NAME DEPENDENCY`), which is standardised and " "lets you group your dependencies into several optional groups." @@ -4944,38 +4877,36 @@ msgstr "" #: ../../package-structure-code/python-package-build-tools.md:418 msgid "" "While Poetry supports \"development\" dependencies (i.e. dependencies you " -"use for development but not running the code, such as `pytest`), Poetry " -"does not yet follow the standardised format for specifying such " -"dependencies." +"use for development but not running the code, such as `pytest`), Poetry does" +" not yet follow the standardised format for specifying such dependencies." msgstr "" -"Poetry は「開発」依存関係 (つまり、「pytest」など、開発には使用するがコードを実行しない依存関係) をサポートしていますが、Poetry" -" はそのような依存関係を指定するための標準化された形式にはまだ準拠していません。" +"Poetry は「開発」依存関係 (つまり、「pytest」など、開発には使用するがコードを実行しない依存関係) をサポートしていますが、Poetry " +"はそのような依存関係を指定するための標準化された形式にはまだ準拠していません。" #: ../../package-structure-code/python-package-build-tools.md:419 -#, fuzzy msgid "" -"Poetry, by default, pins dependencies using an \"upper bound\" limit (which" -" is specified with the `^` symbol in the legacy format). However, this " +"Poetry, by default, pins dependencies using an \"upper bound\" limit (which " +"is specified with the `^` symbol in the legacy format). However, this " "behavior can be over-written by specifying the dependency when you use " "`poetry add` as follows: `poetry add \"requests>=2.1\"` See breakout below " "for more discussion on issues surrounding upper-bounds pinning." msgstr "" -"Poetryは、デフォルトでは、`^`シンボルで指定された \"上限\" 制限を使用して依存関係をピンします。 しかし、この動作は `Poetry " -"add` を使うときに依存関係を以下のように指定することで上書きすることができます: `poetry add \"requests>=2.1\"` " -"アッパーバウンドピニングをめぐる問題については、以下のブレイクアウトを参照のしてください。" +"Poetry はデフォルトで「上限」制限(レガシーフォーマットでは `^` 記号で指定)を使って依存関係をピン留めします。しかし、この動作は " +"`poetry add` を使うときに依存関係を次のように指定することで上書きできます: `poetry add \"requests>=2.1\"` " +"上限によるピン留めをめぐる問題については、以下の解説を参照してください。" #: ../../package-structure-code/python-package-build-tools.md:421 -#, fuzzy msgid "" -"Poetry is a popular packaging tool and introduced many very useful " -"features. However, if you decide to use it, then use caution when adding " -"dependencies as Poetry's approach to pinning can be problematic for many " -"builds. If you use Poetry, we strongly suggest that you override the " -"default upper bound dependency option." +"Poetry is a popular packaging tool and introduced many very useful features." +" However, if you decide to use it, then use caution when adding dependencies" +" as Poetry's approach to pinning can be problematic for many builds. If you " +"use Poetry, we strongly suggest that you override the default upper bound " +"dependency option." msgstr "" -"Poetryは優れたツールです。 依存関係を固定するために Poetry を使う場合は注意してください。Poetry " -"の固定方法は、多くのビルドで問題になる可能性があります。 Poetry " -"を使用する場合は、デフォルトの上限依存性オプションをオーバーライドすることを強く推奨します。" +"Poetry " +"は人気のあるパッケージングツールで、非常に便利な多くの機能を導入しました。しかし、使用する場合は依存関係の追加時に注意してください。Poetry " +"のピン留めのアプローチは多くのビルドで問題になる可能性があります。Poetry " +"を使う場合は、デフォルトの上限依存関係オプションをオーバーライドすることを強くお勧めします。" #: ../../package-structure-code/python-package-build-tools.md:426 msgid "Challenges with Poetry dependency pinning" @@ -4984,14 +4915,14 @@ msgstr "Poetry依存のピン留めの課題" #: ../../package-structure-code/python-package-build-tools.md:429 msgid "" "By default, Poetry pins dependencies using `^` by default. This `^` symbol " -"means that there is an \"upper bound\" to the dependency. Thus poetry won't" -" bump a dependency version to a new major version. Thus, if your package " -"uses a dependency that is at version 1.2.3, Poetry will never bump the " +"means that there is an \"upper bound\" to the dependency. Thus poetry won't " +"bump a dependency version to a new major version. Thus, if your package uses" +" a dependency that is at version 1.2.3, Poetry will never bump the " "dependency to 2.0 even if there is a new major version of the package. " "Poetry will instead bump up to 1.9.x." msgstr "" -"デフォルトでは、Poetry は `^` を使って依存関係をピン留めします。 このシンボル `^` は依存関係に \"上限\" " -"があることを意味します。 従って、poetryは依存バージョンを新しいメジャーバージョンにバンプすることはありません。 " +"デフォルトでは、Poetry は `^` を使って依存関係をピン留めします。 このシンボル `^` は依存関係に \"上限\" があることを意味します。" +" 従って、poetryは依存バージョンを新しいメジャーバージョンにバンプすることはありません。 " "したがって、あなたのパッケージがバージョン1.2.3の依存関係を使用している場合、Poetryは、パッケージの新しいメジャーバージョンがあっても、依存関係を2.0にバンプすることはありません。" " Poetryは代わりに1.9.xにアップグレードします。" @@ -5000,14 +4931,14 @@ msgid "" "Poetry does this because it adheres to strict semantic versioning which " "states that a major version bump (from 1.0 to 2.0 for example) means there " "are breaking changes in the tool. However, not all tools follow strict " -"semantic versioning. [This approach has been found to be problematic by " -"many of our core scientific packages.](https://iscinumpy.dev/post/bound-" -"version-constraints/)" +"semantic versioning. [This approach has been found to be problematic by many" +" of our core scientific packages.](https://iscinumpy.dev/post/bound-version-" +"constraints/)" msgstr "" "Poetryは、メジャーバージョンアップ(例えば1.0から2.0へ)は、ツールに破壊的な変更があることを意味するという、厳密なセマンティックバージョニングを遵守しているからです。" " しかし、すべてのツールが厳密なセマンティックバージョニングに従っているわけではありません。 " -"[このアプローチは、私たちのコアとなる科学パッケージの多くによって問題があることが判明しています](https://iscinumpy.dev/post" -"/bound-version-constraints/)" +"[このアプローチは、私たちのコアとなる科学パッケージの多くによって問題があることが判明しています](https://iscinumpy.dev/post/bound-" +"version-constraints/)" #: ../../package-structure-code/python-package-build-tools.md:440 msgid "" @@ -5017,9 +4948,8 @@ msgid "" msgstr "例えば、 [calver](https://calver.org/) を使って、日付に基づいて新しいバージョンを作成するツールもある。" #: ../../package-structure-code/python-package-build-tools.md:445 -#, fuzzy msgid "Using Setuptools back-end for Python packaging with Build front-end" -msgstr "PythonパッケージングのためのSetuptoolsバックエンドとBuildフロントエンドの使用" +msgstr "Setuptools バックエンドを Build フロントエンドと共に使って Python パッケージングを行う" #: ../../package-structure-code/python-package-build-tools.md:447 msgid "" @@ -5041,18 +4971,19 @@ msgid "" "While setuptools is the most commonly used tool, we encourage package " "maintainers to consider using a more modern tool for packaging such as " "Poetry, Hatch or PDM." -msgstr "setuptoolsは最もよく使われるツールですが、パッケージメンテナには、PoetryやHatch、PDMなど、パッケージングにもっとモダンなツールを使うことを検討することをお勧めします。" +msgstr "" +"setuptoolsは最もよく使われるツールですが、パッケージメンテナには、PoetryやHatch、PDMなど、パッケージングにもっとモダンなツールを使うことを検討することをお勧めします。" #: ../../package-structure-code/python-package-build-tools.md:458 msgid "" -"We discuss setuptools here because it's commonly found in the ecosystem and" -" contributors may benefit from understanding it." -msgstr "ここでsetuptoolsについて説明するのは、それがエコシステムでよく見られるものであり、貢献者がそれを理解することで恩恵を受けるかもしれないからです。" +"We discuss setuptools here because it's commonly found in the ecosystem and " +"contributors may benefit from understanding it." +msgstr "" +"ここでsetuptoolsについて説明するのは、それがエコシステムでよく見られるものであり、貢献者がそれを理解することで恩恵を受けるかもしれないからです。" #: ../../package-structure-code/python-package-build-tools.md:461 -#, fuzzy msgid "Setuptools features" -msgstr "Setuptoolsの特徴" +msgstr "Setuptools の特徴" #: ../../package-structure-code/python-package-build-tools.md:463 msgid "Some of features of setuptools include:" @@ -5067,7 +4998,8 @@ msgid "Many scientific Python packages use it." msgstr "多くの科学的Pythonパッケージがこれを使用しています。" #: ../../package-structure-code/python-package-build-tools.md:467 -msgid "It offers version control based package versioning using **setuptools_scm**" +msgid "" +"It offers version control based package versioning using **setuptools_scm**" msgstr "**setuptools_scm** を使用したバージョン管理ベースのパッケージのバージョン管理を提供します。" #: ../../package-structure-code/python-package-build-tools.md:468 @@ -5089,11 +5021,11 @@ msgstr "Setuptoolsにはいくつかの課題があります:" #: ../../package-structure-code/python-package-build-tools.md:477 msgid "" "Setuptools does not support interactive features such as auto / tab " -"completion by default if you are working in an IDE like VSCODE and using an" -" editable install for development. [See notes here about pylance " +"completion by default if you are working in an IDE like VSCODE and using an " +"editable install for development. [See notes here about pylance " "support](https://github.com/microsoft/pylance-" -"release/blob/main/TROUBLESHOOTING.md#editable-install-modules-not-found). " -"In comparison, tools such as flit, hatch, PDM support interactive features " +"release/blob/main/TROUBLESHOOTING.md#editable-install-modules-not-found). In" +" comparison, tools such as flit, hatch, PDM support interactive features " "such as tab / auto completion when using an IDE like VSCODE or pycharm (as " "long as your version of pip is current!)." msgstr "" @@ -5125,8 +5057,8 @@ msgstr "このページで説明する他のツールに比べ、setuptoolsを #: ../../package-structure-code/python-package-build-tools.md:484 msgid "" -"There are also some problematic default settings that users should be aware" -" of when using setuptools. For instance:" +"There are also some problematic default settings that users should be aware " +"of when using setuptools. For instance:" msgstr "また、setuptoolsを使用する際にユーザーが注意すべき、問題のあるデフォルト設定がいくつかあります。 例えば:" #: ../../package-structure-code/python-package-build-tools.md:487 @@ -5139,9 +5071,8 @@ msgstr "" #: ../../package-structure-code/python-package-build-tools.md:489 msgid "" -"setuptools also will include all of the files in your package repository if" -" you do not explicitly tell it to exclude files using a **MANIFEST.in** " -"file" +"setuptools also will include all of the files in your package repository if " +"you do not explicitly tell it to exclude files using a **MANIFEST.in** file" msgstr "" "setuptoolsは、 **MANIFEST.in** " "ファイルを使ってファイルを除外するように明示的に指示しなければ、パッケージリポジトリ内のすべてのファイルも含めます。" @@ -5152,11 +5083,11 @@ msgstr "Pythonパッケージのビルドについて学ぶ" #: ../../package-structure-code/python-package-distribution-files-sdist-wheel.md:8 msgid "" -"Once you have published both package distributions (the source distribution" -" and the wheel) to PyPI, you can then publish to conda-forge. The conda-" -"forge requires an source distribution on PyPI in order to build your " -"package on conda-forge. You do not need to rebuild your package to publish " -"to conda-forge." +"Once you have published both package distributions (the source distribution " +"and the wheel) to PyPI, you can then publish to conda-forge. The conda-forge" +" requires an source distribution on PyPI in order to build your package on " +"conda-forge. You do not need to rebuild your package to publish to conda-" +"forge." msgstr "" "両方のパッケージ配布(ソース配布とホイール)をPyPIに公開したら、次にconda-forgeに公開します。conda-" "forgeでパッケージをビルドするには、PyPIでのソース配布が必要です。conda-" @@ -5166,9 +5097,9 @@ msgstr "" msgid "" "You need to build your Python package in order to publish it to PyPI (or a " "conda channel). The build process organizes your code and metadata into a " -"distribution format that can be uploaded to PyPI and subsequently " -"downloaded and installed by users. NOTE: you need to publish a sdist to " -"PyPI in order for conda-forge to properly build your package automatically." +"distribution format that can be uploaded to PyPI and subsequently downloaded" +" and installed by users. NOTE: you need to publish a sdist to PyPI in order " +"for conda-forge to properly build your package automatically." msgstr "" "PythonパッケージをPyPI(またはcondaチャンネル)に公開するには、ビルドする必要があります。ビルドプロセスは、あなたのコードとメタデータをPyPIにアップロードできる配布フォーマットに整理し、その後ユーザーがダウンロードしてインストールできるようにします。" " 注意: conda-forgeが適切にパッケージを自動ビルドするためには、sdistをPyPIに公開する必要があります。" @@ -5179,8 +5110,8 @@ msgstr "Pythonパッケージのビルドとは何ですか?" #: ../../package-structure-code/python-package-distribution-files-sdist-wheel.md:16 msgid "" -"To [publish your Python package](publish-python-package-pypi-conda) and " -"make it easy for anyone to install, you first need to build it." +"To [publish your Python package](publish-python-package-pypi-conda) and make" +" it easy for anyone to install, you first need to build it." msgstr "" "[Pythonパッケージを公開](publish-python-package-pypi-conda) " "し、誰でも簡単にインストールできるようにするには、まずそれをビルドする必要があります。" @@ -5209,15 +5140,16 @@ msgid "" "build step as a **distribution package**." msgstr "" "Pythonや他の言語では、パッケージという言葉は様々な意味で使われています。 このページでは、 [Python Packaging " -"Authority](https://www.pypa.io/en/latest/) の慣例に合わせ、ビルドステップの成果物を **配布パッケージ**" -" と呼ぶことにします。" +"Authority](https://www.pypa.io/en/latest/) の慣例に合わせ、ビルドステップの成果物を **配布パッケージ** " +"と呼ぶことにします。" #: ../../package-structure-code/python-package-distribution-files-sdist-wheel.md:27 msgid "" "This process of organizing and formatting your code, documentation, tests " -"and metadata into a format that both pip and PyPI can use, is called a " -"build step." -msgstr "あなたのコード、ドキュメント、テスト、メタデータをpipとPyPIの両方が使える形式に整理し、フォーマットするこのプロセスは、ビルドステップと呼ばれます。" +"and metadata into a format that both pip and PyPI can use, is called a build" +" step." +msgstr "" +"あなたのコード、ドキュメント、テスト、メタデータをpipとPyPIの両方が使える形式に整理し、フォーマットするこのプロセスは、ビルドステップと呼ばれます。" #: ../../package-structure-code/python-package-distribution-files-sdist-wheel.md:31 msgid "Project metadata and PyPI" @@ -5225,12 +5157,13 @@ msgstr "プロジェクトのメタデータとPyPI" #: ../../package-structure-code/python-package-distribution-files-sdist-wheel.md:33 msgid "" -"The metadata that both build tools and PyPI uses to describe and understand" -" your package is generally stored in a [pyproject.toml file](pyproject-" -"toml-python-package-metadata). This metadata is used for several purposes:" +"The metadata that both build tools and PyPI uses to describe and understand " +"your package is generally stored in a [pyproject.toml file](pyproject-toml-" +"python-package-metadata). This metadata is used for several purposes:" msgstr "" -"ビルドツールとPyPIの両方があなたのパッケージを説明し理解するために使うメタデータは、一般的に [pyproject.tomlファイル" -"](pyproject-toml-python-package-metadata) に格納されます。 このメタデータはいくつかの目的で使用されます:" +"ビルドツールとPyPIの両方があなたのパッケージを説明し理解するために使うメタデータは、一般的に " +"[pyproject.tomlファイル](pyproject-toml-python-package-metadata) に格納されます。 " +"このメタデータはいくつかの目的で使用されます:" #: ../../package-structure-code/python-package-distribution-files-sdist-wheel.md:35 msgid "" @@ -5244,18 +5177,19 @@ msgstr "" #: ../../package-structure-code/python-package-distribution-files-sdist-wheel.md:37 msgid "" -"The `[build-system]` table in your pyproject.toml file tells pip what " -"[build backend tool](build_backends) you wish to use for creating your " -"sdist and wheel distributions." +"The `[build-system]` table in your pyproject.toml file tells pip what [build" +" backend tool](build_backends) you wish to use for creating your sdist and " +"wheel distributions." msgstr "" "pyproject.tomlファイルの `[build-system]` テーブルは、sdistとwheelディストリビューションの作成に使用したい " "[ビルドバックエンドツール](build_backends) をpipに伝えます。" #: ../../package-structure-code/python-package-distribution-files-sdist-wheel.md:45 msgid "" -"And the dependencies section of your project table tells the build tool and" -" PyPI what dependencies your project requires." -msgstr "また、プロジェクトテーブルの dependencies セクションは、ビルドツールと PyPI にプロジェクトが必要とする依存関係を伝えます。" +"And the dependencies section of your project table tells the build tool and " +"PyPI what dependencies your project requires." +msgstr "" +"また、プロジェクトテーブルの dependencies セクションは、ビルドツールと PyPI にプロジェクトが必要とする依存関係を伝えます。" #: ../../package-structure-code/python-package-distribution-files-sdist-wheel.md:54 msgid "" @@ -5267,15 +5201,13 @@ msgstr "" " 例えば:" #: ../../package-structure-code/python-package-distribution-files-sdist-wheel.md:56 -#, fuzzy msgid "" -"The `classifiers = ` section of your `[project]` table in the " -"pyproject.toml file provides information that users on PyPI can use to " -"filter for packages that address different topics or that support specific " -"versions of python." +"The `classifiers = ` section of your `[project]` table in the pyproject.toml" +" file provides information that users on PyPI can use to filter for packages" +" that address different topics or that support specific versions of python." msgstr "" -"pyproject.tomlファイルの `[project]` テーブルの `classifiers = ` " -"セクションは、PyPIのユーザが特定のライセンスを含むパッケージや特定のバージョンのpythonをサポートするパッケージをフィルタリングするための情報を提供します。" +"pyproject.toml ファイルの `[project]` テーブルの `classifiers = ` セクションは、PyPI " +"のユーザーが、異なるトピックを扱うパッケージや特定の Python バージョンをサポートするパッケージをフィルタリングするのに使える情報を提供します。" #: ../../package-structure-code/python-package-distribution-files-sdist-wheel.md:72 msgid "What happened to setup.py and setup.cfg for metadata?" @@ -5283,14 +5215,14 @@ msgstr "メタデータのsetup.pyとsetup.cfgはどうなったのですか?" #: ../../package-structure-code/python-package-distribution-files-sdist-wheel.md:75 msgid "" -"Project metadata used to be stored in either a setup.py file or a setup.cfg" -" file. The current recommended practice for storing package metadata is to " -"use a pyproject.toml file. [Learn more about the pyproject.toml file here" -".](pyproject-toml-python-package-metadata)" +"Project metadata used to be stored in either a setup.py file or a setup.cfg " +"file. The current recommended practice for storing package metadata is to " +"use a pyproject.toml file. [Learn more about the pyproject.toml file " +"here.](pyproject-toml-python-package-metadata)" msgstr "" "プロジェクトのメタデータは、以前は setup.py ファイルか setup.cfg " -"ファイルに保存されていました。パッケージのメタデータを保存するために現在推奨されている方法は、pyproject.tomlファイルを使用することです。" -" [pyproject.tomlファイルについての詳細はこちらです。](pyproject-toml-python-package-metadata)" +"ファイルに保存されていました。パッケージのメタデータを保存するために現在推奨されている方法は、pyproject.tomlファイルを使用することです。 " +"[pyproject.tomlファイルについての詳細はこちらです。](pyproject-toml-python-package-metadata)" #: ../../package-structure-code/python-package-distribution-files-sdist-wheel.md:78 msgid "An example - xclim" @@ -5300,18 +5232,18 @@ msgstr "例 - xclim" msgid "" "When you publish to PyPI, you will notice that each package has metadata " "listed. Let's have a look at [xclim](https://pypi.org/project/xclim/), one " -"of our [pyOpenSci packages](https://www.pyopensci.org/python-" -"packages.html). Notice that on the PyPI landing page you see some metadata " -"about the package including python, maintainer information and more. PyPI " -"is able to populate this metadata because it was defined using correct " -"syntax and classifiers by Xclim's maintainers, [pyproject.toml " -"file](https://github.com/Ouranosinc/xclim/blob/master/pyproject.toml). This" -" metadata when the xclim package is built, is translated into a " -"distribution file that allows PyPI to read the metadata and print it out on" -" their website." -msgstr "" -"PyPIに公開すると、各パッケージにメタデータがリストされていることに気づくでしょう。[pyOpenSciパッケージ](https://www.pyopensci.org" -"/python-packages.html) の一つである [xclim](https://pypi.org/project/xclim/) " +"of our [pyOpenSci packages](https://www.pyopensci.org/python-packages.html)." +" Notice that on the PyPI landing page you see some metadata about the " +"package including python, maintainer information and more. PyPI is able to " +"populate this metadata because it was defined using correct syntax and " +"classifiers by Xclim's maintainers, [pyproject.toml " +"file](https://github.com/Ouranosinc/xclim/blob/master/pyproject.toml). This " +"metadata when the xclim package is built, is translated into a distribution " +"file that allows PyPI to read the metadata and print it out on their " +"website." +msgstr "" +"PyPIに公開すると、各パッケージにメタデータがリストされていることに気づくでしょう。[pyOpenSciパッケージ](https://www.pyopensci.org/python-" +"packages.html) の一つである [xclim](https://pypi.org/project/xclim/) " "を見てみましょう。PyPIのランディングページには、pythonやメンテナ情報など、パッケージに関するメタデータが表示されていることに注目してください。PyPIは、Xclimのメンテナ" " [pyproject.toml " "file](https://github.com/Ouranosinc/xclim/blob/master/pyproject.toml) " @@ -5325,30 +5257,31 @@ msgid "" "normally published in your packaging wheel distribution. An arrow to the " "right takes you to a build distribution files box. That box leads you to " "either publishing to TestPyPI or the real PyPI. From PyPI you can then " -"connect to conda-forge for an automated build that sends distributions from" -" PyPI to conda-forge." +"connect to conda-forge for an automated build that sends distributions from " +"PyPI to conda-forge." msgstr "" -"ハイレベルなパッケージングのワークフローを示すグラフィックです。左側には、コード、メタデータ、テストが入ったグラフィックがあります。ドキュメンテーションやデータは、通常、パッケージホイールの配布物には掲載されないため、そのボックスの下にあります。右の矢印は、ビルド配布ファイルのボックスに移動します。このボックスは、TestPyPIか本物のPyPIのどちらかに公開するように導きます" -"。PyPIからconda-forgeに接続し、ディストリビューションをPyPIからconda-forgeに送る自動ビルドを行うことができます。" +"ハイレベルなパッケージングのワークフローを示すグラフィックです。左側には、コード、メタデータ、テストが入ったグラフィックがあります。ドキュメンテーションやデータは、通常、パッケージホイールの配布物には掲載されないため、そのボックスの下にあります。右の矢印は、ビルド配布ファイルのボックスに移動します。このボックスは、TestPyPIか本物のPyPIのどちらかに公開するように導きます。PyPIからconda-" +"forgeに接続し、ディストリビューションをPyPIからconda-forgeに送る自動ビルドを行うことができます。" #: ../../package-structure-code/python-package-distribution-files-sdist-wheel.md:95 msgid "" "You need to build your Python package in order to publish it to PyPI (or " "Conda). The build process organizes your code and metadata into a " -"distribution format that can be uploaded to PyPI and subsequently " -"downloaded and installed by users. NOTE: you need to publish a sdist to " -"PyPI in order for conda-forge to properly build your package automatically." +"distribution format that can be uploaded to PyPI and subsequently downloaded" +" and installed by users. NOTE: you need to publish a sdist to PyPI in order " +"for conda-forge to properly build your package automatically." msgstr "" "PythonパッケージをPyPI(またはConda)に公開するには、ビルドする必要があります。ビルドプロセスは、あなたのコードとメタデータをPyPIにアップロードできる配布フォーマットに整理し、その後ユーザーがダウンロードしてインストールできるようにします。" " 注意: conda-forgeが適切にパッケージを自動ビルドするためには、sdistをPyPIに公開する必要があります。" #: ../../package-structure-code/python-package-distribution-files-sdist-wheel.md:100 msgid "" -"This screenshot shows the metadata on PyPI for the xclim package. On it you" -" can see the name of the license, the author and maintainer names keywords " -"associated with the package and the base python version it requires which " -"is 3.8." -msgstr "このスクリーンショットは、PyPI上のxclimパッケージのメタデータを示しています。そこには、ライセンスの名前、そのパッケージに関連する作者とメンテナの名前のキーワード、そしてそのパッケージが必要とするpythonの基本バージョン3.8が表示されています。" +"This screenshot shows the metadata on PyPI for the xclim package. On it you " +"can see the name of the license, the author and maintainer names keywords " +"associated with the package and the base python version it requires which is" +" 3.8." +msgstr "" +"このスクリーンショットは、PyPI上のxclimパッケージのメタデータを示しています。そこには、ライセンスの名前、そのパッケージに関連する作者とメンテナの名前のキーワード、そしてそのパッケージが必要とするpythonの基本バージョン3.8が表示されています。" #: ../../package-structure-code/python-package-distribution-files-sdist-wheel.md:102 msgid "PyPI screenshot showing metadata for the xclim package." @@ -5359,7 +5292,8 @@ msgid "" "Here you see the maintainer metadata as it is displayed on PyPI. For xclim " "there are three maintainers listed with their profile pictures and github " "user names to the right." -msgstr "ここでは、PyPIに表示されているメインテナメタデータを見ることができます。xclimの場合、3人のメンテナがリストアップされており、右側にプロフィール写真とgithubユーザー名が表示されています。" +msgstr "" +"ここでは、PyPIに表示されているメインテナメタデータを見ることができます。xclimの場合、3人のメンテナがリストアップされており、右側にプロフィール写真とgithubユーザー名が表示されています。" #: ../../package-structure-code/python-package-distribution-files-sdist-wheel.md:111 msgid "" @@ -5378,10 +5312,9 @@ msgstr "PyPIやPipが期待する配布フォーマットを作るには?" #: ../../package-structure-code/python-package-distribution-files-sdist-wheel.md:116 msgid "" "You could in theory create your own scripts to organize your code the way " -"PyPI wants it to be. However, just like there are packages that handle " -"known structures such as Pandas for data frames and Numpy for arrays, there" -" are packages and tools that help you create package build distribution " -"files." +"PyPI wants it to be. However, just like there are packages that handle known" +" structures such as Pandas for data frames and Numpy for arrays, there are " +"packages and tools that help you create package build distribution files." msgstr "" "理論的には、PyPIが望むようにコードを整理する独自のスクリプトを作成することができます。 " "しかし、データフレーム用のPandasや配列用のNumpyのような既知の構造を扱うパッケージがあるように、パッケージのビルド配布ファイルの作成を支援するパッケージやツールがあります。" @@ -5390,9 +5323,9 @@ msgstr "" msgid "" "There are a suite of packaging tools that can either help you with the " "entire packaging process or just one step of the process. For instance " -"setuptools is a commonly used build back end that can be used to create " -"your sdist and wheel. Whereas tools like Hatch, PDM, Poetry and flit help " -"with other parts of the packaging process." +"setuptools is a commonly used build back end that can be used to create your" +" sdist and wheel. Whereas tools like Hatch, PDM, Poetry and flit help with " +"other parts of the packaging process." msgstr "" "パッケージングツールには、パッケージングプロセス全体を支援するものもあれば、プロセスの1ステップだけを支援するものもあります。 " "例えばsetuptoolsはよく使われるビルドバックエンドで、sdistやwheelの作成に使うことができます。 " @@ -5410,9 +5343,9 @@ msgstr "" #: ../../package-structure-code/python-package-distribution-files-sdist-wheel.md:132 msgid "" -"Below, you will learn about the two distribution files that PyPI expects " -"you to publish: sdist and wheel. You will learn about their structure and " -"what files belong in each." +"Below, you will learn about the two distribution files that PyPI expects you" +" to publish: sdist and wheel. You will learn about their structure and what " +"files belong in each." msgstr "" "以下では、PyPIが公開することを期待している2つの配布ファイル、sdistとwheelについて学びます。 " "sdistとwheelです。それぞれの構造と、どのようなファイルがあるのかについて学びます。" @@ -5420,8 +5353,8 @@ msgstr "" #: ../../package-structure-code/python-package-distribution-files-sdist-wheel.md:135 msgid "" "There are two core distribution files that you need to create to publish " -"your Python package to PyPI source distribution (often called an sdist) and" -" wheel. The sdist contains the raw source code for your package. The wheel " +"your Python package to PyPI source distribution (often called an sdist) and " +"wheel. The sdist contains the raw source code for your package. The wheel " "(.whl) contains the built / compiled files that can be directly installed " "onto anyones' computer." msgstr "" @@ -5445,15 +5378,14 @@ msgstr "" "しかし、もしあなたのパッケージが他の言語での拡張機能を持っていたり、ビルドがより複雑であったりする場合、2つのディストリビューションは大きく異なるでしょう。" #: ../../package-structure-code/python-package-distribution-files-sdist-wheel.md:149 -#, fuzzy msgid "" -"Also note that we are not discussing conda build workflows in this section." -" [You can learn more about conda builds " +"Also note that we are not discussing conda build workflows in this section. " +"[You can learn more about conda builds " "here.](https://docs.conda.io/projects/conda-build/en/latest/user-" "guide/tutorials/index.html)" msgstr "" -"また、このセクションではcondaのビルドワークフローについては触れないことに注意してください。 " -"[condaのビルドについてはこちらで詳しく説明しています](https://conda.io/projects/conda-" +"また、このセクションでは conda のビルドワークフローについては扱いません。[conda " +"ビルドについてはこちらで詳しく学べます。](https://docs.conda.io/projects/conda-" "build/en/latest/user-guide/tutorials/index.html)" #: ../../package-structure-code/python-package-distribution-files-sdist-wheel.md:154 @@ -5463,8 +5395,8 @@ msgstr "ソースディストリビューションとは (sdist)" #: ../../package-structure-code/python-package-distribution-files-sdist-wheel.md:156 msgid "" "**Source files** are the unbuilt files needed to build your package. These " -"are the \"raw / as-is\" files that you store on GitHub or whatever platform" -" you use to manage your code." +"are the \"raw / as-is\" files that you store on GitHub or whatever platform " +"you use to manage your code." msgstr "" "**ソースファイル** は、パッケージをビルドするために必要な、ビルドされていないファイルです。 " "これらは、GitHubやあなたがコードを管理するために使っているプラットフォームに保存する \"raw / as-is\" ファイルです。" @@ -5487,8 +5419,8 @@ msgstr "" #: ../../package-structure-code/python-package-distribution-files-sdist-wheel.md:164 msgid "" "Sdist is normally stored as a `.tar.gz` archive (often called a " -"\"tarball\"). Thus, when a user installs your source distribution using " -"pip, pip needs to run a build step first." +"\"tarball\"). Thus, when a user installs your source distribution using pip," +" pip needs to run a build step first." msgstr "" "Sdist は通常、 `.tar.gz` アーカイブ (しばしば \"tarball\" と呼ばれます) として保存されます。 そのため、ユーザーが " "pip を使用してソースディストリビューションをインストールする場合、pip は最初にビルドステップを実行する必要があります。" @@ -5503,9 +5435,9 @@ msgstr "GitHubアーカイブとsdistの比較" #: ../../package-structure-code/python-package-distribution-files-sdist-wheel.md:220 msgid "" -"When you make a release on GitHub, it creates a `git archive` that contains" -" all of the files in your GitHub repository. While these files are similar " -"to an sdist, these two archives are not the same. The sdist contains a few " +"When you make a release on GitHub, it creates a `git archive` that contains " +"all of the files in your GitHub repository. While these files are similar to" +" an sdist, these two archives are not the same. The sdist contains a few " "other items including a metadata directory and if you use `setuptools_scm` " "or `hatch_vcs` the sdist may also contain a file that stores the version." msgstr "" @@ -5523,8 +5455,8 @@ msgid "" "format (below) and has the extension `.whl`. The `.whl` archive contains a " "specific set of files, including metadata that are generated from your " "project's pyproject.toml file. The pyproject.toml and other files that may " -"be included in source distributions are not included in wheels because it " -"is a built distribution." +"be included in source distributions are not included in wheels because it is" +" a built distribution." msgstr "" "ホイールファイルはZIP形式のアーカイブで、ファイル名は特定のフォーマット(下記)に従い、拡張子は `.whl` です。 `.whl` " "アーカイブには、プロジェクトのpyproject.tomlファイルから生成されたメタデータを含む特定のファイル群が含まれています。 " @@ -5532,24 +5464,24 @@ msgstr "" #: ../../package-structure-code/python-package-distribution-files-sdist-wheel.md:237 msgid "" -"The wheel (.whl) is your built binary distribution. **Binary files** are " -"the built / compiled source files. These files are ready to be installed. A" -" wheel (**.whl**) is a **zip** file containing all of the files needed to " +"The wheel (.whl) is your built binary distribution. **Binary files** are the" +" built / compiled source files. These files are ready to be installed. A " +"wheel (**.whl**) is a **zip** file containing all of the files needed to " "directly install your package. All of the files in a wheel are binaries - " -"this means that code is already compiled / built. Wheels are thus faster to" -" install - particularly if you have a package that requires build steps." +"this means that code is already compiled / built. Wheels are thus faster to " +"install - particularly if you have a package that requires build steps." msgstr "" -"wheel(.whl)は、ビルドされたバイナリーディストリビューションです。 **バイナリファイル** " -"は、ビルド/コンパイルされたソースファイルです。 これらのファイルはすぐにインストールできます。 wheel (**.whl**) " -"は、パッケージを直接インストールするために必要な すべてのファイルを含む **zip** ファイルです。 " -"wheelに含まれるファイルはすべてバイナリで、これはコードがすでにコンパイル/ビルドされていることを意味します。 wheelの取り付けがより迅速に " -"- 特にビルド・ステップが必要なパッケージの場合はそうなります。" +"wheel(.whl)は、ビルドされたバイナリーディストリビューションです。 **バイナリファイル** は、ビルド/コンパイルされたソースファイルです。" +" これらのファイルはすぐにインストールできます。 wheel (**.whl**) は、パッケージを直接インストールするために必要な " +"すべてのファイルを含む **zip** ファイルです。 " +"wheelに含まれるファイルはすべてバイナリで、これはコードがすでにコンパイル/ビルドされていることを意味します。 wheelの取り付けがより迅速に -" +" 特にビルド・ステップが必要なパッケージの場合はそうなります。" #: ../../package-structure-code/python-package-distribution-files-sdist-wheel.md:239 msgid "" -"The wheel does not contain any of your package's configuration files such " -"as **setup.cfg** or **pyproject.toml**. This distribution is already built " -"so it's ready to install." +"The wheel does not contain any of your package's configuration files such as" +" **setup.cfg** or **pyproject.toml**. This distribution is already built so " +"it's ready to install." msgstr "" "ホイールには、**setup.cfg** や **pyproject.toml** のようなパッケージの設定ファイルは含まれていません。 " "このディストリビューションはすでにビルドされていますので、すぐにインストールできます。" @@ -5564,16 +5496,17 @@ msgstr "" #: ../../package-structure-code/python-package-distribution-files-sdist-wheel.md:251 msgid "" -"Wheels are also useful in the case that a package needs a **setup.py** file" -" to support a more complex build. In this case, because the files in the " -"wheel bundle are pre built, the user installing doesn't have to worry about" -" malicious code injections when it is installed." +"Wheels are also useful in the case that a package needs a **setup.py** file " +"to support a more complex build. In this case, because the files in the " +"wheel bundle are pre built, the user installing doesn't have to worry about " +"malicious code injections when it is installed." msgstr "" "ウィールは、パッケージがより複雑なビルドをサポートするために **setup.py** ファイルを必要とする場合にも便利です。 " "この場合、wheelバンドルのファイルはあらかじめビルドされているので、インストールするユーザはインストール時に悪意のあるコードインジェクションを心配する必要がありません。" #: ../../package-structure-code/python-package-distribution-files-sdist-wheel.md:258 -msgid "The filename of a wheel contains important metadata about your package." +msgid "" +"The filename of a wheel contains important metadata about your package." msgstr "wheelのファイル名には、パッケージに関する重要なメタデータが含まれています。" #: ../../package-structure-code/python-package-distribution-files-sdist-wheel.md:260 @@ -5617,15 +5550,14 @@ msgid "[Read more about the wheel format here](https://pythonwheels.com/)" msgstr "[wheelフォーマットについての詳細はこちら](https://pythonwheels.com/)" #: ../../package-structure-code/python-package-structure.md:1 -#, fuzzy msgid "Python Package Structure & Layout" -msgstr "Pythonパッケージ構造" +msgstr "Python パッケージの構造とレイアウト" #: ../../package-structure-code/python-package-structure.md:3 msgid "" -"There are two different layouts that you will commonly see within the " -"Python packaging ecosystem: src and flat layouts. Both layouts have " -"advantages for different groups of maintainers." +"There are two different layouts that you will commonly see within the Python" +" packaging ecosystem: src and flat layouts. Both layouts have advantages for" +" different groups of maintainers." msgstr "" "Pythonのパッケージングエコシステムでよく見られるレイアウトは2種類あります。: " "srcとフラットレイアウどちらのレイアウトも、異なるメンテナグループにとって利点があります。" @@ -5644,13 +5576,14 @@ msgstr "" "projects/) でも推奨されています。" #: ../../package-structure-code/python-package-structure.md:12 -msgid "pyOpenSci will never require a specific package structure for peer review" +msgid "" +"pyOpenSci will never require a specific package structure for peer review" msgstr "pyOpenSciは査読のために特定のパッケージ構造を要求することはありません" #: ../../package-structure-code/python-package-structure.md:15 msgid "" -"We understand that it would take significant effort for existing " -"maintainers to move to a new layout." +"We understand that it would take significant effort for existing maintainers" +" to move to a new layout." msgstr "新しいレイアウトに移行することは、既存のメンテナンス担当者にとって重要な労力となることは理解しています。" #: ../../package-structure-code/python-package-structure.md:18 @@ -5673,17 +5606,19 @@ msgid "" "layouts](https://packaging.python.org/en/latest/discussions/src-layout-vs-" "flat-layout/)" msgstr "" -"[PyPAによるsrcレイアウトとフラットレイアウトの概要](https://packaging.python.org/en/latest/discussions" -"/src-layout-vs-flat-layout/)" +"[PyPAによるsrcレイアウトとフラットレイアウトの概要](https://packaging.python.org/en/latest/discussions/src-" +"layout-vs-flat-layout/)" #: ../../package-structure-code/python-package-structure.md:27 msgid "" "You can use tools like Hatch to quickly create a modern Python package " "structure. Check out our quickstart tutorial:" -msgstr "Hatch のようなツールを使って、最新の Python パッケージ構造を素早く作成することができます。 クイックスタートチュートリアルをご覧ください:" +msgstr "" +"Hatch のようなツールを使って、最新の Python パッケージ構造を素早く作成することができます。 クイックスタートチュートリアルをご覧ください:" #: ../../package-structure-code/python-package-structure.md:29 -msgid "Want to learn how to create the structure to build your package? Click here." +msgid "" +"Want to learn how to create the structure to build your package? Click here." msgstr "パッケージを構築するための仕組み作りを学びたいですか? こちらをクリックしてください。" #: ../../package-structure-code/python-package-structure.md:38 @@ -5700,8 +5635,8 @@ msgstr "上の例では、以下のディレクトリの位置に注意してく #: ../../package-structure-code/python-package-structure.md:64 msgid "" -"**docs/:** Discussed in our docs chapter, this directory contains your " -"user-facing documentation website. In a **src/** layout docs/ are normally " +"**docs/:** Discussed in our docs chapter, this directory contains your user-" +"facing documentation website. In a **src/** layout docs/ are normally " "included at the same directory level as the **src/** folder." msgstr "" "**docs/:** docsの章で説明したように、このディレクトリにはユーザー向けのドキュメントサイトが含まれます。 **src/** " @@ -5710,11 +5645,11 @@ msgstr "" #: ../../package-structure-code/python-package-structure.md:65 msgid "" "**tests/** This directory contains the tests for your project code. In a " -"**src/** layout, tests are normally included at the same directory level as" -" the **src/** folder." +"**src/** layout, tests are normally included at the same directory level as " +"the **src/** folder." msgstr "" -"**tests/** このディレクトリには、プロジェクトコードのテストが含まれます。 **src/** レイアウトでは、テストは通常 **src/**" -" フォルダの同じディレクトリレベルに含まれます。" +"**tests/** このディレクトリには、プロジェクトコードのテストが含まれます。 **src/** レイアウトでは、テストは通常 **src/** " +"フォルダの同じディレクトリレベルに含まれます。" #: ../../package-structure-code/python-package-structure.md:66 msgid "" @@ -5758,34 +5693,28 @@ msgid "Click here to read about our packaging documentation requirements." msgstr "パッケージング文書の要件については、ここをクリックしてください。" #: ../../package-structure-code/python-package-structure.md:87 -#, fuzzy msgid "Example scientific packages that use **src/package** layout" -msgstr "フラットレイアウトを使用する科学的Pythonのコアパッケージ" +msgstr "**src/package** レイアウトを使用する科学パッケージの例" #: ../../package-structure-code/python-package-structure.md:89 -#, fuzzy msgid "[Sourmash](https://github.com/sourmash-bio/sourmash)" -msgstr "[numpy](https://github.com/numpy/numpy)" +msgstr "[Sourmash](https://github.com/sourmash-bio/sourmash)" #: ../../package-structure-code/python-package-structure.md:90 -#, fuzzy msgid "[bokeh](https://github.com/bokeh/bokeh)" -msgstr "[Jupyter notebook](https://github.com/jupyter/notebook)" +msgstr "[bokeh](https://github.com/bokeh/bokeh)" #: ../../package-structure-code/python-package-structure.md:91 -#, fuzzy msgid "[openscm](https://github.com/openscm/openscm-runner)" -msgstr "[scipy](https://github.com/scipy/scipy)" +msgstr "[openscm](https://github.com/openscm/openscm-runner)" #: ../../package-structure-code/python-package-structure.md:92 -#, fuzzy msgid "[awkward](https://github.com/scikit-hep/awkward)" -msgstr "[scikit-learn](https://github.com/scikit-learn/scikit-learn)" +msgstr "[awkward](https://github.com/scikit-hep/awkward)" #: ../../package-structure-code/python-package-structure.md:93 -#, fuzzy msgid "[poliastro](https://github.com/poliastro/poliastro/)" -msgstr "[pandas](https://github.com/pandas-dev/pandas)" +msgstr "[poliastro](https://github.com/poliastro/poliastro/)" #: ../../package-structure-code/python-package-structure.md:98 msgid "The src layout and testing" @@ -5793,19 +5722,19 @@ msgstr "ソースのレイアウトとテスト" #: ../../package-structure-code/python-package-structure.md:100 msgid "" -"The benefit of using the **src/package** layout is that it ensures tests " -"are run against the installed version of your package rather than the files" -" in your package working directory. If you run your tests on your files " -"rather than the installed version of your package, you may be missing " -"issues that users encounter when your package is installed." +"The benefit of using the **src/package** layout is that it ensures tests are" +" run against the installed version of your package rather than the files in " +"your package working directory. If you run your tests on your files rather " +"than the installed version of your package, you may be missing issues that " +"users encounter when your package is installed." msgstr "" "**src/package** " "レイアウトを使用する利点は、パッケージの作業ディレクトリ内のファイルではなく、インストールされているバージョンのパッケージに対してテストが確実に実行されることです。インストールされたバージョンのパッケージではなく、ファイルに対してテストを実行すると、パッケージのインストール時にユーザーが遭遇する問題が見逃される可能性があります。" #: ../../package-structure-code/python-package-structure.md:106 msgid "" -"If `tests/` are outside the **src/package** directory, they aren't included" -" in the package's [wheel](python-wheel). This makes your package size " +"If `tests/` are outside the **src/package** directory, they aren't included " +"in the package's [wheel](python-wheel). This makes your package size " "slightly smaller, which places a smaller storage burden on PyPI, and makes " "them faster to fetch." msgstr "" @@ -5842,9 +5771,9 @@ msgstr "" #: ../../package-structure-code/python-package-structure.md:116 msgid "" "However, if your package lives in a src/ directory structure " -"**src/package**, then it won't be added to the Python path by default. This" -" means that when you import your package, Python will be forced to search " -"the active environment (which has your package installed)." +"**src/package**, then it won't be added to the Python path by default. This " +"means that when you import your package, Python will be forced to search the" +" active environment (which has your package installed)." msgstr "" "ただし、パッケージが src/ ディレクトリ構造 **src/package** に存在する場合、デフォルトでは Python " "パスに追加されません。これは、パッケージをインポートすると、Python はアクティブな環境 (パッケージがインストールされている環境) " @@ -5860,18 +5789,17 @@ msgstr "" "「PYTHONSAFEPATH」)。" #: ../../package-structure-code/python-package-structure.md:121 -#, fuzzy msgid "Don't include tests in your package wheel" -msgstr "**テストスイートのデータセットをパッケージに含めないでください**" +msgstr "パッケージの wheel にテストを含めない" #: ../../package-structure-code/python-package-structure.md:123 msgid "" "Writing [tests](tests-intro) for your package is important; however, we do " -"not recommend including tests as part of your [package wheel](python-wheel)" -" by default. However, not including tests in your package distribution will" -" make it harder for people other than yourself to test whether your package" -" runs properly on their system. If you have a small test suite (Python " -"files + data), and think your users may want to run tests locally on their " +"not recommend including tests as part of your [package wheel](python-wheel) " +"by default. However, not including tests in your package distribution will " +"make it harder for people other than yourself to test whether your package " +"runs properly on their system. If you have a small test suite (Python files " +"+ data), and think your users may want to run tests locally on their " "systems, you can include tests by moving the `tests/` directory into the " "**src/package** directory (see example below)." msgstr "" @@ -5883,24 +5811,23 @@ msgstr "" #: ../../package-structure-code/python-package-structure.md:132 msgid "" -"Including the **tests/** directory in your **src/package** directory " -"ensures that tests will be included in your package's [wheel](python-" -"wheel)." +"Including the **tests/** directory in your **src/package** directory ensures" +" that tests will be included in your package's [wheel](python-wheel)." msgstr "" -"**src/package** ディレクトリに **tests/** ディレクトリをインクルードすることで、パッケージの [wheel" -"](python-wheel) にテストが含まれるようになります。" +"**src/package** ディレクトリに **tests/** ディレクトリをインクルードすることで、パッケージの [wheel](python-" +"wheel) にテストが含まれるようになります。" #: ../../package-structure-code/python-package-structure.md:134 msgid "" -"Be sure to read the [pytest documentation for more about including tests in" -" your package " -"distribution](https://docs.pytest.org/en/7.2.x/explanation/goodpractices.html#choosing-a" -"-test-layout-import-rules)." +"Be sure to read the [pytest documentation for more about including tests in " +"your package " +"distribution](https://docs.pytest.org/en/7.2.x/explanation/goodpractices.html#choosing-" +"a-test-layout-import-rules)." msgstr "" -"パッケージ配布にテストを含める方法については、 [pytest documentation for more about including " -"tests in your package " -"distribution](https://docs.pytest.org/en/7.2.x/explanation/goodpractices.html#choosing-a" -"-test-layout-import-rules) を必ず読んでください。" +"パッケージ配布にテストを含める方法については、 [pytest documentation for more about including tests" +" in your package " +"distribution](https://docs.pytest.org/en/7.2.x/explanation/goodpractices.html#choosing-" +"a-test-layout-import-rules) を必ず読んでください。" #: ../../package-structure-code/python-package-structure.md:136 msgid "Challenges with including tests and data in a package wheel" @@ -5914,8 +5841,8 @@ msgstr "テストは、特にテストデータを伴う場合、以下のよう #: ../../package-structure-code/python-package-structure.md:141 msgid "" -"Take up space in your distribution, which will build up over time as " -"storage space on PyPI" +"Take up space in your distribution, which will build up over time as storage" +" space on PyPI" msgstr "PyPI上のストレージスペースとして時間の経過とともに蓄積される、ディストリビューション内のスペースを占有します。" #: ../../package-structure-code/python-package-structure.md:142 @@ -5924,8 +5851,8 @@ msgstr "ファイルサイズが大きいと、パッケージのインストー #: ../../package-structure-code/python-package-structure.md:144 msgid "" -"However, in some cases, particularly in the scientific Python ecosystem, " -"you may need to include tests." +"However, in some cases, particularly in the scientific Python ecosystem, you" +" may need to include tests." msgstr "しかし、場合によっては、特に科学的なPythonのエコシステムでは、テストを含める必要があるかもしれません。" #: ../../package-structure-code/python-package-structure.md:147 @@ -5953,20 +5880,20 @@ msgstr "Python パッケージテストの詳細については、 [ガイドの #: ../../package-structure-code/python-package-structure.md:157 msgid "" -"The **src/package** layout is semantically more clear. Code is always found" -" in the **src/package** directory, `tests/` and `docs/`are in the root " +"The **src/package** layout is semantically more clear. Code is always found " +"in the **src/package** directory, `tests/` and `docs/`are in the root " "directory." msgstr "" -"**src/package** レイアウトの方が意味的に明確である。 コードは常に **src/package** ディレクトリにあり、 " -"`tests/` と `docs/` はルートディレクトリにあります。" +"**src/package** レイアウトの方が意味的に明確である。 コードは常に **src/package** " +"ディレクトリにあり、 `tests/` と `docs/` はルートディレクトリにあります。" #: ../../package-structure-code/python-package-structure.md:161 msgid "" "If your package tests require data, do NOT include that data within your " "package structure. Including data in your package structure increases the " "size of your distribution files. This places a maintenance toll on " -"repositories like PyPI and Anaconda.org that have to deal with thousands of" -" package uploads." +"repositories like PyPI and Anaconda.org that have to deal with thousands of " +"package uploads." msgstr "" "パッケージのテストにデータが必要な場合は、そのデータをパッケージ構造に含めないでください。 " "パッケージ構造にデータをインクルードすると、配布ファイルのサイズが大きくなります。 これは PyPI や Anaconda.org " @@ -5992,9 +5919,9 @@ msgstr "このレイアウトは、NumPy、SciPy、Matplotlibのような多く #: ../../package-structure-code/python-package-structure.md:181 msgid "" -"Many Python tools depend upon tools in other languages and/or complex " -"builds with compilation steps. Many maintainers prefer features of the flat" -" layout for more complex builds." +"Many Python tools depend upon tools in other languages and/or complex builds" +" with compilation steps. Many maintainers prefer features of the flat layout" +" for more complex builds." msgstr "" "多くのPythonツールは、他の言語のツールや、コンパイルステップを含む複雑なビルドに依存しています。 " "多くのメンテナーは、より複雑なビルドのためにフラットレイアウトの機能を好みます。" @@ -6002,30 +5929,26 @@ msgstr "" #: ../../package-structure-code/python-package-structure.md:185 msgid "" "While we suggest that you use the **src/package** layout discussed above, " -"it's important to also understand the flat layout, especially if you plan " -"to contribute to a package that uses this layout." +"it's important to also understand the flat layout, especially if you plan to" +" contribute to a package that uses this layout." msgstr "" "上述した **src/package** " "レイアウトを使用することを推奨しますが、特にこのレイアウトを使用するパッケージに貢献する予定がある場合は、フラットレイアウトも理解することが重要です。" #: ../../package-structure-code/python-package-structure.md:188 -#, fuzzy msgid "Why most scientific Python packages do not use src/ layout" -msgstr "ほとんどの科学的Pythonパッケージがソースを使わない理由" +msgstr "ほとんどの科学 Python パッケージが src/ レイアウトを使わない理由" #: ../../package-structure-code/python-package-structure.md:191 -#, fuzzy msgid "" "Migrating larger scientific packages that already use a flat layout would " "consume significant time and resources." -msgstr "" -"ほとんどの場合、すでにフラットレイアウトを使用している大規模な科学パッケージの **src/package** " -"レイアウトへの移行は、かなりの時間を消費します。" +msgstr "すでにフラットレイアウトを使用している大規模な科学パッケージの移行は、多大な時間とリソースを消費します。" #: ../../package-structure-code/python-package-structure.md:193 msgid "" -"However, the advantages of using the **src/package** layout for a beginner" -" are significant. As such, we recommend that you use the **src/package** " +"However, the advantages of using the **src/package** layout for a beginner " +"are significant. As such, we recommend that you use the **src/package** " "layout if you are creating a new package." msgstr "" "しかし、初心者にとって**src/package**レイアウトを使う利点は大きいです。そのため、新しいパッケージを作成する場合は、 " @@ -6079,17 +6002,17 @@ msgstr "フラットレイアウトを採用することは、科学コミュニ #: ../../package-structure-code/python-package-structure.md:234 msgid "" -"This structure has historically been used across the ecosystem and packages" -" using it are unlikely to change." +"This structure has historically been used across the ecosystem and packages " +"using it are unlikely to change." msgstr "この構造は歴史的にエコシステム全体で使われてきたものであり、これを使うパッケージが変わることはないでしょう。" #: ../../package-structure-code/python-package-structure.md:236 msgid "" "You can import the package directly from the root directory. For some this " "is engrained in their respective workflows. However, for a beginner the " -"danger of doing this is that you are not developing and testing against the" -" installed version of your package. Rather, you are working directly with " -"the flat files." +"danger of doing this is that you are not developing and testing against the " +"installed version of your package. Rather, you are working directly with the" +" flat files." msgstr "" "ルートディレクトリからパッケージを直接インポートすることができます。これがそれぞれのワークフローに組み込まれている人もいるでしょう。しかし、初心者がこの方法をとる危険性は、インストールされたバージョンのパッケージに対して開発やテストを行っていないことにあります。" " むしろ、フラットファイルを直接扱うことになります。" @@ -6129,8 +6052,8 @@ msgstr "[scikit-learn](https://github.com/scikit-learn/scikit-learn)" #: ../../package-structure-code/python-package-structure.md:253 msgid "" "It would be a significant maintenance cost and burden to move all of these " -"packages to a different layout. The potential benefits of the source layout" -" for these tools are not worth the maintenance investment." +"packages to a different layout. The potential benefits of the source layout " +"for these tools are not worth the maintenance investment." msgstr "" "これらのパッケージをすべて別のレイアウトに移行するのは、かなりのメンテナンスコストと負担になるでしょう。 " "これらのツールのソースレイアウトの潜在的な利点は、メンテナンスの投資に見合うものではありません。" @@ -6161,10 +6084,10 @@ msgstr "キーポイント" #: ../../package-structure-code/python-package-versions.md:8 msgid "" -"Follow [semantic versioning guidelines (SemVer) rules](https://semver.org/)" -" when bumping (increasing) your Python's package version; for example a " -"major version bump (version 1.0 --> 2.0) equates to breaking changes in " -"your package's code for a user." +"Follow [semantic versioning guidelines (SemVer) rules](https://semver.org/) " +"when bumping (increasing) your Python's package version; for example a major" +" version bump (version 1.0 --> 2.0) equates to breaking changes in your " +"package's code for a user." msgstr "" "Pythonのパッケージのバージョンを(上げる)ときは [semantic versioning guidelines " "(SemVer)のルール](https://semver.org/) に従ってください。例えばメジャーバージョンアップ(バージョン1.0 --> " @@ -6172,21 +6095,22 @@ msgstr "" #: ../../package-structure-code/python-package-versions.md:9 msgid "" -"You may want to consider using a plugin like hatch_vsc for managing " -"versions of your package - if you want to have a GitHub only release " -"workflow." +"You may want to consider using a plugin like hatch_vsc for managing versions" +" of your package - if you want to have a GitHub only release workflow." msgstr "" "パッケージのバージョン管理には、hatch_vsc のようなプラグインを使うことを検討するとよいでしょう - GitHub " "でのみリリースを行うワークフローを作りたいのであれば。" #: ../../package-structure-code/python-package-versions.md:10 msgid "" -"Otherwise most major package build tools such as Hatch, Flit and PDM have a" -" version feature that will help you update your package's version" -msgstr "その他、Hatch、Flit、PDMなどの主要なパッケージビルドツールには、パッケージのバージョンを更新するためのバージョン機能があります。" +"Otherwise most major package build tools such as Hatch, Flit and PDM have a " +"version feature that will help you update your package's version" +msgstr "" +"その他、Hatch、Flit、PDMなどの主要なパッケージビルドツールには、パッケージのバージョンを更新するためのバージョン機能があります。" #: ../../package-structure-code/python-package-versions.md:11 -msgid "Avoid updating your packages version number manually by hand in your code!" +msgid "" +"Avoid updating your packages version number manually by hand in your code!" msgstr "パッケージのバージョン番号をコード内で手作業で更新するのは避けましょう!" #: ../../package-structure-code/python-package-versions.md:14 @@ -6205,9 +6129,9 @@ msgstr "" #: ../../package-structure-code/python-package-versions.md:18 msgid "" "[Semantic versioning](https://semver.org/) is an approach to updating " -"package versions that considers the type and extent of a change that you " -"are making to the package code. Being consistent with how and when you " -"update your package versions is important as:" +"package versions that considers the type and extent of a change that you are" +" making to the package code. Being consistent with how and when you update " +"your package versions is important as:" msgstr "" "[Semantic versioning](https://semver.org/) " "は、パッケージのバージョンを更新するためのアプローチで、パッケージのコードに加えようとしている変更の種類と程度を考慮します。パッケージのバージョンを更新する方法とタイミングを一貫させることは、次のように重要です:" @@ -6216,7 +6140,8 @@ msgstr "" msgid "" "It helps your users (which might include other developers that depend on " "your package) understand the extent of changes to a package." -msgstr "これは、あなたのユーザ (あなたのパッケージに依存している他の開発者を含むかもしれません) がパッケージの変更範囲を理解するのに役立ちます。" +msgstr "" +"これは、あなたのユーザ (あなたのパッケージに依存している他の開発者を含むかもしれません) がパッケージの変更範囲を理解するのに役立ちます。" #: ../../package-structure-code/python-package-versions.md:24 msgid "" @@ -6226,9 +6151,9 @@ msgstr "標準的なルールに基づいて、開発チームがパッケージ #: ../../package-structure-code/python-package-versions.md:26 msgid "" -"Consistent version increases following semver rules mean that values of " -"your package version explain the extent of the changes made in the code " -"base from version to version. Thus your package version numbers become " +"Consistent version increases following semver rules mean that values of your" +" package version explain the extent of the changes made in the code base " +"from version to version. Thus your package version numbers become " "\"expressive\" in the same way that naming code variables well can [make " "code expressive](https://medium.com/@daniel.oliver.king/writing-expressive-" "code-b69ef7a5a2fa)." @@ -6244,8 +6169,8 @@ msgstr "バージョン管理について" #: ../../package-structure-code/python-package-versions.md:29 msgid "" "In some cases even small version changes can turn a package update into a " -"breaking change for some users. What is also important is that you document" -" how you version your code and if you can, also document your deprecation " +"breaking change for some users. What is also important is that you document " +"how you version your code and if you can, also document your deprecation " "policy for code." msgstr "" "場合によっては、小さなバージョン変更でさえも、パッケージのアップデートを一部のユーザーにとって破壊的な変更に変えてしまう可能性があります。 " @@ -6292,8 +6217,8 @@ msgstr "後方互換性のある方法で機能を追加する場合の **MINOR #: ../../package-structure-code/python-package-versions.md:52 msgid "" "**PATCH version** when you make backwards compatible bug fixes Additional " -"labels for pre-release and build metadata are available as extensions to " -"the MAJOR.MINOR.PATCH format." +"labels for pre-release and build metadata are available as extensions to the" +" MAJOR.MINOR.PATCH format." msgstr "" "**PATCH version** 後方互換性のあるバグ修正を行う場合 " "プレリリースとビルドのメタデータ用の追加ラベルは、MAJOR.MINOR.PATCHフォーマットの拡張として利用できます。" @@ -6302,9 +6227,9 @@ msgstr "" msgid "" "Some people prefer to use [calver](https://calver.org/index.html) for " "versioning. It may be a simpler-to-use system given it relies upon date " -"values associated with released versions. However, calver does not provide " -"a user with a sense of when a new version might break an existing build. As" -" such we still suggest semver." +"values associated with released versions. However, calver does not provide a" +" user with a sense of when a new version might break an existing build. As " +"such we still suggest semver." msgstr "" "バージョン管理には[calver](https://calver.org/index.html)を好んで使う人もいます。リリースされたバージョンに関連する日付の値に依存することを考えれば、より使いやすいシステムかもしれません。" " しかし、calverは、新しいバージョンがいつ既存のビルドを壊すかもしれないという感覚をユーザーに提供しません。 " @@ -6323,25 +6248,27 @@ msgstr "Python パッケージのバージョン番号を手動で更新する #: ../../package-structure-code/python-package-versions.md:66 msgid "" "Often times you may want to have your package version value in multiple " -"locations. One example of this is that it might be both an attribute in " -"your package **version** and also called in your documentation." +"locations. One example of this is that it might be both an attribute in your" +" package **version** and also called in your documentation." msgstr "" "パッケージのバージョンの値を複数の場所で持ちたい場合がよくあります。 その一例として、パッケージの **version** " "の属性であると同時に、ドキュメントの中で呼び出されることがあります。" #: ../../package-structure-code/python-package-versions.md:71 msgid "" -"We recommend that you avoid manual updates of your package version number " -"to avoid human-error. It is better practice to keep your version number in " -"one location." -msgstr "ヒューマンエラーを避けるため、パッケージのバージョン番号の手動更新は 避けることをお勧めします。 バージョン番号は一箇所にまとめておく方がよいでしょう。" +"We recommend that you avoid manual updates of your package version number to" +" avoid human-error. It is better practice to keep your version number in one" +" location." +msgstr "" +"ヒューマンエラーを避けるため、パッケージのバージョン番号の手動更新は 避けることをお勧めします。 バージョン番号は一箇所にまとめておく方がよいでしょう。" #: ../../package-structure-code/python-package-versions.md:75 msgid "" -"If you can't implement a single location version, then consider using a " -"tool like hatch, PDM or bump2version that will update the version values " -"for you - throughout your package." -msgstr "もし1カ所のバージョンを実装できないのであれば、hatchやPDM、bump2versionのような、パッケージ全体でバージョン値を更新してくれるツールの使用を検討しましょう。" +"If you can't implement a single location version, then consider using a tool" +" like hatch, PDM or bump2version that will update the version values for you" +" - throughout your package." +msgstr "" +"もし1カ所のバージョンを実装できないのであれば、hatchやPDM、bump2versionのような、パッケージ全体でバージョン値を更新してくれるツールの使用を検討しましょう。" #: ../../package-structure-code/python-package-versions.md:79 msgid "" @@ -6377,21 +6304,21 @@ msgstr "パッケージのバージョンを管理するために使用できる #: ../../package-structure-code/python-package-versions.md:102 msgid "" "**semantic release tools:** These tools will automagically determine what " -"type of version bump to use using the text in your commit messages. Below " -"we discuss [Python Semantic Release](https://python-semantic-" +"type of version bump to use using the text in your commit messages. Below we" +" discuss [Python Semantic Release](https://python-semantic-" "release.readthedocs.io/en/latest/) as a Python tool that implements a " "semantic versioning approach." msgstr "" "**セマンティックリリースツール:** これらのツールは、コミットメッセージのテキストから、使用するバージョンバンプのタイプを自動的に判断します。 " -"以下では、セマンティックバージョニングアプローチを実装したPythonツールとして、 [Python Semantic Release](https" -"://python-semantic-release.readthedocs.io/en/latest/) を取り上げます。" +"以下では、セマンティックバージョニングアプローチを実装したPythonツールとして、 [Python Semantic " +"Release](https://python-semantic-release.readthedocs.io/en/latest/) を取り上げます。" #: ../../package-structure-code/python-package-versions.md:104 msgid "" "**Manual incremental bump tools:** Tools like " -"[Hatch](https://hatch.pypa.io/latest/version/) offer version bumping within" -" your package. Normally this is implemented at the command link for " -"instance `hatch version major` would bump your project from 0.x to 1.0." +"[Hatch](https://hatch.pypa.io/latest/version/) offer version bumping within " +"your package. Normally this is implemented at the command link for instance " +"`hatch version major` would bump your project from 0.x to 1.0." msgstr "" "**手動インクリメンタルバンプツール:** " "[Hatch](https://hatch.pypa.io/latest/version/)のようなツールは、パッケージ内でのバージョンバンプを提供します。通常、これはコマンドリンクで実装されます。例えば、" @@ -6399,11 +6326,11 @@ msgstr "" #: ../../package-structure-code/python-package-versions.md:105 msgid "" -"**Version Control System tools:** Finally there are tools that rely on your" -" version control system to track versions. These tools often are plugins to" -" your package build tool (ex: setuptools build or hatchling). We discuss " -"this option below assuming that you are using **.git tags** and **GitHub** " -"to manage your package repository." +"**Version Control System tools:** Finally there are tools that rely on your " +"version control system to track versions. These tools often are plugins to " +"your package build tool (ex: setuptools build or hatchling). We discuss this" +" option below assuming that you are using **.git tags** and **GitHub** to " +"manage your package repository." msgstr "" "**バージョン管理システムツール:** 最後に、バージョンを追跡するためにバージョン管理システムに依存するツールがある。 " "これらのツールは、パッケージビルドツールのプラグインであることが多いです (例:setuptools build または hatchling)。 " @@ -6416,8 +6343,8 @@ msgstr "セマンティックリリース、バージョン管理ベースと手 #: ../../package-structure-code/python-package-versions.md:109 msgid "" -"Generally semantic release and version control system tools can be setup to" -" run automatically on GitHub using GitHub Actions. This means that you can " +"Generally semantic release and version control system tools can be setup to " +"run automatically on GitHub using GitHub Actions. This means that you can " "create a workflow where a GitHub release and associated new version tag is " "used to trigger an automated build that:" msgstr "" @@ -6440,16 +6367,16 @@ msgstr "パッケージをPyPIに公開します" #: ../../package-structure-code/python-package-versions.md:120 msgid "" "Bumping a package version refers to the step of increasing the package " -"version after a set number of changes have been made to it. For example, " -"you might bump from version 0.8 to 0.9 of a package or from 0.9 to 1.0." +"version after a set number of changes have been made to it. For example, you" +" might bump from version 0.8 to 0.9 of a package or from 0.9 to 1.0." msgstr "" "パッケージのバージョンを上げるとは、パッケージのバージョンに一定の 変更が加えられた後に、そのパッケージのバージョンを上げることです。 " "たとえば、あるパッケージのバージョン 0.8 から 0.9 にバンプしたり、0.9 から 1.0 にバンプしたりします。" #: ../../package-structure-code/python-package-versions.md:124 msgid "" -"Using semantic versioning, there are three main \"levels\" of versions that" -" you might consider:" +"Using semantic versioning, there are three main \"levels\" of versions that " +"you might consider:" msgstr "セマンティックバージョニングを使用する場合、3つの主な \"レベル\" が考えられます:" #: ../../package-structure-code/python-package-versions.md:127 @@ -6509,8 +6436,8 @@ msgstr "`tool-name version update minor`" #: ../../package-structure-code/python-package-versions.md:151 msgid "" "[Hatch](https://hatch.pypa.io/latest/version/), for instance offers `hatch " -"version minor` which will modify the version of your package incrementally." -" With **Hatch** the version value will be found in your `pyproject.toml` " +"version minor` which will modify the version of your package incrementally. " +"With **Hatch** the version value will be found in your `pyproject.toml` " "file. " msgstr "" "例えば、[Hatch](https://hatch.pypa.io/latest/version/) " @@ -6518,18 +6445,16 @@ msgstr "" "の場合、バージョン値は`pyproject.toml`ファイルにあります。 " #: ../../package-structure-code/python-package-versions.md:154 -#, fuzzy msgid "Hatch (or other tools like PDM) pros" -msgstr "Hatch(またはPDMのような他のツール)の長所" +msgstr "Hatch (または PDM のような他のツール) の長所" #: ../../package-structure-code/python-package-versions.md:156 msgid "Easy to use version updates locally using a single tool!" msgstr "1つのツールを使ってローカルで簡単にバージョン更新ができます!" #: ../../package-structure-code/python-package-versions.md:158 -#, fuzzy msgid "Hatch (or other tools like PDM) cons" -msgstr "Hatch(またはPDMのような他のツール)の短所" +msgstr "Hatch (または PDM のような他のツール) の短所" #: ../../package-structure-code/python-package-versions.md:160 msgid "" @@ -6544,9 +6469,9 @@ msgstr "ツール 2: Hatch_vcs & hatchling ビルドバックエンド" #: ../../package-structure-code/python-package-versions.md:164 msgid "" "[hatch_vcs](https://github.com/ofek/hatch-vcs) is a versioning tool that " -"allows you to manage package versions using **git tags**. Hatch_vcs creates" -" a **\\_version.py** file in your package ecosystem that keeps track of the" -" package's current version." +"allows you to manage package versions using **git tags**. Hatch_vcs creates " +"a **\\_version.py** file in your package ecosystem that keeps track of the " +"package's current version." msgstr "" "[hatch_vcs](https://github.com/ofek/hatch-vcs)は、 **git tags** " "を使ってパッケージのバージョンを管理できるバージョン管理ツールです。Hatch_vcs はパッケージの現在のバージョンを追跡する " @@ -6554,11 +6479,11 @@ msgstr "" #: ../../package-structure-code/python-package-versions.md:169 msgid "" -"Hatch keeps track of your package's version in a `_version.py` file. " -"Storing the version in a single file managed by Hatch provides your package" -" with a \"single source of truth\" value for the version number. This in " -"turn eliminates potential error associated with manually updating your " -"package's version." +"Hatch keeps track of your package's version in a `_version.py` file. Storing" +" the version in a single file managed by Hatch provides your package with a " +"\"single source of truth\" value for the version number. This in turn " +"eliminates potential error associated with manually updating your package's " +"version." msgstr "" "Hatch はパッケージのバージョンを `_version.py` ファイルに記録しています。 " "Hatchが管理する単一のファイルにバージョンを保存することで、パッケージにバージョン番号の \"単一の真のソース\" 値を提供します。 " @@ -6578,17 +6503,20 @@ msgid "" "Thus, when you create a new tag or a new release with a tag and build your " "package, Hatch will access the new tag value and use it to update your " "package version." -msgstr "このように、新しいタグを作成したり、タグ付きの新しいリリースを作成してパッケージをビルドすると、Hatchは新しいタグの値にアクセスし、それを使ってパッケージのバージョンを更新します。" +msgstr "" +"このように、新しいタグを作成したり、タグ付きの新しいリリースを作成してパッケージをビルドすると、Hatchは新しいタグの値にアクセスし、それを使ってパッケージのバージョンを更新します。" #: ../../package-structure-code/python-package-versions.md:181 -msgid "To use **hatch_vcs** you will need to use the **hatchling** build back end." +msgid "" +"To use **hatch_vcs** you will need to use the **hatchling** build back end." msgstr "**hatch_vcs** を使用するには、 **hatchling** ビルドバックエンドを使用する必要があります。" #: ../../package-structure-code/python-package-versions.md:184 msgid "" "Hatchling can also be used with any of the modern build tools including " "**Flit** and **PDM** if you prefer those for your day to day workflow." -msgstr "日々のワークフローにそれらを好むなら、Hatchlingは **Flit** や **PDM** を含む最新のビルドツールでも使用できます。" +msgstr "" +"日々のワークフローにそれらを好むなら、Hatchlingは **Flit** や **PDM** を含む最新のビルドツールでも使用できます。" #: ../../package-structure-code/python-package-versions.md:189 msgid "Hatch example setup in your pyproject.toml" @@ -6596,23 +6524,23 @@ msgstr "pyproject.tomlでのHatchのセットアップ例" #: ../../package-structure-code/python-package-versions.md:198 msgid "" -"**Hatch_vcs** supports a fully automated package release and build, and " -"push to PyPI workflow on GitHub." -msgstr "**Hatch_vcs** は完全に自動化されたパッケージのリリースとビルド、GitHub上のPyPIへのプッシュのワークフローをサポートしています。" +"**Hatch_vcs** supports a fully automated package release and build, and push" +" to PyPI workflow on GitHub." +msgstr "" +"**Hatch_vcs** は完全に自動化されたパッケージのリリースとビルド、GitHub上のPyPIへのプッシュのワークフローをサポートしています。" #: ../../package-structure-code/python-package-versions.md:208 msgid "" "If you use **setuptools_scm**, then you might find **hatch_vcs** and " -"**hatchling** to be the modern equivalent to your current setuptools / " -"build workflow." +"**hatchling** to be the modern equivalent to your current setuptools / build" +" workflow." msgstr "" "もしあなたが **setuptools_scm** を使っているのであれば、 **hatch_vcs** と **hatchling** " "があなたの現在のsetuptools/ビルドワークフローと現代的に同等であることがわかるかもしれません。" #: ../../package-structure-code/python-package-versions.md:211 -#, fuzzy msgid "hatch_vcs pros" -msgstr "hatch_vcs Pros" +msgstr "hatch_vcs の長所" #: ../../package-structure-code/python-package-versions.md:213 msgid "Hatch supports modern Python packaging standards" @@ -6631,8 +6559,8 @@ msgstr "パッケージのバージョンを手動で更新することはあり #: ../../package-structure-code/python-package-versions.md:216 #: ../../package-structure-code/python-package-versions.md:242 msgid "" -"You can automate writing the version anywhere in your package including " -"your documentation!" +"You can automate writing the version anywhere in your package including your" +" documentation!" msgstr "ドキュメンテーションを含め、パッケージのどこにでもバージョンを書くことを自動化できます!" #: ../../package-structure-code/python-package-versions.md:217 @@ -6652,17 +6580,16 @@ msgstr "バージョン番号は隠された `_version.py` ファイルを通し #: ../../package-structure-code/python-package-versions.md:219 #: ../../package-structure-code/python-package-versions.md:245 msgid "" -"While we like detailed commit messages (See Python Semantic Version below)," -" we know that sometimes when maintaining a package specific guidelines " -"around commit messages can be hard to apply and manage." +"While we like detailed commit messages (See Python Semantic Version below), " +"we know that sometimes when maintaining a package specific guidelines around" +" commit messages can be hard to apply and manage." msgstr "" "私たちは詳細なコミットメッセージを好みますが(下記のPython Semantic " "Versionを参照してください)、パッケージを管理する際にコミットメッセージに関する特定のガイドラインを適用したり管理したりするのが難しい場合があることも知っています。" #: ../../package-structure-code/python-package-versions.md:221 -#, fuzzy msgid "hatch_vcs cons" -msgstr "hatch_vcs Cons" +msgstr "hatch_vcs の短所" #: ../../package-structure-code/python-package-versions.md:223 msgid "" @@ -6679,8 +6606,8 @@ msgstr "ツール3: gitタグを使ったsetuptools-scmのバージョン管理" #: ../../package-structure-code/python-package-versions.md:228 msgid "" -"[`Setuptools_scm`](https://github.com/pypa/setuptools-scm/) is an extension" -" that you can use with setuptools to manage package versions. " +"[`Setuptools_scm`](https://github.com/pypa/setuptools-scm/) is an extension " +"that you can use with setuptools to manage package versions. " "**Setuptools_scm** operates the same way that **hatch_vcs** (discussed " "above) does. It stores a version in a **\\_version.py** file and relies on " "(**git**) tags to determine the package's current version." @@ -6701,13 +6628,13 @@ msgid "setuptools_scm Pros" msgstr "setuptools_scm Pros" #: ../../package-structure-code/python-package-versions.md:246 -msgid "**setuptools** is still the most commonly used Python packaging build tool" +msgid "" +"**setuptools** is still the most commonly used Python packaging build tool" msgstr "**setuptools** は今でも最もよく使われているPythonパッケージング構築ツールです。" #: ../../package-structure-code/python-package-versions.md:248 -#, fuzzy msgid "setuptools_scm cons" -msgstr "setuptools_scm Cons" +msgstr "setuptools_scm の短所" #: ../../package-structure-code/python-package-versions.md:250 msgid "" @@ -6723,7 +6650,8 @@ msgstr "文書化されていません" msgid "" "Because setuptools will always have to support backwards compatibility it " "will always be slower in adopting modern Python packaging conventions." -msgstr "setuptools は常に後方互換性をサポートしなければならないので、最新の Python パッケージング規約を採用するのは常に遅くなります。" +msgstr "" +"setuptools は常に後方互換性をサポートしなければならないので、最新の Python パッケージング規約を採用するのは常に遅くなります。" #: ../../package-structure-code/python-package-versions.md:254 msgid "" @@ -6744,8 +6672,8 @@ msgstr "" #: ../../package-structure-code/python-package-versions.md:268 msgid "" "Python semantic release uses a commit message workflow that updates the " -"version of your package based on keywords found in your commit messages. As" -" the name implies, Python Semantic Release follows semver release rules." +"version of your package based on keywords found in your commit messages. As " +"the name implies, Python Semantic Release follows semver release rules." msgstr "" "Python semantic release " "はコミットメッセージのワークフローを使い、コミットメッセージに含まれるキーワードに基づいてパッケージのバージョンを更新します。 " @@ -6753,17 +6681,16 @@ msgstr "" #: ../../package-structure-code/python-package-versions.md:273 msgid "" -"With Python Semantic Release, versions are triggered using specific " -"language found in a git commit message." +"With Python Semantic Release, versions are triggered using specific language" +" found in a git commit message." msgstr "Python Semantic Release では、git のコミットメッセージにある特定の言語を使ってバージョンをトリガーします。" #: ../../package-structure-code/python-package-versions.md:276 msgid "" "For example, the words `fix(attribute_warning):` trigger Python Semantic " -"Release to implement a **patch** version bump. For instance if your package" -" was at version 1.1.0 and you made the commit below with the words fix" -"(text-here), Python Semantic Release would bump your package to version " -"1.1.1." +"Release to implement a **patch** version bump. For instance if your package " +"was at version 1.1.0 and you made the commit below with the words fix(text-" +"here), Python Semantic Release would bump your package to version 1.1.1." msgstr "" "例えば、 `fix(attribute_warning):` という言葉は、Python Semantic Releaseが **patch** " "バージョンバンプを実装する引き金になります。 例えば、あなたのパッケージのバージョンが1.1.0で、fix(text-here) " @@ -6778,19 +6705,18 @@ msgstr "同様に、機能(`feat()`)はマイナーバージョンアップ #: ../../package-structure-code/python-package-versions.md:294 msgid "" "You can find a thoughtful discussion of python semantic version [in this " -"Python package guide](https://py-pkgs.org/07-releasing-versioning" -"#automatic-version-bumping). Note that the guide hasn't been updated since " -"2020 and will potentially be updated in the future! But for now, some of " -"the commands are dated but the content is still excellent." +"Python package guide](https://py-pkgs.org/07-releasing-versioning#automatic-" +"version-bumping). Note that the guide hasn't been updated since 2020 and " +"will potentially be updated in the future! But for now, some of the commands" +" are dated but the content is still excellent." msgstr "" "[このPythonパッケージガイド](https://py-pkgs.org/07-releasing-versioning#automatic-" "version-bumping) " "で、pythonのセマンティックバージョンについての丁寧な議論を見つけることができます。なお、このガイドは2020年以降更新されておらず、今後も更新される可能性があります!しかし、今のところ、いくつかのコマンドは古いが、内容は依然として素晴らしいです。" #: ../../package-structure-code/python-package-versions.md:297 -#, fuzzy msgid "Python Semantic Release pros" -msgstr "Pythonセマンティックリリースの長所" +msgstr "Python Semantic Release の長所" #: ../../package-structure-code/python-package-versions.md:299 msgid "Follows semver versioning closely" @@ -6800,23 +6726,22 @@ msgstr "センバーのバージョニングに忠実に従う" msgid "" "Enforces maintainers using descriptive commit messages which can simplify " "troubleshooting and ensure a cleaner and more self-describing git history." -msgstr "説明的なコミットメッセージを使ってメンテナを強制します。これにより、トラブルシューティングを簡素化し、よりクリーンで自己記述的なgit履歴を確保することができます。" +msgstr "" +"説明的なコミットメッセージを使ってメンテナを強制します。これにより、トラブルシューティングを簡素化し、よりクリーンで自己記述的なgit履歴を確保することができます。" #: ../../package-structure-code/python-package-versions.md:302 -#, fuzzy msgid "Python Semantic Release cons" -msgstr "Pythonセマンティックリリースの短所" +msgstr "Python Semantic Release の短所" #: ../../package-structure-code/python-package-versions.md:304 msgid "" -"Requires very specific commit language to work. In practice some " -"maintainers and contributors may not be able to maintain that level of " -"specificity in commit messages (NOTE: there are bots that will check git " -"commit messages in a repo)" +"Requires very specific commit language to work. In practice some maintainers" +" and contributors may not be able to maintain that level of specificity in " +"commit messages (NOTE: there are bots that will check git commit messages in" +" a repo)" msgstr "" -"動作させるには、非常に特殊なコミット言語が必要です。 " -"実際には、メンテナや貢献者の中にはコミットメッセージにそのレベルの具体性を保てない人もいるでしょう (注意: リポジトリ内の git commit " -"メッセージをチェックするボットがあります)。" +"動作させるには、非常に特殊なコミット言語が必要です。 実際には、メンテナや貢献者の中にはコミットメッセージにそのレベルの具体性を保てない人もいるでしょう" +" (注意: リポジトリ内の git commit メッセージをチェックするボットがあります)。" #: ../../package-structure-code/python-package-versions.md:305 msgid "" @@ -6834,1139 +6759,3 @@ msgid "" msgstr "" "バージョン番号は、 `pyproject.toml` のような設定ファイルとパッケージの **_version.py** " "ファイルの間で手動で更新されます。" - -#~ msgid "Feature, Flit, Hatch, PDM, Poetry" -#~ msgstr "Flit, Hatch, PDM, Poetry の特徴" - -#~ msgid "Feature, PDM, Notes" -#~ msgstr "特徴, PDM, ノート" - -#~ msgid "Feature, Flit, Notes" -#~ msgstr "特徴, Flit, ノート" - -#~ msgid "Feature, Hatch, Notes" -#~ msgstr "特徴, Hatch, ノート" - -#~ msgid "Feature, Poetry, Notes" -#~ msgstr "特徴, Poetry, ノート" - -#~ msgid "" -#~ "Poetry helps you add dependencies to " -#~ "your `pyproject.toml` metadata. _NOTE: currently" -#~ " Poetry adds dependencies using an " -#~ "approach that is slightly out of " -#~ "alignment with current Python peps - " -#~ "however there is a plan to fix " -#~ "this in an upcoming release._ Poetry " -#~ "also allows you to organize dependencies" -#~ " in groups such as documentation, " -#~ "packaging and tests." -#~ msgstr "" -#~ "Poetry は `pyproject.toml` メタデータに依存関係を追加するのに役立ちます。 " -#~ "_NOTE: 現在のところ、Poetry は現在の Python peps " -#~ "とは少しずれたアプローチで依存関係を追加しています - しかし、今後のリリースでこれを修正する予定です。 _" -#~ " Poetryでは、ドキュメント、パッケージング、テストなどのグループに依存関係を整理することもできます。" - -#~ msgid "✖✅" -#~ msgstr "✖✅" - -#~ msgid "" -#~ "Poetry does not quite support current " -#~ "packaging standards for adding metadata to" -#~ " the **pyproject.toml** file but plans " -#~ "to fix this in an upcoming release." -#~ msgstr "" -#~ "Poetryは **pyproject.toml** " -#~ "ファイルにメタデータを追加する現在のパッケージング標準を完全にサポートしているわけではありませんが、今後のリリースでこれを修正する予定です。" - -#~ msgid "" -#~ "Poetry supports installing your package in" -#~ " editable mode using `--editable`" -#~ msgstr "Poetry は `--editable` を使った編集可能モードでのパッケージのインストールをサポートしています。" - -#~ msgid "" -#~ "_Minor Challenge:_ The way Poetry " -#~ "currently adds metadata to your " -#~ "pyproject.toml file does not follow " -#~ "current Python standards. However, this is" -#~ " going to be addressed with Poetry " -#~ "release version 2.0." -#~ msgstr "" -#~ "_マイナーチェンジ:_ " -#~ "Poetryが現在pyproject.tomlファイルにメタデータを追加する方法は、現在のPythonの標準に従っていません。 " -#~ "しかし、これは Poetry リリースバージョン 2.0 で対処される予定です。" - -#~ msgid "" -#~ "A Python package dependency refers to " -#~ "an external package or software that " -#~ "your Python project:" -#~ msgstr "Pythonパッケージ依存とは、Pythonプロジェクトが使用する外部パッケージやソフトウェアのことです:" - -#~ msgid "Needs to function properly." -#~ msgstr "適切に機能する必要があります。" - -#~ msgid "" -#~ "Requires if someone wants to develop " -#~ "/ work on improving your package " -#~ "locally or" -#~ msgstr "もし、あなたのパッケージをローカルで開発したり、改良したりしたい人がいるか" - -#~ msgid "" -#~ "Requires if a user wants to add " -#~ "additional functionality (that is not " -#~ "core) to your package" -#~ msgstr "ユーザが(コアではない)追加機能をパッケージに追加したい場合に必要です。" - -#~ msgid "" -#~ "You can think about dependencies as " -#~ "being either optional or required. If " -#~ "they are required, they will be " -#~ "listed in the `dependencies` key in " -#~ "the `project` table of your " -#~ "`pyproject.toml` file. If they are " -#~ "optional, they will be listed in the" -#~ " `[project.optional-dependencies]` table of " -#~ "your `pyproject.toml`." -#~ msgstr "" -#~ "依存関係はオプションか必須であると考えることができます。 必須であれば、 `pyproject` テーブルの" -#~ " `dependencies` キーにリストされます。 オプションの場合は、 " -#~ "`pyproject.toml` の `[project.optional-dependencies]`" -#~ " テーブルにリストされます。" - -#~ msgid "You will learn about both below." -#~ msgstr "両者については後述します。" - -#~ msgid "" -#~ "There are two broad groups of Python" -#~ " package dependencies: those that are " -#~ "optional and those that are required. " -#~ "Required packages are those that a " -#~ "user needs to use your package. " -#~ "Optional dependencies are packages a user" -#~ " can chose to install to add " -#~ "functionality to your package. Within " -#~ "those 2 groups, there are three use" -#~ " cases that you can think about. " -#~ "1. Core dependencies are **required** for" -#~ " a user to use your package. 2." -#~ " Development dependencies are optional and" -#~ " only needed if someone wants to " -#~ "work on your package locally. 3. " -#~ "Finally feature dependencies are optional " -#~ "and add additional functionality to your" -#~ " package. Not all packages will have" -#~ " feature dependencies." -#~ msgstr "" -#~ "Pythonパッケージの依存関係には、オプションのものと必須のものの2つの大きなグループがあります。必須パッケージとは、ユーザがあなたのパッケージを使うために必要なパッケージのことです。オプションの依存関係とは、パッケージの機能を追加するために、ユーザーがインストールを選択できるパッケージのことです。この2つのグループの中で、3つのユースケースを考えることができます。1." -#~ " コアの依存関係は、ユーザがあなたのパッケージを使うために **必須** です。2. " -#~ "開発依存関係はオプションで、誰かがあなたのパッケージをローカルで作業したい場合にのみ必要です。3. " -#~ "最後に、機能依存はオプションであり、パッケージに追加機能を追加します。 すべてのパッケージが機能依存を持つわけではありません。" - -#~ msgid "Required (or core) dependencies" -#~ msgstr "必須(またはコア)の依存関係" - -#~ msgid "" -#~ "Required dependencies are called directly " -#~ "within your package's code. On this " -#~ "page we refer to these dependencies " -#~ "as **core dependencies** as they are " -#~ "needed in order to run your package." -#~ " You should place your core or " -#~ "required dependencies in the `dependencies` " -#~ "key of the `[project]` table of your" -#~ " `pyproject.toml` file." -#~ msgstr "" -#~ "必要な依存関係は、パッケージのコード内で直接呼び出されます。このページでは、パッケージを実行するために必要なこれらの依存関係を " -#~ "**コア依存関係** と呼びます。 `pyproject.toml` ファイルの " -#~ "`[project]` テーブルの `dependencies` " -#~ "キーに、コアまたは必要な依存関係を置く必要があります。" - -#~ msgid "" -#~ "Optional dependencies dependencies can be " -#~ "optionally installed by users depending " -#~ "upon their needs. There are two " -#~ "broad groups of optional dependencies:" -#~ msgstr "" -#~ "オプションの依存関係依存関係は、ユーザーが必要に応じてオプションでインストールすることができます。 " -#~ "オプションの依存関係には、大きく分けて2つのグループがあります:" - -#~ msgid "" -#~ "**Development dependencies**: These are " -#~ "dependencies that are required to support" -#~ " development of your package. They " -#~ "include tools to run tests such as" -#~ " `pytest`, linters (like `flake8` and " -#~ "`ruff`) and code formatters such as " -#~ "`black` and even automation tools such " -#~ "as `nox` or `tox` that run tasks." -#~ msgstr "" -#~ "**開発依存** :これらは、あなたのパッケージの開発をサポートするために必要な依存関係です。pytest` " -#~ "のようなテストを実行するツールや、 ( `flake8` や `ruff` " -#~ "のような) リンター、`black` のようなコードフォーマッター、さらにはタスクを実行する `nox`" -#~ " や `tox` のような自動化ツールも含まれます。" - -#~ msgid "" -#~ "**Feature dependencies:** These are dependencies" -#~ " that a user can chose to install" -#~ " to add functionality to your package." -#~ msgstr "**Feature dependencies:** これらは、パッケージに機能を追加するために、ユーザーが インストールを選択できる依存関係です。" - -#~ msgid "" -#~ "When a Python project is installed, " -#~ "the Python package manager (either `pip`" -#~ " or `conda`) installs your package's " -#~ "dependencies automatically. This ensures that" -#~ " when you call a function in a" -#~ " specific dependency, it is available " -#~ "in your user's environment." -#~ msgstr "" -#~ "Python プロジェクトがインストールされると、Python パッケージマネージャ (`pip` " -#~ "または `conda`) " -#~ "はパッケージの依存関係を自動的にインストールします。これにより、特定の依存関係にある関数を呼び出すと、ユーザーの環境でその関数が利用できるようになります。" - -#~ msgid "Dependencies can be added to your pyproject.toml file" -#~ msgstr "依存関係はpyproject.tomlファイルに追加できます" - -#~ msgid "" -#~ "Previously, it was common to use a" -#~ " `requirements.txt` file to declare package" -#~ " dependencies. However in recent years, " -#~ "the ecosystem has moved to storing " -#~ "this information in your **pyproject.toml** " -#~ "file. You may notice however that " -#~ "some projects still maintain a " -#~ "`requirements.txt` file for specific local " -#~ "development needs." -#~ msgstr "" -#~ "以前は `requirements.txt` " -#~ "ファイルを使ってパッケージの依存関係を宣言するのが一般的でした。しかし近年、エコシステムはこの情報を " -#~ "**pyproject.toml** " -#~ "ファイルに保存するようになりました。しかし、プロジェクトによっては、特定のローカルな開発ニーズのために " -#~ "`requirements.txt` ファイルを保持していることに気づくかもしれません。" - -#~ msgid "Other ways you may see packages storing dependencies" -#~ msgstr "パッケージが依存関係を保存する他の方法" - -#~ msgid "" -#~ "Your core project dependencies need to " -#~ "be installed by a package manager " -#~ "such as `pip` or `conda` when a " -#~ "user installs your package. You can " -#~ "add those dependencies to the " -#~ "`dependencies` array located within the " -#~ "`[project]` table of your **pyproject.toml** " -#~ "file. This looks something like this:" -#~ msgstr "" -#~ "コアプロジェクトの依存関係は、ユーザがパッケージをインストールするときに `pip` や `conda`" -#~ " のようなパッケージマネージャによってインストールされる必要があります。 " -#~ "これらの依存関係は、**pyproject.toml** ファイルの `[project]` テーブルにある" -#~ " `dependencies` 配列に追加することができます。 これは次のようになります:" - -#~ msgid "" -#~ "Ideally, you should only list the " -#~ "packages that are necessary to install " -#~ "and use your package in the " -#~ "`dependencies` key in the `[project]` " -#~ "table. This minimizes the number of " -#~ "additional packages that your users must" -#~ " install as well as the number of" -#~ " packages that depend upon your package" -#~ " must also install." -#~ msgstr "" -#~ "理想的には、 `[project]` テーブルの `dependencies` " -#~ "キーに、あなたのパッケージをインス トールして使用するために必要なパッケージだけをリストするようにしま す。 " -#~ "こうすることで、ユーザがインストールしなければならない追加パッケージの数や " -#~ "あなたのパッケージに依存するパッケージの数を最小限に抑えることができます。" - -#~ msgid "A dependency example" -#~ msgstr "依存関係の例" - -#~ msgid "" -#~ "Let's pretend you have a package " -#~ "called `plotMe` that creates beautiful " -#~ "plots of data stored in `numpy` " -#~ "arrays. To create your plots in the" -#~ " `plotMe` package, you use the " -#~ "`seaborn` package to stylize our plots " -#~ "and also `numpy` to process array " -#~ "formatted data." -#~ msgstr "" -#~ "`numpy` 配列に格納されたデータの美しいプロットを作成する `plotMe` " -#~ "というパッケージがあるとしましょう。 `plotMe` パッケージでプロットを作成するには、 " -#~ "`seaborn` パッケージを使用してプロットをスタイリングし、 `numpy` " -#~ "パッケージを使用して配列フォーマットのデータを処理します。" - -#~ msgid "In the example above, the plotMe package, depends upon two packages:" -#~ msgstr "上の例では、plotMeパッケージは2つのパッケージに依存しています:" - -#~ msgid "seaborn" -#~ msgstr "seaborn" - -#~ msgid "numpy" -#~ msgstr "numpy" - -#~ msgid "" -#~ "This means that in order for plotMe" -#~ " to work in a user's `environment` " -#~ "when installed, you also need to " -#~ "ensure that they have both of those" -#~ " required `dependencies` installed in their" -#~ " environment too." -#~ msgstr "" -#~ "つまり、plotMeをインストールしたユーザーの `環境` で動作させるためには、そのユーザーの環境にも必要な " -#~ "`依存関係` の両方がインストールされていることを確認する必要があります。" - -#~ msgid "" -#~ "Declaring a dependency in your " -#~ "`pyproject.toml` file will ensure that it" -#~ " is listed as a required dependency " -#~ "when your package is published to " -#~ "PyPI and that a package manager " -#~ "(`pip` or `conda`) will automatically " -#~ "install it into a user's environment " -#~ "alongside your package:" -#~ msgstr "" -#~ "依存関係を `pyproject.toml` ファイルで宣言することで、あなたのパッケージが PyPI" -#~ " に公開されるときに必須の依存関係としてリストされ、パッケージマネージャ ( `pip` や " -#~ "`conda` ) があなたのパッケージと一緒にユーザーの環境に自動的にインストールするようになります:" - -#~ msgid "`python -m pip install plotMe`" -#~ msgstr "`python -m pip install plotMe`" - -#~ msgid "" -#~ "Optional dependencies for building your " -#~ "documentation, running your tests and " -#~ "building your package's distribution files " -#~ "are often referred to as development " -#~ "dependencies. These are the dependencies " -#~ "that a user needs to work on " -#~ "your package locally and perform tasks " -#~ "such as:" -#~ msgstr "" -#~ "ドキュメントの構築、テストの実行、パッケージの配布ファイルの構築のための オプションの依存関係は、しばしば開発依存関係と呼ばれます。" -#~ " これらは、ユーザがあなたのパッケージをローカルで作業し、以下のようなタスクを実行するために必要な依存関係です:" - -#~ msgid "linting and other code cleanup tools" -#~ msgstr "リンティングとその他のコードクリーンナップツール" - -#~ msgid "" -#~ "These dependencies are considered optional, " -#~ "because they are not required to " -#~ "install and use your package. Feature " -#~ "dependencies are considered optional and " -#~ "should also be placed in the " -#~ "`[project.optional-dependencies]` table." -#~ msgstr "" -#~ "これらの依存関係はオプションとみなされます。なぜなら、あなたのパッケ ージをインストールして使用するのに必要ではないからです。" -#~ " 機能の依存関係はオプションとみなされ、 `[project.optional-dependencies]`" -#~ " テーブルに置く必要があります。" - -#~ msgid "" -#~ "Optional dependencies can be stored in " -#~ "an `[project.optional-dependencies]` table in" -#~ " your **pyproject.toml** file." -#~ msgstr "" -#~ "オプションの依存関係は **pyproject.toml** ファイルの `[project" -#~ ".optional-dependencies]` テーブルに格納することができます。" - -#~ msgid "" -#~ "It's important to note that within " -#~ "the `[project.optional-dependencies]` table, you" -#~ " can store additional, optional dependencies" -#~ " within named sub-groups. This is " -#~ "a different table than the dependencies" -#~ " array located within the `[project]` " -#~ "table discussed above which contains a " -#~ "single array with a single list of" -#~ " required packages." -#~ msgstr "" -#~ "ここで重要なのは、 `[project.optional-dependencies]` " -#~ "テーブルの中で、名前付きサブグループの中に追加のオプションの依存関係を格納できることです。これは、上で説明した " -#~ "`[project]` " -#~ "テーブル内の依存関係配列とは異なるテーブルであり、必要なパッケージのリストを1つだけ含む配列が1つ格納されています。" - -#~ msgid "" -#~ "Add a `[project.optional-dependencies]` table" -#~ " to your **pyproject.toml** file." -#~ msgstr "**pyproject.toml** ファイルに `[project.optional-dependencies]` テーブルを追加します。" - -#~ msgid "Create named groups of dependencies using the syntax:" -#~ msgstr "構文を使って、依存関係の名前付きグループを作成します:" - -#~ msgid "`group-name = [\"dep1\", \"dep2\"]`" -#~ msgstr "`group-name = [\"dep1\", \"dep2\"]`" - -#~ msgid "" -#~ "Below we've created three sets of " -#~ "optional development dependencies named: tests," -#~ " docs and lint. We've also added " -#~ "a set of feature dependencies." -#~ msgstr "以下では、tests、docs、lintという3つのオプションの開発依存関係を作成しました。また、機能依存のセットも追加しました。" - -#~ msgid "Using `python -m pip install` vs. `pip install`" -#~ msgstr "`python -m pip install` と `pip install` の比較" - -#~ msgid "" -#~ "In all of the examples in this " -#~ "guide, you will notice we are " -#~ "calling `pip` using the syntax:" -#~ msgstr "このガイドのすべての例で、構文を使って `pip` を呼び出していることに気づくでしょう:" - -#~ msgid "`python -m pip`" -#~ msgstr "`python -m pip`" - -#~ msgid "" -#~ "To ensure this works as you want " -#~ "it to, activate your package's development" -#~ " environment prior to installing anything " -#~ "using `pip`." -#~ msgstr "これが思い通りに動くようにするには、 `pip` を使って何かをインストールする前に、パッケージの開発環境を有効にしてください。" - -#~ msgid "" -#~ "You can install development dependencies " -#~ "using the groups that you defined " -#~ "above using the syntax:" -#~ msgstr "上記で定義したグループを使用して、構文を使って開発依存ファイルをインストールすることができます:" - -#~ msgid "`python -m pip install \".[docs]\"`" -#~ msgstr "`python -m pip install \".[docs]\"`" - -#~ msgid "Above you install:" -#~ msgstr "上記でインストールするのは:" - -#~ msgid "dependencies needed for your documentation (`docs`)," -#~ msgstr "ドキュメント (`docs`) に必要な依存関係、" - -#~ msgid "required package dependencies in the `dependencies` array and" -#~ msgstr "必要なパッケージの依存関係を `dependency` 配列で指定し" - -#~ msgid "your package" -#~ msgstr "あなたのパッケージ" - -#~ msgid "" -#~ "using pip. Below you install your " -#~ "package, required dependencies and optional " -#~ "test dependencies." -#~ msgstr "pipを使います。 以下では、パッケージ、必要な依存関係、オプションのテスト依存関係をインストールします。" - -#~ msgid "`python -m pip install \".[docs, tests, lint]\"`" -#~ msgstr "`python -m pip install \".[docs, tests, lint]\"`" - -#~ msgid "For zsh shell users" -#~ msgstr "zshシェルユーザーの場合" - -#~ msgid "" -#~ "There are different shell applications " -#~ "that you and your package contributors " -#~ "might use." -#~ msgstr "あなたやパッケージの貢献者が使うかもしれません、さまざまなシェルアプリケーションがあります。" - -#~ msgid "zsh is the shell that comes by default on newer Mac OS computers" -#~ msgstr "zsh は、新しい Mac OS コンピュータにデフォルトで搭載されているシェルです" - -#~ msgid "Windows users may use a tool such as git bash" -#~ msgstr "Windowsユーザーは、git bashのようなツールを使うことができます" - -#~ msgid "" -#~ "Some shells don't support unquoted " -#~ "brackets (`[tests]`) which is why we " -#~ "add quotes to the command in this" -#~ " guide like this:" -#~ msgstr "" -#~ "シェルによっては、引用符で囲まれていない括弧 (`[tests]`) " -#~ "をサポートしていないものもあるので、このガイドではこのようにコマンドに引用符を追加しています:" - -#~ msgid "" -#~ "In some cases you may see commands" -#~ " without the quotes in guidebooks or" -#~ " contributing guides like the example " -#~ "below:" -#~ msgstr "ガイドブックやコントリビューションガイドでは、以下の例のように引用符を使わないコマンドを見かけることがあります:" - -#~ msgid "`python -m pip install your-package[tests]`" -#~ msgstr "`python -m pip install your-package[tests]`" - -#~ msgid "" -#~ "Calling your-package[tests] without the " -#~ "double quotes will work on some " -#~ "shells *but not all*." -#~ msgstr "二重引用符を付けずに your-package[tests] を呼び出すと、一部のシェルでは動作しますが、 *すべてではありません* 。" - -#~ msgid "" -#~ "Above we reviewed how to install " -#~ "dependencies from your `pyproject.toml`. In " -#~ "some cases you may want to group " -#~ "sets of dependencies like so:" -#~ msgstr "" -#~ "上記では、 `pyproject.toml` から依存関係をインストールする方法を説明しました。 " -#~ "場合によっては、依存関係のセットをこのようにグループ化したいこともあるでしょう:" - -#~ msgid "" -#~ "The above allows you to install both" -#~ " the tests and docs dependency lists" -#~ " using the command:" -#~ msgstr "上記のコマンドを使えば、testsとdocsの両方の依存リストをインストールできます:" - -#~ msgid "`python -m pip install \".[dev]\"`" -#~ msgstr "`python -m pip install \".[dev]\"`" - -#~ msgid "When you install dependencies using the above syntax:" -#~ msgstr "上記の構文を使って依存関係をインストールする場合:" - -#~ msgid "`python -m pip install \".[tests, docs]\"`" -#~ msgstr "`python -m pip install \".[tests, docs]\"`" - -#~ msgid "Where does conda fit in?" -#~ msgstr "condaはどこに入りますか?" - -#~ msgid "" -#~ "The `pyproject.toml` file allows you to" -#~ " list any Python package published on" -#~ " PyPI (or on GitHub/ GitLab) as a" -#~ " dependency. Once you create this file," -#~ " declare dependencies, [build your package" -#~ "](python-package-distribution-files-sdist-" -#~ "wheel.md) and [publish your package to " -#~ "PyPI](publish-python-package-pypi-conda.md), " -#~ "people can install both your package " -#~ "and all of it's dependencies with " -#~ "one command." -#~ msgstr "" -#~ "`pyproject.toml` ファイルを使うと、PyPI(またはGitHub/ " -#~ "GitLab)で公開されているPythonパッケージを依存関係として列挙することができます。 " -#~ "このファイルを作成し、依存関係を宣言し、 [パッケージをビルドする](python-package-" -#~ "distribution-files-sdist-wheel.md) 、 " -#~ "[パッケージをPyPIに公開する](publish-python-package-pypi-" -#~ "conda.md) とすると、1つのコマンドであなたのパッケージと依存関係のあるパッケージの両方をインストールすることができます。" - -#~ msgid "`python -m pip install your-package`" -#~ msgstr "`python -m pip install your-package`" - -#~ msgid "" -#~ "This works great if your package is" -#~ " pure-python (no other languages used)." -#~ msgstr "これは、パッケージが純粋なpython (他の言語が使われていない) のであれば、とてもうまくいきます。" - -#~ msgid "Support conda users with environment.yml files" -#~ msgstr "environment.yml ファイルで conda ユーザーをサポートする" - -#~ msgid "" -#~ "The above workflow assumes that you " -#~ "want to publish your package on " -#~ "PyPI. And then you plan to publish" -#~ " to conda-forge (optionally), [by " -#~ "submitting a recipe using " -#~ "grayskull](https://www.pyopensci.org/python-package-guide" -#~ "/package-structure-code/publish-python-package-" -#~ "pypi-conda.html)." -#~ msgstr "" -#~ "上記のワークフローは、PyPIでパッケージを公開することを想定しています。そして、 " -#~ "[grayskullを使ってレシピを投稿する](https://www.pyopensci.org/python-" -#~ "package-guide/package-structure-code/publish-" -#~ "python-package-pypi-conda.html) ことで、conda-" -#~ "forgeに(オプションで)公開する予定です。" - -#~ msgid "" -#~ "If you want to support conda users," -#~ " you may want to also maintain a" -#~ " conda environment that they can use" -#~ " to install your package. Maintaining a" -#~ " conda environment will also help you" -#~ " test that your package installs as " -#~ "you expect into a conda environment." -#~ msgstr "" -#~ "conda ユーザーをサポートしたいのであれば、彼らがあなたのパッケージをインス トールするのに使える " -#~ "conda 環境も管理した方が良いでしょう。 conda 環境を維持することは、あなたのパッケージが " -#~ "conda 環境に期待通りにインストールされるかをテストするのにも役立ちます。" - -#~ msgid "" -#~ "If you use a conda environment for" -#~ " developing your tool, keep in mind " -#~ "that when you install your package " -#~ "using `python -m pip install -e .`" -#~ " (or using pip in general), " -#~ "dependencies will be installed from PyPI" -#~ " rather than conda." -#~ msgstr "" -#~ "ツールの開発にconda環境を使用している場合、 `python -m pip install" -#~ " -e .` " -#~ "を使用してパッケージをインストールするとき(または一般的にpipを使用するとき)、依存関係はcondaではなくPyPIからインストールされることに注意してください。" - -#~ msgid "" -#~ "Thus, if you are running a conda " -#~ "environment, installing your package in " -#~ "\"editable\" mode risks dependency conflicts." -#~ " This is particularly important if you" -#~ " have a spatial package that requires" -#~ " geospatial system libraries like GDAL " -#~ "or another system-level dependency." -#~ msgstr "" -#~ "したがって、conda環境を実行している場合、パッケージを \"editable \"モードでインス " -#~ "トールすると、依存関係が衝突する危険性があります。 " -#~ "これは、GDALのような地理空間システムライブラリや他のシステムレベルの依存関係を必要とする空間パッケージがある場合、特に重要です。" - -#~ msgid "" -#~ "Alternatively, you can install your " -#~ "package using `python -m pip install " -#~ "-e . --no-deps` to only install " -#~ "the package. And install the rest of" -#~ " your dependencies using a conda " -#~ "environment file." -#~ msgstr "" -#~ "あるいは、 `python -m pip install -e ." -#~ " --no-deps` " -#~ "を使ってパッケージだけをインストールすることもできます。そして、conda環境ファイルを使って残りの依存関係をインストールします。" - -#~ msgid "" -#~ "If you are using Read the Docs " -#~ "to build your documentation, then you " -#~ "may need to install your dependencies " -#~ "using a **readthedocs.yaml** file." -#~ msgstr "" -#~ "Read the Docsを使用してドキュメントを構築している場合、 " -#~ "**readthedocs.yaml** ファイルを使用して依存関係をインストールする必要があるかもしれません。" - -#~ msgid "" -#~ "Below is an example of installing " -#~ "the **docs** section of your dependency" -#~ " table in the pyproject.toml file " -#~ "within a readthedocs.yaml file." -#~ msgstr "" -#~ "以下は、readthedocs.yamlファイル内のpyproject.tomlファイルに依存関係テーブルの **docs**" -#~ " セクションをインストールする例です。" - -#~ msgid "Read the Docs and Python packages" -#~ msgstr "Read the DocsとPythonパッケージ" - -#~ msgid "This is hidden. TO" -#~ msgstr "これは隠されています。TO" - -#~ msgid "" -#~ "This section provides guidance on your " -#~ "Python package's structure, code format, " -#~ "and style. It also reviews the " -#~ "various [packaging tools](python-package-" -#~ "build-tools) you can use to [build" -#~ "](python-package-distribution-files-sdist-" -#~ "wheel) and [publish](publish-python-package-" -#~ "pypi-conda) your Python package." -#~ msgstr "" -#~ "このセクションでは、Python " -#~ "パッケージの構造、コードフォーマット、スタイルに関するガイダンスを提供します。また、Pythonパッケージの [build" -#~ "](python-package-distribution-files-sdist-" -#~ "wheel) や [publish](publish-python-package-" -#~ "pypi-conda) に使える様々な [packaging tools](python-" -#~ "package-build-tools) もレビューしています。" - -#~ msgid "" -#~ "If you want end-to-end tutorials," -#~ " check out our tutorial series that " -#~ "starts by introducing [what a Python " -#~ "package is](what-is-a-package)." -#~ msgstr "" -#~ "チュートリアルが必要な場合は、 [Python パッケージとは](what-is-a-package)" -#~ " 何かを紹介するところから始まるチュートリアルシリーズをご覧ください。" - -#~ msgid "" -#~ "If you are confused by Python " -#~ "packaging, you are not alone! The " -#~ "good news is that some great modern" -#~ " packaging tools ensure you follow best" -#~ " practices. Here, we review tool " -#~ "features and suggest tools you can " -#~ "use for your Python packaging workflow." -#~ msgstr "" -#~ "Python のパッケージングに戸惑っているのはあなただけではありません! " -#~ "良いニュースは、あなたがベストプラクティスに従っていることを保証する、いくつかの素晴らしい最新のパッケージングツールがあるということです。" -#~ " ここでは、ツールの機能をレビューし、あなたのワークフローに最適なツールを提案します。" - -#~ msgid "Checkout our beginning-to-end create a Python package tutorials" -#~ msgstr "Pythonパッケージ作成チュートリアルをご覧ください。" - -#~ msgid "" -#~ "src layout, flat layout and where " -#~ "should tests folders live? No matter " -#~ "what your level of packaging knowledge " -#~ "is, this page will help you decide" -#~ " upon a package structure that follows" -#~ " modern python best practices." -#~ msgstr "" -#~ "src レイアウト、フラットレイアウト、テストフォルダはどこに置くべきか? " -#~ "あなたのパッケージング知識のレベルに関係なく、このページは最新のpythonのベストプラクティスに従ったパッケージ構造を決める助けになるでしょう。" - -#~ msgid "✨ 2. Learn about building your package ✨" -#~ msgstr "✨ 2. パッケージの構築について学ぶ✨ " - -#~ msgid "" -#~ "To publish your Python package on " -#~ "PyPI, you will need to first build" -#~ " it. The act of \"building\" refers " -#~ "to the process of placing your " -#~ "package code and metadata into a " -#~ "format that can be published on " -#~ "PyPI. Learn more about building your " -#~ "Python package." -#~ msgstr "" -#~ "PythonパッケージをPyPIで公開するには、まずビルドする必要があります。 \"ビルド\" " -#~ "とは、パッケージのコードとメタデータをPyPIで公開できるような形式にすることです。 " -#~ "Pythonパッケージのビルドについての詳細はこちらをご覧ください。" - -#~ msgid "✨ 3. What Python package tool should you use? ✨" -#~ msgstr "✨ 3. どのPythonパッケージツールを使うべきですか? ✨" - -#~ msgid "" -#~ "Learn more about the suite of " -#~ "packaging tools out there. And learn " -#~ "which tool might be best for you." -#~ msgstr "パッケージングツール群についてもっと知りましょう。そして、どのツールがあなたに最適かを学びましょう。" - -#~ msgid "" -#~ "If you have a pure Python package," -#~ " it's a straight forward process to " -#~ "publish to both PyPI and then a " -#~ "Conda channel such as conda-forge. " -#~ "Learn more here." -#~ msgstr "純粋なPythonパッケージであれば、PyPIとconda-forgeのようなCondaチャネルの両方に公開するのは簡単です。 詳しくはこちら。" - -#~ msgid "" -#~ "Semver (numeric versioning) and Calver " -#~ "(versioning using the date) are 2 " -#~ "common ways to version a package. " -#~ "Which one should you pick? Learn " -#~ "more here." -#~ msgstr "" -#~ "Semver (数値によるバージョン管理) と Calver (日付によるバージョン管理)" -#~ " は、パッケージをバージョン管理する2つの一般的な方法です。 どちらを選ぶべきでしょうか? 詳しくはこちら。" - -#~ msgid "" -#~ "Black, blue, flake8, Ruff - which " -#~ "tools can help you ensure your " -#~ "package follows best practices for code" -#~ " format? Learn more about the options" -#~ " and why this is important here." -#~ msgstr "" -#~ "Black、blue、flake8、Ruff - " -#~ "あなたのパッケージがコードフォーマットのベストプラクティスに従っていることを確認するのに役立つツールはどれですか? " -#~ "オプションの詳細と、なぜこれが重要なのかについては、こちらをご覧ください。" - -#~ msgid "" -#~ "Diagram showing the various front-end " -#~ "build tools that you can select " -#~ "from. See the packaging tools page " -#~ "to learn more about each tool." -#~ msgstr "選択可能な様々なフロントエンドビルドツールを示す図。 各ツールの詳細については、パッケージングツールのページを参照してください。" - -#~ msgid "In this section of our Python packaging guide, we:" -#~ msgstr "Pythonパッケージングガイドのこのセクションでは、以下のことを説明します:" - -#~ msgid "" -#~ "Provide an overview of the options " -#~ "available to you when packaging your " -#~ "code." -#~ msgstr "コードをパッケージングする際に利用可能なオプションの概要を説明します。" - -#~ msgid "" -#~ "Suggest tools and approaches that both " -#~ "meet your needs and also support " -#~ "existing standards." -#~ msgstr "ニーズを満たし、かつ既存の基準をサポートするツールやアプローチを提案します。" - -#~ msgid "" -#~ "Suggest tools and approaches that will " -#~ "allow you to expand upon a workflow" -#~ " that may begin as a pure Python" -#~ " code and evolve into code that " -#~ "requires addition layers of complexity in" -#~ " the packaging build." -#~ msgstr "純粋なPythonツールから始まり、パッケージングビルドに複雑なレイヤーを追加する必要のあるコードへと進化するワークフローを拡張することを可能にするコードやアプローチを提案します。" - -#~ msgid "" -#~ "Align our suggestions with the most " -#~ "current, accepted [PEPs (Python Enhancement " -#~ "Protocols)](https://peps.python.org/pep-0000/) and the " -#~ "[Scientific Python community SPECs](https" -#~ "://scientific-python.org/specs/)." -#~ msgstr "" -#~ "私たちの提案を、現在受け入れられている [PEPs (Python Enhancement " -#~ "Protocols)](https://peps.python.org/pep-0000/) と [Scientific" -#~ " Python community SPECs](https://scientific-" -#~ "python.org/specs/) に合わせます。" - -#~ msgid "" -#~ "In an effort to maintain consistency " -#~ "within our community, we also align " -#~ "with existing best practices being " -#~ "implemented by developers of core " -#~ "Scientific Python packages such as Numpy," -#~ " SciPy and others." -#~ msgstr "" -#~ "私たちのコミュニティ内での一貫性を維持するために、NumpyやSciPyなどのScientific " -#~ "Pythonのコアパッケージの開発者によって実装されている既存のベストプラクティスとも連携しています。" - -#~ msgid "Guidelines for pyOpenSci's packaging recommendations" -#~ msgstr "pyOpenSciのパッケージング推奨のガイドライン" - -#~ msgid "" -#~ "The flexibility of the Python programming" -#~ " language lends itself to a diverse " -#~ "range of tool options for creating a" -#~ " Python package. Python is so flexible" -#~ " that it is one of the few " -#~ "languages that can be used to wrap" -#~ " around other languages. The ability of" -#~ " Python to wrap other languages is " -#~ "one the reasons you will often hear" -#~ " Python described as a [\"glue\" " -#~ "language](https://numpy.org/doc/stable/user/c-info.python-as-" -#~ "glue.html)\"" -#~ msgstr "" -#~ "Pythonプログラミング言語の柔軟性は、Pythonパッケージを作成するための多様なツールオプションに適しています。Pythonはとても柔軟で、他の言語を包み込むように使える数少ない言語のひとつです。Pythonが他の言語をラッピングする能力は、Pythonが" -#~ " [\"glue\" language](https://numpy.org/doc/stable/user/c-info" -#~ ".python-as-glue.html)\" と表現されるのをよく耳にする理由の1つです。" - -#~ msgid "" -#~ "If you are building a pure Python" -#~ " package, then your packaging setup can" -#~ " be simple. However, some scientific " -#~ "packages have complex requirements as they" -#~ " may need to support extensions or " -#~ "tools written in other languages such " -#~ "as C or C++." -#~ msgstr "純粋なPythonパッケージを構築するのであれば、パッケージングのセットアップは単純でよいです。しかし、科学的なパッケージの中には、CやC++のような他の言語で書かれた拡張機能やツールをサポートする必要があり、複雑な要件を持つものがあります。" - -#~ msgid "" -#~ "To support the many different uses " -#~ "of Python, there are many ways to" -#~ " create a Python package. In this " -#~ "guide, we suggest packaging approaches and" -#~ " tools based on:" -#~ msgstr "" -#~ "Python の様々な使い方をサポートするために、Python パッケージを作成する方法はたくさんあります。 " -#~ "このガイドでは、パッケージングのアプローチとツールを提案します:" - -#~ msgid "" -#~ "What we think will be best and " -#~ "easiest to adopt for those who are" -#~ " newer to packaging." -#~ msgstr "パッケージングに慣れていない人たちにとって、私たちが最善で最も採用しやすいと考えるもの。" - -#~ msgid "Tools that we think are well maintained and documented." -#~ msgstr "よく整備され、文書化されていると思われるツール。" - -#~ msgid "" -#~ "A shared goal of standardizing packaging" -#~ " approaches across this (scientific) Python" -#~ " ecosystem." -#~ msgstr "この (科学的な) Pythonエコシステム全体でパッケージングアプローチを標準化するという共通の目標。" - -#~ msgid "Suggestions in this guide are not pyOpenSci review requirements" -#~ msgstr "このガイドの提案はpyOpenSciのレビュー要件ではありません" - -#~ msgid "" -#~ "The suggestions for package layout in " -#~ "this section are made with the " -#~ "intent of being helpful; they are " -#~ "not specific requirements for your package" -#~ " to be reviewed and accepted into " -#~ "our pyOpenSci open source ecosystem." -#~ msgstr "" -#~ "このセクションのパッケージレイアウトの提案は、参考になることを意図しています。 " -#~ "これらは、あなたのパッケージがpyOpenSciオープンソースエコシステムにレビューされ、受け入れられるための特定の要件ではありません。" - -#~ msgid "" -#~ "**python-requires**: is important to have" -#~ " in your `pyproject.toml` file as it" -#~ " helps pip install your package." -#~ msgstr "" -#~ "**python-requires**: `pyproject.toml`ファイルに記述することが重要です。 " -#~ "これはpipがパッケージをインストールするのに役立つからです。" - -#~ msgid "What happened to setup.py & how do i migrate to pyproject.toml?" -#~ msgstr "setup.pyに何が起こったのか、そしてどのようにpyproject.tomlに移行するのか?" - -#~ msgid "" -#~ "Prior to August 2017, Python package " -#~ "metadata was stored either in the " -#~ "`setup.py` file or a `setup.cfg` file. " -#~ "In recent years, there has been a" -#~ " shift to storing Python package " -#~ "metadata in a much more user-" -#~ "readable `pyproject.toml` format. Having all " -#~ "metadata in a single file:" -#~ msgstr "" -#~ "2017年8月以前は、Pythonパッケージのメタデータは `setup.py` ファイルか " -#~ "`setup.cfg` ファイルに保存されていました。 近年、Python " -#~ "パッケージのメタデータは、よりユーザが読みやすい `pyproject.toml` " -#~ "フォーマットで保存されるようになりました。 すべてのメタデータを1つのファイルに持つことです:" - -#~ msgid "simplifies package management," -#~ msgstr "パッケージ管理を簡素化します、" - -#~ msgid "" -#~ "allows you to use a suite of " -#~ "different [build backends](https://www.pyopensci.org" -#~ "/python-package-guide/package-structure-code" -#~ "/python-package-build-tools.html#build-back-" -#~ "ends) such as (flit-core, hatchling, " -#~ "pdm-build), and" -#~ msgstr "" -#~ "(flit-core, hatchling, pdm-build)のような一連の異なる " -#~ "[ビルドバックエンド](https://www.pyopensci.org/python-package-guide" -#~ "/package-structure-code/python-package-build-" -#~ "tools.html#build-back-ends) を使うことができます。" - -#~ msgid "aligns with modern best practices." -#~ msgstr "現代のベストプラクティスに合致しています。" - -#~ msgid "" -#~ "The standard file that Python packages " -#~ "use to [specify build requirements and " -#~ "metadata is called a " -#~ "**pyproject.toml**](https://packaging.python.org/en/latest/specifications" -#~ "/declaring-project-metadata/). Adding metadata, " -#~ "build requirements and package dependencies " -#~ "to a **pyproject.toml** file replaces " -#~ "storing that information in a setup.py " -#~ "or setup.cfg file." -#~ msgstr "" -#~ "Python パッケージが [ビルド要件とメタデータを指定するために使う標準のファイルは " -#~ "**pyproject.toml** " -#~ "と呼ばれます](https://packaging.python.org/en/latest/specifications" -#~ "/declaring-project-metadata/) 。メタデータ、ビルド要件、パッケージの依存関係を" -#~ " **pyproject.toml** ファイルに追加することは、 setup.py や " -#~ "setup.cfg ファイルに情報を格納することに取って代わります。" - -#~ msgid "" -#~ "**dependencies:** dependencies are optional but" -#~ " we strongly suggest you include them" -#~ " in your pyproject.toml. Dependencies will" -#~ " be installed by pip when your " -#~ "project is installed creating a better " -#~ "user-experience." -#~ msgstr "" -#~ "**dependencies:** 依存関係はオプションですが、pyproject.tomlに含めることを強く推奨します。 " -#~ "依存関係はプロジェクトがインストールされるときにpipによってインストールされ、より良いユーザーエクスペリエンスを提供します。" - -#~ msgid "License" -#~ msgstr "License" - -#~ msgid "The examples at the bottom of this page contain ..." -#~ msgstr "このページの下にある例には ..." - -#~ msgid "Python Package Structure for Scientific Python Projects" -#~ msgstr "科学的PythonプロジェクトのためのPythonパッケージ構造" - -#~ msgid "Click here to read about our packaging documentation requirements." -#~ msgstr "パッケージングに関するドキュメント要件については、こちらをご覧ください。" - -#~ msgid "Example scientific packages that use **src/package** layout" -#~ msgstr "**src/package** レイアウトを使用する科学的パッケージの例" - -#~ msgid "[Sourmash](https://github.com/sourmash-bio/sourmash)" -#~ msgstr "[Sourmash](https://github.com/sourmash-bio/sourmash)" - -#~ msgid "[bokeh](https://github.com/bokeh/bokeh)" -#~ msgstr "[bokeh](https://github.com/bokeh/bokeh)" - -#~ msgid "[openscm](https://github.com/openscm/openscm-runner)" -#~ msgstr "[openscm](https://github.com/openscm/openscm-runner)" - -#~ msgid "[awkward](https://github.com/scikit-hep/awkward)" -#~ msgstr "[awkward](https://github.com/scikit-hep/awkward)" - -#~ msgid "[poliastro](https://github.com/poliastro/poliastro/)" -#~ msgstr "[poliastro](https://github.com/poliastro/poliastro/)" - -#~ msgid "The src/ layout and testing" -#~ msgstr "src/ のレイアウトとテスト" - -#~ msgid "" -#~ "The benefit of using the **src/package**" -#~ " layout is that it ensures tests " -#~ "are run against the installed version " -#~ "of your package rather than the " -#~ "files in your package working directory." -#~ " If you run your tests on your" -#~ " files rather than the installed " -#~ "version of your package, you may be" -#~ " missing issues that users encounter " -#~ "when your package is installed." -#~ msgstr "" -#~ "**src/package** " -#~ "レイアウトを使用する利点は、パッケージの作業ディレクトリ内のファイルではなく、インストールされたバージョンのパッケージに対してテストが実行されることを保証することです。" -#~ " " -#~ "あなたのパッケージのインストールされたバージョンではなく、あなたのファイルでテストを実行すると、あなたのパッケージがインストールされたときにユーザが遭遇する問題を見逃してしまうかもしれません。" - -#~ msgid "" -#~ "If `tests/` are outside the " -#~ "**src/package** directory, they aren't included" -#~ " in the package's [wheel](python-wheel). " -#~ "This makes your package size slightly " -#~ "smaller, which places a smaller storage" -#~ " burden on PyPI, and makes them " -#~ "faster to fetch." -#~ msgstr "" -#~ "`tests/` が **src/package** ディレクトリの外にある場合、それらはパッケージの" -#~ " [wheel](python-wheel) " -#~ "には含まれません。これにより、パッケージのサイズがわずかに小さくなり、PyPIにかかるストレージの負担が小さくなり、フェッチが速くなります。" - -#~ msgid "" -#~ "[Read more about reasons to use the" -#~ " **src/package** layout](https://hynek.me/articles/testing-" -#~ "packaging/)" -#~ msgstr "" -#~ "[**src/package** レイアウトを使用する理由についてもっと読む](https://hynek.me/articles" -#~ "/testing-packaging/)" - -#~ msgid "How Python discovers and prioritizes importing modules" -#~ msgstr "Pythonはどのようにインポートモジュールを検出し、優先順位をつけるか" - -#~ msgid "" -#~ "By default, Python adds a module in" -#~ " your current working directory to the" -#~ " front of the Python module search " -#~ "path." -#~ msgstr "デフォルトでは、Pythonは現在の作業ディレクトリにあるモジュールをPythonモジュール検索パスの先頭に追加します。" - -#~ msgid "" -#~ "This means that if you run your " -#~ "tests in your package's working directory," -#~ " using a flat layout, `/package/module.py`," -#~ " Python will discover `package/module.py` " -#~ "file before it discovers the installed " -#~ "package." -#~ msgstr "" -#~ "つまり、パッケージの作業ディレクトリでフラットレイアウトの `/package/module.py` " -#~ "を使ってテストを実行すると、Python はインストールされたパッケージを検出する前に " -#~ "`package/module.py` ファイルを検出します。" - -#~ msgid "" -#~ "However, if your package lives in a" -#~ " src/ directory structure **src/package**, " -#~ "then it won't be added to the " -#~ "Python path by default. This means " -#~ "that when you import your package, " -#~ "Python will be forced to search the" -#~ " active environment (which has your " -#~ "package installed)." -#~ msgstr "" -#~ "しかし、あなたのパッケージが src/ ディレクトリ構造の **src/package** " -#~ "にある場合、デフォルトでは Python のパスに追加されません。 " -#~ "これは、あなたのパッケージをインポートするとき、Python " -#~ "は(あなたのパッケージがインストールされている)アクティブな環境を強制的に検索することを意味します。" - -#~ msgid "" -#~ "Note: Python versions 3.11 and above " -#~ "have a path setting that can be " -#~ "adjusted to ensure the priority is " -#~ "to use installed packages first (e.g., " -#~ "`PYTHONSAFEPATH`)." -#~ msgstr "" -#~ "注意: " -#~ "Pythonのバージョン3.11以上では、インストールされているパッケージを優先的に使うようにパスの設定を調整することができます (" -#~ " `PYTHONSAFEPATH` など)。" - -#~ msgid "Don't include tests in your package wheel" -#~ msgstr "パッケージホイールにテストを含めない" - -#~ msgid "" -#~ "Writing [tests](tests-intro) for your " -#~ "package is important; however, we do " -#~ "not recommend including tests as part " -#~ "of your [package wheel](python-wheel) by" -#~ " default. However, not including tests " -#~ "in your package distribution will make " -#~ "it harder for people other than " -#~ "yourself to test whether your package " -#~ "runs properly on their system. If " -#~ "you have a small test suite (Python" -#~ " files + data), and think your " -#~ "users may want to run tests locally" -#~ " on their systems, you can include " -#~ "tests by moving the `tests/` directory " -#~ "into the **src/package** directory (see " -#~ "example below)." -#~ msgstr "" -#~ "パッケージに [tests](tests-intro) を書くことは重要です、しかし、デフォルトでテストを" -#~ " [パッケージホイール](python-wheel) " -#~ "の一部として含めることはお勧めしません。しかし、パッケージの配布にテストを含めないと、自分以外の人が自分のシステムでパッケージが正しく機能しているかどうかをテストすることが難しくなります。小さなテストスイート" -#~ " (Python ファイル + データ) " -#~ "を持っていて、ユーザが自分のシステムでローカルにテストを実行したいと思う場合、`tests/` ディレクトリを " -#~ "**src/package** ディレクトリに移動することでテストを含めることができます " -#~ "(以下の例を参照してください)。" - -#~ msgid "" -#~ "Click here to read about our " -#~ "packaging documentation requirements. ::: " -#~ ":::{admonition} Example scientific packages that" -#~ " use src/package layout * Sourmash *" -#~ " bokeh * openscm * awkward * " -#~ "poliastro ::: (src-layout-test)= ## " -#~ "The src/ layout and testing The " -#~ "benefit of using the src/package layout" -#~ " is that it ensures tests are run" -#~ " against the installed version of your" -#~ " package rather than the files in " -#~ "your package working directory. If you " -#~ "run your tests on your files rather" -#~ " than the installed version of your " -#~ "package, you may be missing issues " -#~ "that users encounter when your package " -#~ "is installed. If tests/ are outside " -#~ "the src/package directory, they aren't " -#~ "included in the package's wheel. This " -#~ "makes your package size slightly smaller," -#~ " which places a smaller storage burden" -#~ " on PyPI, and makes them faster " -#~ "to fetch. - Read more about reasons" -#~ " to use the src/package layout " -#~ ":::{admonition} How Python discovers and " -#~ "prioritizes importing modules By default, " -#~ "Python adds a module in your current" -#~ " working directory to the front of " -#~ "the Python module search path. This " -#~ "means that if you run your tests " -#~ "in your package's working directory, using" -#~ " a flat layout, /package/module.py, Python" -#~ " will discover package/module.py file before" -#~ " it discovers the installed package. " -#~ "However, if your package lives in a" -#~ " src/ directory structure src/package, then" -#~ " it won't be added to the Python" -#~ " path by default. This means that " -#~ "when you import your package, Python " -#~ "will be forced to search the active" -#~ " environment (which has your package " -#~ "installed). Note: Python versions 3.11 " -#~ "and above have a path setting that" -#~ " can be adjusted to ensure the " -#~ "priority is to use installed packages " -#~ "first (e.g., PYTHONSAFEPATH). ::: ### " -#~ "Don't include tests in your package " -#~ "wheel Writing tests for your package " -#~ "is important; however, we do not " -#~ "recommend including tests as part of " -#~ "your package wheel by default. However," -#~ " not including tests in your package" -#~ " distribution will make it harder for" -#~ " people other than yourself to test " -#~ "whether your package runs properly on " -#~ "their system. If you have a small" -#~ " test suite (Python files + data), " -#~ "and think your users may want to " -#~ "run tests locally on their systems, " -#~ "you can include tests by moving the" -#~ " tests/ directory into the src/package " -#~ "directory (see example below). ```bash " -#~ "src/ package/ tests/ docs/" -#~ msgstr "" - -#~ msgid "" -#~ "**Feature Dependencies:** These are dependencies" -#~ " that are required if a user " -#~ "wants to access additional functionality " -#~ "(that is not core) to your package." -#~ " Store these in the `[project.optional-" -#~ "dependencies]` table of your pyproject.toml " -#~ "file." -#~ msgstr "" From d1c0585fe314502413fb70177672e4d7e360f60b Mon Sep 17 00:00:00 2001 From: Tetsuo Koyama Date: Sat, 10 Oct 2026 22:58:39 +0900 Subject: [PATCH 8/9] i18n: review and fix all fuzzy translations in ja tutorials catalog - Update 120 fuzzy entries to match current English source - Fix stale/wrong glossary terms referenced via {term} (Build backend, Hatchling, Script (Hatch)) --- locales/ja/LC_MESSAGES/documentation.po | 6 +- locales/ja/LC_MESSAGES/tutorials.po | 3239 +++++++++++------------ 2 files changed, 1580 insertions(+), 1665 deletions(-) diff --git a/locales/ja/LC_MESSAGES/documentation.po b/locales/ja/LC_MESSAGES/documentation.po index 2719ebb1..8eabd03f 100644 --- a/locales/ja/LC_MESSAGES/documentation.po +++ b/locales/ja/LC_MESSAGES/documentation.po @@ -60,7 +60,7 @@ msgstr "" #: ../../documentation/glossary.md:12 msgid "Build backend" -msgstr "バックエンドの構築" +msgstr "ビルドバックエンド" #: ../../documentation/glossary.md:25 msgid "" @@ -277,7 +277,7 @@ msgstr "" #: ../../documentation/glossary.md:18 msgid "Hatchling" -msgstr "孵化したばかりの子" +msgstr "Hatchling" #: ../../documentation/glossary.md:114 msgid "" @@ -386,7 +386,7 @@ msgstr "" #: ../../documentation/glossary.md:5 msgid "Script (Hatch)" -msgstr "スクリプト(ハッチング)" +msgstr "スクリプト (Hatch)" #: ../../documentation/glossary.md:158 msgid "" diff --git a/locales/ja/LC_MESSAGES/tutorials.po b/locales/ja/LC_MESSAGES/tutorials.po index 092c8445..d0cd5f83 100644 --- a/locales/ja/LC_MESSAGES/tutorials.po +++ b/locales/ja/LC_MESSAGES/tutorials.po @@ -15,12 +15,12 @@ msgstr "" "POT-Creation-Date: 2026-05-22 12:19-0700\n" "PO-Revision-Date: 2025-04-14 18:12+0000\n" "Last-Translator: Tetsuo Koyama , 2025\n" -"Language: ja\n" "Language-Team: ja \n" -"Plural-Forms: nplurals=1; plural=0;\n" +"Language: ja\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=1; plural=0;\n" "Generated-By: Babel 2.18.0\n" #: ../../tutorials/add-license-coc.md:6 @@ -33,17 +33,16 @@ msgstr "[前のレッスン](add-readme) では、あなたは:" #: ../../tutorials/add-license-coc.md:10 msgid "" -" " -"Created a basic `README.md` file for your scientific Python package" +" Created" +" a basic `README.md` file for your scientific Python package" msgstr "" " 科学的 " "Python パッケージの基本的な `README.md` ファイルを作成しました。" #: ../../tutorials/add-license-coc.md:12 msgid "" -" " -"Learned about the core components that are useful to have in a `README` " -"file." +" Learned" +" about the core components that are useful to have in a `README` file." msgstr "" " " "`README` ファイルにあると便利なコアコンポーネントについて学んだ。" @@ -59,8 +58,8 @@ msgstr "このレッスンで学ぶこと:" #: ../../tutorials/add-license-coc.md:19 msgid "" -"How to select a license and add a `LICENSE` file to your package " -"repository, with a focus on the GitHub interface." +"How to select a license and add a `LICENSE` file to your package repository," +" with a focus on the GitHub interface." msgstr "ライセンスを選択し、パッケージリポジトリに `LICENSE` ファイルを追加する方法。" #: ../../tutorials/add-license-coc.md:20 @@ -69,8 +68,8 @@ msgstr "パッケージリポジトリに `CODE_OF_CONDUCT` ファイルを追 #: ../../tutorials/add-license-coc.md:21 msgid "" -"How you can use the Contributors Covenant website to add generic language " -"as a starting place for your `CODE_OF_CONDUCT`." +"How you can use the Contributors Covenant website to add generic language as" +" a starting place for your `CODE_OF_CONDUCT`." msgstr "" "`CODE_OF_CONDUCT` の出発点として一般的な言語を追加するために、Contributors " "Covenantのウェブサイトをどのように利用できるか。" @@ -84,41 +83,38 @@ msgid "" "A license contains legal language about how users can use and reuse your " "software. To set the `LICENSE` for your project, you:" msgstr "" -"ライセンスには、ユーザーがあなたのソフトウェアをどのように使用し、再利用することができるかについての法的な文言が含まれています。あなたのプロジェクトに" -" `LICENSE` を設定するには、次のようにします:" +"ライセンスには、ユーザーがあなたのソフトウェアをどのように使用し、再利用することができるかについての法的な文言が含まれています。あなたのプロジェクトに " +"`LICENSE` を設定するには、次のようにします:" #: ../../tutorials/add-license-coc.md:28 msgid "" -"Create a `LICENSE` file in your project directory that specifies the " -"license that you choose for your package." +"Create a `LICENSE` file in your project directory that specifies the license" +" that you choose for your package." msgstr "プロジェクトディレクトリに `LICENSE` ファイルを作成し、パッケージに選択したライセンスを指定します。" #: ../../tutorials/add-license-coc.md:29 -#, fuzzy msgid "" -"Describe your choice of license in your `pyproject.toml` data where " -"metadata are set." -msgstr "メタデータが設定されている `pyproject.toml` データでそのファイルを参照します。" +"Describe your choice of license in your `pyproject.toml` data where metadata" +" are set." +msgstr "ライセンスの選択を、メタデータが設定される `pyproject.toml` のデータに記述します。" #: ../../tutorials/add-license-coc.md:31 -#, fuzzy msgid "" "By adding this metadata to your [pyproject.toml](pyproject-toml) file, the " -"choice of license will be included in your package's metadata which is used" -" to populate your package's PyPI landing page. The `LICENSE` file is also " +"choice of license will be included in your package's metadata which is used " +"to populate your package's PyPI landing page. The `LICENSE` file is also " "used in your GitHub repository's landing page interface, and makes its way " "into your distributions." msgstr "" -"`LICENSE` ファイルを `pyproject.toml` ファイルに追加することで、 `LICENSE` " -"がパッケージのメタデータに含まれるようになります。 `LICENSE` は GitHub " -"リポジトリのランディングページのインターフェイスでも使用されます。" +"このメタデータを [pyproject.toml](pyproject-toml) " +"ファイルに追加すると、ライセンスの選択がパッケージのメタデータに含まれ、パッケージの PyPI ランディングページの生成に使われます。`LICENSE`" +" ファイルは GitHub リポジトリのランディングページインターフェイスでも使われ、配布物にも含まれます。" #: ../../tutorials/add-license-coc.md:36 msgid "What license should you use?" msgstr "どのライセンスを使うべきか?" #: ../../tutorials/add-license-coc.md:38 -#, fuzzy msgid "" "We suggest that you use a permissive license that accommodates the other " "most commonly used licenses in the scientific Python ecosystem (MIT[^mit] " @@ -126,10 +122,9 @@ msgid "" "generally recommended license on " "[choosealicense.com](https://choosealicense.com/)." msgstr "" -"科学的なPythonのエコシステムで最もよく使われるライセンス (MIT[^mit]とBSD-3[^bsd3]) " -"に対応した寛容なライセンスを使うことをお勧めします。 よくわからない場合は、 " -"[choosealicense.com](https://choosealicense.com/) で一般的に推奨されているライセンスである MIT " -"を使ってください。" +"科学 Python エコシステムで最もよく使われるライセンス(MIT[^mit] と " +"BSD-3-Clause[^bsd3])に対応したパーミッシブなライセンスを使うことをお勧めします。よくわからない場合は、[choosealicense.com](https://choosealicense.com/)" +" で一般的に推奨されている MIT を使ってください。" #: ../../tutorials/add-license-coc.md:41 msgid "Licenses for the scientific Python ecosystem" @@ -137,8 +132,8 @@ msgstr "科学的Pythonエコシステムのためのライセンス" #: ../../tutorials/add-license-coc.md:42 msgid "" -"[We discuss licenses for the scientific Python ecosystem in more detail " -"here in our guidebook.](../documentation/repository-files/license-files)" +"[We discuss licenses for the scientific Python ecosystem in more detail here" +" in our guidebook.](../documentation/repository-files/license-files)" msgstr "" "[科学的Pythonエコシステムのライセンスについては、ガイドブックで詳しく説明しています](../documentation/repository-" "files/license-files)" @@ -158,7 +153,8 @@ msgstr "" "が魔法のごとく自動的にそれを検出し、GitHub リポジトリ内の `LICENSE` ファイルへの直接リンクをユーザーに提供します。" #: ../../tutorials/add-license-coc.md:53 -msgid "Image showing the GitHub repository for SunPy an accepted pyOpenSci package." +msgid "" +"Image showing the GitHub repository for SunPy an accepted pyOpenSci package." msgstr "pyOpenSci パッケージに採用された SunPy 用のGitHubリポジトリを示す画像。" #: ../../tutorials/add-license-coc.md:55 @@ -166,8 +162,8 @@ msgid "" "Notice at the top of the README portion of the GitHub landing page, there " "are three tabs directly linking to the `README` file which is visible, the " "`CODE_OF_CONDUCT` file and one that specifies the license that SunPy uses. " -"These files are discovered by GitHub because they are placed in the root of" -" the project directory using standard naming conventions." +"These files are discovered by GitHub because they are placed in the root of " +"the project directory using standard naming conventions." msgstr "" "GitHubのランディングページのREADME部分の一番上に、 `README` ファイル、 `CODE_OF_CONDUCT` " "ファイル、そしてSunPyが使用するライセンスを指定するタブの3つに直接リンクしていることに注目してください。 " @@ -192,8 +188,8 @@ msgstr "" #: ../../tutorials/add-license-coc.md:67 msgid "" -"You can add a `LICENSE` through the GitHub gui following the [ instructions " +"You can add a `LICENSE` through the GitHub gui following the [ instructions " "here](https://docs.github.com/en/communities/setting-up-your-project-for-" "healthy-contributions/adding-a-license-to-a-repository)." msgstr "" @@ -242,11 +238,12 @@ msgid "" "If you don't already have a `LICENSE` file, and you are not yet using a " "platform such as GitHub or GitLab, then you can create a `LICENSE` file by" msgstr "" -"まだ `LICENSE` ファイルがなく、GitHub や GitLab などのプラットフォームを使っていない場合は、次のようにして " -"`LICENSE` ファイルを作成します。" +"まだ `LICENSE` ファイルがなく、GitHub や GitLab などのプラットフォームを使っていない場合は、次のようにして `LICENSE`" +" ファイルを作成します。" #: ../../tutorials/add-license-coc.md:85 -msgid "Create a new file called `LICENSE`. If you are using shell you can type:" +msgid "" +"Create a new file called `LICENSE`. If you are using shell you can type:" msgstr "`LICENSE` という新しいファイルを作成します。 シェルを使っている場合は:" #: ../../tutorials/add-license-coc.md:92 @@ -279,10 +276,10 @@ msgstr "科学的Pythonエコシステムにおけるライセンスの概要" #: ../../tutorials/add-license-coc.md:101 msgid "" -"In the pyOpenSci [packaging guidebook](../documentation/repository-files" -"/license-files), we provide an overview of licenses in the scientific " -"Python ecosystem. We review why license files are important, which ones are" -" most commonly used for scientific software and how to select the correct " +"In the pyOpenSci [packaging guidebook](../documentation/repository-" +"files/license-files), we provide an overview of licenses in the scientific " +"Python ecosystem. We review why license files are important, which ones are " +"most commonly used for scientific software and how to select the correct " "license." msgstr "" "pyOpenSci [パッケージングガイドブック](../documentation/repository-files/license-files) " @@ -310,19 +307,19 @@ msgstr "ライセンスの追加: 新しいGitHubリポジトリ" #: ../../tutorials/add-license-coc.md:114 msgid "" -"When you create a new GitHub repository you can add a `LICENSE` file " -"through the GitHub interface." +"When you create a new GitHub repository you can add a `LICENSE` file through" +" the GitHub interface." msgstr "GitHub リポジトリを新規作成する際に、GitHub インターフェースから `LICENSE` ファイルを追加することができます。" #: ../../tutorials/add-license-coc.md:119 msgid "" -"Screenshot of the create new repository interface that GitHub provides. The" -" elements of this are the owner and repository name for the new repo. Below" -" that you can add a description of the repository. Below that you can set " -"it to be public or private. At the bottom of the interface there is an Add " -"a README checkbox where it will add a blank readme file for you. At the " -"very bottom there is a line to add a .gitignore file and another to choose " -"a license." +"Screenshot of the create new repository interface that GitHub provides. The " +"elements of this are the owner and repository name for the new repo. Below " +"that you can add a description of the repository. Below that you can set it " +"to be public or private. At the bottom of the interface there is an Add a " +"README checkbox where it will add a blank readme file for you. At the very " +"bottom there is a line to add a .gitignore file and another to choose a " +"license." msgstr "" "GitHub が提供する新しいリポジトリの作成インターフェイスのスクリーンショット。 " "このインターフェイスの要素は、新しいリポジトリのオーナーとリポジトリ名です。 その下にリポジトリの説明を追加できます。 " @@ -342,8 +339,8 @@ msgstr "`LICENSE` を追加する: 既存のGitHubリポジトリ" #: ../../tutorials/add-license-coc.md:127 msgid "" -"If you already have a GitHub repository for your package, then you can add " -"a `LICENSE` using the GitHub interface by adding a new file to the " +"If you already have a GitHub repository for your package, then you can add a" +" `LICENSE` using the GitHub interface by adding a new file to the " "repository." msgstr "" "パッケージ用のGitHubリポジトリが既にある場合は、GitHubのインターフェースで新しいファイルを追加することで `LICENSE` " @@ -352,9 +349,8 @@ msgstr "" #: ../../tutorials/add-license-coc.md:129 msgid "" "Follow the instructions to select and add a license to your repository on " -"the [GitHub LICENSE page](https://docs.github.com/en/communities/setting-" -"up-your-project-for-healthy-contributions/adding-a-license-to-a-repository)" -" ." +"the [GitHub LICENSE page](https://docs.github.com/en/communities/setting-up-" +"your-project-for-healthy-contributions/adding-a-license-to-a-repository) ." msgstr "" "[GitHubのLICENSEページ](https://docs.github.com/en/communities/setting-up-your-" "project-for-healthy-contributions/adding-a-license-to-a-repository) " @@ -363,8 +359,8 @@ msgstr "" #: ../../tutorials/add-license-coc.md:130 msgid "" "Once you have added your `LICENSE` file, be sure to sync your git local " -"repository with the repository on GitHub.com. This means running `git pull`" -" to update your local branch." +"repository with the repository on GitHub.com. This means running `git pull` " +"to update your local branch." msgstr "" "`LICENSE`ファイルを追加したら、必ずローカルのgitリポジトリをGitHub.com上のリポジトリと同期してください。これは、`git " "pull`を実行してローカルブランチを更新することを意味します。" @@ -374,12 +370,12 @@ msgid "" "Image showing what the LICENSE file looks like in the GItHub interface. At " "the top you can see the actual license which in this image is BSD 3-clause " "New or revised license. Then there is some text describing both what the " -"license is and the associated permissions for that specific license. At the" -" bottom of the image, the actual text for the license is shown in the " -"LICENSE file." +"license is and the associated permissions for that specific license. At the " +"bottom of the image, the actual text for the license is shown in the LICENSE" +" file." msgstr "" -"GItHubインターフェイスでLICENSEファイルがどのように見えるかを示す画像。この画像では、BSD 3-clause New or " -"revised " +"GItHubインターフェイスでLICENSEファイルがどのように見えるかを示す画像。この画像では、BSD 3-clause New or revised" +" " "licenseです。そして、そのライセンスが何であるかと、そのライセンスに関連するパーミッションの両方を説明するテキストがあります。画像の下部には、ライセンスの実際のテキストがLICENSEファイルに表示されています。" #: ../../tutorials/add-license-coc.md:135 @@ -402,11 +398,12 @@ msgid "What is a code of conduct file?" msgstr "code of conduct ファイルとは何ですか?" #: ../../tutorials/add-license-coc.md:149 -#, fuzzy, python-brace-format +#, python-brace-format msgid "" "A `CODE_OF_CONDUCT` file is a {term}`Code of conduct` used to establish " "guidelines for how people in your community interact." -msgstr "`CODE_OF_CONDUCT` ファイルは、あなたのコミュニティの人々がどのように交流するかのガイドラインを確立するために使用されます。" +msgstr "" +"`CODE_OF_CONDUCT` ファイルは、コミュニティの人々がどのように交流するかのガイドラインを確立するための {term}`行動規範` です。" #: ../../tutorials/add-license-coc.md:152 msgid "" @@ -421,7 +418,8 @@ msgid "" msgstr "ソフトウェアリポジトリにおいて、ユーザーやコントリビューターがどのように相互作用するかについてのガイドラインを確立します。" #: ../../tutorials/add-license-coc.md:156 -msgid "Identifies negative behaviors that you don't want in your interactions." +msgid "" +"Identifies negative behaviors that you don't want in your interactions." msgstr "あなたが交流の中で望まない否定的な行動を特定します。" #: ../../tutorials/add-license-coc.md:158 @@ -436,14 +434,14 @@ msgstr "`CODE_OF_CONDUCT` ファイルに書くべきこと" #: ../../tutorials/add-license-coc.md:162 msgid "" -"If you are unsure of what language to add to your `CODE_OF_CONDUCT` file, " -"we suggest that you adopt the [contributor covenant language](https://www" -".contributor-covenant.org/version/2/1/code_of_conduct/) as a starting " -"place." +"If you are unsure of what language to add to your `CODE_OF_CONDUCT` file, we" +" suggest that you adopt the [contributor covenant " +"language](https://www.contributor-covenant.org/version/2/1/code_of_conduct/)" +" as a starting place." msgstr "" "どの言語を `CODE_OF_CONDUCT` ファイルに追加すればよいかわからない場合、 [contributor covenant " -"language](https://www.contributor-" -"covenant.org/version/2/1/code_of_conduct/) を出発点として採用することをお勧します。" +"language](https://www.contributor-covenant.org/version/2/1/code_of_conduct/)" +" を出発点として採用することをお勧します。" #: ../../tutorials/add-license-coc.md:165 msgid "" @@ -461,7 +459,8 @@ msgstr "Contributor Covenant" msgid "" "The `CODE_OF_CONDUCT.md` should be placed at the root of your project " "directory, similar to the `LICENSE` file." -msgstr "`CODE_OF_CONDUCT.md` は、 `LICENSE` ファイルと同様に、プロジェクトディレクトリのルートに置く必要があります。" +msgstr "" +"`CODE_OF_CONDUCT.md` は、 `LICENSE` ファイルと同様に、プロジェクトディレクトリのルートに置く必要があります。" #: ../../tutorials/add-license-coc.md:169 msgid "How to add a `CODE_OF_CONDUCT` file to your package directory" @@ -469,8 +468,8 @@ msgstr "パッケージディレクトリに `CODE_OF_CONDUCT` ファイルを #: ../../tutorials/add-license-coc.md:171 msgid "" -"Add a `CODE_OF_CONDUCT.md` file to the root of your repository if it " -"doesn't already exist." +"Add a `CODE_OF_CONDUCT.md` file to the root of your repository if it doesn't" +" already exist." msgstr "`CODE_OF_CONDUCT.md` ファイルがまだ存在しない場合は、リポジトリのルートに追加してください。" #: ../../tutorials/add-license-coc.md:177 @@ -490,7 +489,8 @@ msgstr "" "プレースホルダーの情報は必ず記入してください。 本文をよく読み、内容を理解し、同意すること!" #: ../../tutorials/add-license-coc.md:179 -msgid "That's it - you've now added a code of conduct to your package directory." +msgid "" +"That's it - you've now added a code of conduct to your package directory." msgstr "これであなたのパッケージディレクトリに行動規範が追加されたことになります。" #: ../../tutorials/add-license-coc.md:181 @@ -510,12 +510,12 @@ msgstr "" #: ../../tutorials/add-license-coc.md:185 msgid "" "[pyOpenSci package guide `CODE_OF_CONDUCT.md` " -"overview](https://www.pyopensci.org/python-package-guide/documentation" -"/repository-files/code-of-conduct-file.html)" +"overview](https://www.pyopensci.org/python-package-" +"guide/documentation/repository-files/code-of-conduct-file.html)" msgstr "" -"[pyOpenSci パッケージガイド `CODE_OF_CONDUCT.md` 概要](https://www.pyopensci.org" -"/python-package-guide/documentation/repository-files/code-of-conduct-" -"file.html)" +"[pyOpenSci パッケージガイド `CODE_OF_CONDUCT.md` " +"概要](https://www.pyopensci.org/python-package-guide/documentation/repository-" +"files/code-of-conduct-file.html)" #: ../../tutorials/add-license-coc.md:188 ../../tutorials/add-readme.md:240 #: ../../tutorials/publish-conda-forge.md:475 @@ -555,21 +555,23 @@ msgstr "これからのレッスンでは、あなたは:" #: ../../tutorials/add-license-coc.md:202 msgid "" -"[Add more metadata to your `pyproject.toml` file](pyproject-toml) to " -"support building and publishing your package on PyPI." +"[Add more metadata to your `pyproject.toml` file](pyproject-toml) to support" +" building and publishing your package on PyPI." msgstr "" -"PyPI でのパッケージのビルドと公開をサポートするために [`pyproject.toml` ファイルにメタデータを追加します" -"](pyproject-toml) 。" +"PyPI でのパッケージのビルドと公開をサポートするために [`pyproject.toml` ファイルにメタデータを追加します](pyproject-" +"toml) 。" #: ../../tutorials/add-license-coc.md:203 msgid "" -"Publish a new version of your Python package to the test PyPI to preview " -"the updated metadata landing page." -msgstr "あなたのPythonパッケージの新しいバージョンをテストPyPIに公開して、更新されたメタデータランディングページをプレビューしてください。" +"Publish a new version of your Python package to the test PyPI to preview the" +" updated metadata landing page." +msgstr "" +"あなたのPythonパッケージの新しいバージョンをテストPyPIに公開して、更新されたメタデータランディングページをプレビューしてください。" #: ../../tutorials/add-license-coc.md:208 #: ../../tutorials/create-python-package.md:550 -#: ../../tutorials/publish-conda-forge.md:487 ../../tutorials/publish-pypi.md:419 +#: ../../tutorials/publish-conda-forge.md:487 +#: ../../tutorials/publish-pypi.md:419 #: ../../tutorials/trusted-publishing.md:347 msgid "Footnotes" msgstr "脚注" @@ -583,9 +585,9 @@ msgid "https://opensource.org/license/bsd-3-clause/" msgstr "https://opensource.org/license/bsd-3-clause/" #: ../../tutorials/add-readme.md:6 -#, fuzzy, python-brace-format +#, python-brace-format msgid "Add a {term}`README` file to your {term}`Python package`" -msgstr "PythonパッケージにREADMEファイルを追加する" +msgstr "{term}`Python パッケージ` に {term}`README` ファイルを追加する" #: ../../tutorials/add-readme.md:8 msgid "In the previous lessons you learned:" @@ -620,11 +622,13 @@ msgid "What is a README file?" msgstr "README ファイルとは何か?" #: ../../tutorials/add-readme.md:25 -#, fuzzy, python-brace-format +#, python-brace-format msgid "" "The `README.md` file is the project's {term}`README` and is located at the " "root of your project directory. It helps a user understand:" -msgstr "`README.md` ファイルはプロジェクトディレクトリのルートにあるマークダウンファイルで、ユーザーの理解を助けるものです:" +msgstr "" +"`README.md` ファイルはプロジェクトの {term}`README` " +"であり、プロジェクトディレクトリのルートにあります。ユーザーが以下を理解するのに役立ちます:" #: ../../tutorials/add-readme.md:29 msgid "You package's name" @@ -632,8 +636,8 @@ msgstr "パッケージ名" #: ../../tutorials/add-readme.md:30 msgid "" -"What the package does. Your README file should clearly state the problem(s)" -" that your software is designed to solve and its target audience." +"What the package does. Your README file should clearly state the problem(s) " +"that your software is designed to solve and its target audience." msgstr "" "パッケージが何をするのか。 " "READMEファイルには、あなたのソフトウェアが解決するために設計された(複数の)問題と、その対象読者を明確に記述してください。" @@ -657,17 +661,17 @@ msgstr "パッケージの引用方法" #: ../../tutorials/add-readme.md:36 msgid "" "Your **README.md** file is important as it is often the first thing that " -"someone sees before they install your package. The README file is also used" -" to populate your PyPI landing page." +"someone sees before they install your package. The README file is also used " +"to populate your PyPI landing page." msgstr "" "**README.md** ファイルは、誰かがあなたのパッケージをインストールする前に、最初に目にすることが多いので重要です。 " "READMEファイルはPyPIのランディングページに入力するためにも使われます。" #: ../../tutorials/add-readme.md:38 msgid "" -"Note that there is no specific content structure for README files. However," -" this tutorial outlines the sections that we suggest that you include in " -"your README file." +"Note that there is no specific content structure for README files. However, " +"this tutorial outlines the sections that we suggest that you include in your" +" README file." msgstr "" "READMEファイルには特定のコンテンツ構造はないことに注意してください。 " "しかし、このチュートリアルでは、READMEファイルに含めることを推奨するセクションの概要を説明します。" @@ -716,8 +720,8 @@ msgstr "`README.md` ファイルの先頭に、パッケージ名を追加しま #: ../../tutorials/add-readme.md:65 msgid "" -"If you are using markdown it should be a header 1 (H1) tag which is denoted" -" with a single `#` sign." +"If you are using markdown it should be a header 1 (H1) tag which is denoted " +"with a single `#` sign." msgstr "マークダウンを使用している場合は、 `#` 記号1つで示されるヘッダー1 (H1) タグでなければなりません。" #: ../../tutorials/add-readme.md:67 @@ -730,8 +734,8 @@ msgstr "ステップ2: READMEファイルの先頭にバッジを追加する" #: ../../tutorials/add-readme.md:71 msgid "" -"It's common for maintainers to add badges to the top of their README files." -" Badges allow you and your package users to track things like:" +"It's common for maintainers to add badges to the top of their README files. " +"Badges allow you and your package users to track things like:" msgstr "" "メンテナが README ファイルの先頭にバッジを追加するのはよくあることです。 " "バッジをつけることで、あなたとあなたのパッケージのユーザは以下のようなことを追跡できるようになります:" @@ -746,16 +750,16 @@ msgstr "PyPIとcondaにあるあなたのパッケージのバージョン。" #: ../../tutorials/add-readme.md:75 msgid "" -"Whether your package has been reviewed and vetted by an organization such " -"as pyOpenSci and/or JOSS." +"Whether your package has been reviewed and vetted by an organization such as" +" pyOpenSci and/or JOSS." msgstr "あなたのパッケージがpyOpenSciやJOSSのような組織によってレビューされ、審査されたかどうか。" #: ../../tutorials/add-readme.md:77 msgid "" "If you have already published your package to pypi.org you can use " -"[shields.io to create a package version badge](https://shields.io/badges" -"/py-pi-version). This badge will dynamically update as you release new " -"versions of your package to PyPI." +"[shields.io to create a package version badge](https://shields.io/badges/py-" +"pi-version). This badge will dynamically update as you release new versions " +"of your package to PyPI." msgstr "" "すでにpypi.orgにパッケージを公開している場合は、 " "[shields.ioでパッケージのバージョンバッジを作成](https://shields.io/badges/py-pi-version) " @@ -763,8 +767,8 @@ msgstr "" #: ../../tutorials/add-readme.md:79 msgid "" -"If not, you can leave the top empty for now and add badges to your README " -"at a later point as they make sense." +"If not, you can leave the top empty for now and add badges to your README at" +" a later point as they make sense." msgstr "そうでない場合は、今のところ上部を空にしておいて、後でREADMEにバッジを追加することができます。" #: ../../tutorials/add-readme.md:81 @@ -773,8 +777,8 @@ msgstr "ステップ 3: パッケージの説明を追加する" #: ../../tutorials/add-readme.md:83 msgid "" -"Below the badges (if you have them), add a section of text that provides an" -" easy-to-understand overview of what your package does." +"Below the badges (if you have them), add a section of text that provides an " +"easy-to-understand overview of what your package does." msgstr "バッジの下に(バッジがある場合)、あなたのパッケージが何をするのかをわかりやすく説明するテキストのセクションを追加します。" #: ../../tutorials/add-readme.md:87 @@ -806,12 +810,12 @@ msgid "Next, add instructions that tell users how to install your package." msgstr "次に、ユーザーにパッケージのインストール方法を説明するインストラクションを追加します。" #: ../../tutorials/add-readme.md:97 -#, fuzzy, python-brace-format +#, python-brace-format msgid "" "For example, can they use {term}`pip` to install your package? `python -m " "pip install packagename`" msgstr "" -"例えば、彼らはあなたのパッケージをインストールするためにpipを使うことができますか? `python -m pip install " +"たとえば、{term}`pip` を使ってあなたのパッケージをインストールできるか? `python -m pip install " "packagename`" #: ../../tutorials/add-readme.md:100 @@ -824,8 +828,8 @@ msgstr "conda install -c conda-forge packagename`." #: ../../tutorials/add-readme.md:104 msgid "" -"If you haven't yet published your package to pypi.org then you can skip " -"this section and come back and add these instructions later." +"If you haven't yet published your package to pypi.org then you can skip this" +" section and come back and add these instructions later." msgstr "まだパッケージをpypi.orgに公開していない場合は、このセクションを読み飛ばして、後でこれらの説明を追加してください。" #: ../../tutorials/add-readme.md:108 @@ -835,8 +839,8 @@ msgstr "ステップ5:追加設定" #: ../../tutorials/add-readme.md:110 msgid "" "In some cases, your package users may need to manually install other tools " -"in order to use your package. If that is the case, be sure to add a section" -" on additional setup to your README file." +"in order to use your package. If that is the case, be sure to add a section " +"on additional setup to your README file." msgstr "" "場合によっては、あなたのパッケージを使用するために、あなたのパッケージのユーザーが他のツールを手動でインストールする必要があるかもしれません。 " "その場合は、READMEファイルに追加セットアップのセクションを追加してください。" @@ -859,7 +863,8 @@ msgstr "GDALのような追加ツールのインストール。" msgid "" "Many packages won't need an additional setup section in their README. In " "that case you can always skip this section." -msgstr "多くのパッケージでは、READMEに追加のセットアップセクションは必要ありません。 その場合、このセクションはいつでも読み飛ばすことができます。" +msgstr "" +"多くのパッケージでは、READMEに追加のセットアップセクションは必要ありません。 その場合、このセクションはいつでも読み飛ばすことができます。" #: ../../tutorials/add-readme.md:128 msgid "Step 6: Add a get started section" @@ -880,15 +885,16 @@ msgstr "可能であれば、完全に機能するコードスニペットを提 #: ../../tutorials/add-readme.md:136 msgid "" -"It is important to try to make the code examples that you provide your " -"users as useful as possible." +"It is important to try to make the code examples that you provide your users" +" as useful as possible." msgstr "ユーザーに提供するコード例は、できるだけ役立つものにするよう努めることが重要です。" #: ../../tutorials/add-readme.md:138 msgid "" "Be sure to provide a copy/paste code example that will work as-is when " "pasted into a Jupyter Notebook or .py file if that is possible." -msgstr "可能であれば、Jupyter Notebookや.pyファイルに貼り付けてもそのまま動作するようなコピー&ペーストのコード例を必ず提示してください。" +msgstr "" +"可能であれば、Jupyter Notebookや.pyファイルに貼り付けてもそのまま動作するようなコピー&ペーストのコード例を必ず提示してください。" #: ../../tutorials/add-readme.md:140 msgid "" @@ -905,7 +911,8 @@ msgid "" "Or it could simply be a link to a getting started tutorial that you have " "created. If you don't have this yet, you can leave it empty for the time " "being." -msgstr "あるいは、あなたが作成したチュートリアルへのリンクでもかまいません。 まだチュートリアルをお持ちでない場合は、当分の間、空欄のままにしておいてください。" +msgstr "" +"あるいは、あなたが作成したチュートリアルへのリンクでもかまいません。 まだチュートリアルをお持ちでない場合は、当分の間、空欄のままにしておいてください。" #: ../../tutorials/add-readme.md:154 msgid "" @@ -919,29 +926,29 @@ msgstr "ステップ7: コミュニティセクション" #: ../../tutorials/add-readme.md:161 msgid "" -"The community section of your README file is a place to include information" -" for users who may want to engage with your project. This engagement will " +"The community section of your README file is a place to include information " +"for users who may want to engage with your project. This engagement will " "likely happen on a platform like GitHub or GitLab." msgstr "" "READMEファイルのコミュニティセクションは、あなたのプロジェクトに参加したいユーザーのための情報を含める場所です。 この参加は、おそらく " "GitHub や GitLab のようなプラットフォームで行われるでしょう。" #: ../../tutorials/add-readme.md:163 -#, fuzzy msgid "" -"In the community section, you will add links to your contributing guide and" -" `CODE_OF_CONDUCT.md`. You will create a code of conduct file in the [next " +"In the community section, you will add links to your contributing guide and " +"`CODE_OF_CONDUCT.md`. You will create a code of conduct file in the [next " "lesson](add-license-coc)." msgstr "" -"コミュニティセクションでは、あなたの貢献ガイドと `CODE_OF_CONDUCT.md` へのリンクを追加します。 [次のレッスンでは " -"`CODE_OF_CONDUCT.md` ファイル](add-license-coc) を作成することになります。" +"コミュニティセクションでは、貢献ガイドと `CODE_OF_CONDUCT.md` へのリンクを追加します。行動規範ファイルは[次のレッスン](add-" +"license-coc)で作成します。" #: ../../tutorials/add-readme.md:167 msgid "" "As your package grows you may also have a link to a development guide that " "contributors and your maintainer team will follow. The development guide " "outlines how to perform maintenance tasks such as:" -msgstr "パッケージが大きくなるにつれて、貢献者やメンテナチームが従う開発ガイドへのリンクを持つこともできます。この開発ガイドには、次のようなメンテナンス作業の方法が概説されています:" +msgstr "" +"パッケージが大きくなるにつれて、貢献者やメンテナチームが従う開発ガイドへのリンクを持つこともできます。この開発ガイドには、次のようなメンテナンス作業の方法が概説されています:" #: ../../tutorials/add-readme.md:170 msgid "running tests" @@ -965,8 +972,8 @@ msgstr "ステップ8: 引用情報" #: ../../tutorials/add-readme.md:179 msgid "" -"Finally it is important to let users know how to cite your package. You can" -" communicate citation information in a few different ways." +"Finally it is important to let users know how to cite your package. You can " +"communicate citation information in a few different ways." msgstr "最後に、ユーザーにあなたのパッケージの引用方法を知らせることが重要です。 引用情報を伝える方法はいくつかあります。" #: ../../tutorials/add-readme.md:182 @@ -982,17 +989,17 @@ msgstr "" #: ../../tutorials/add-readme.md:186 msgid "" -"Alternatively if you send your package through a peer review process such " -"as the [one lead by pyOpenSci](https://www.pyopensci.org/about-peer-" -"review/index.html). After being accepted by pyOpenSci, if your package is " -"in scope, you can be accepted by the Journal of Open Source Software and " -"get a cross-ref DOI through [our partnership with the Journal of Open " -"Source Software.](https://www.pyopensci.org/about-peer-review/index.html)" +"Alternatively if you send your package through a peer review process such as" +" the [one lead by pyOpenSci](https://www.pyopensci.org/about-peer-" +"review/index.html). After being accepted by pyOpenSci, if your package is in" +" scope, you can be accepted by the Journal of Open Source Software and get a" +" cross-ref DOI through [our partnership with the Journal of Open Source " +"Software.](https://www.pyopensci.org/about-peer-review/index.html)" msgstr "" "あるいは、 [pyOpenSciが主導するような査読プロセスを通して](https://www.pyopensci.org/about-peer-" "review/index.html) パッケージを送ることもできます。 " -"pyOpenSciに受理された後、あなたのパッケージがスコープ内であれば、Journal of Open Source Softwareに受理され、" -" [Journal of Open Source Softwareとの提携により](https://www.pyopensci.org/about-" +"pyOpenSciに受理された後、あなたのパッケージがスコープ内であれば、Journal of Open Source Softwareに受理され、 " +"[Journal of Open Source Softwareとの提携により](https://www.pyopensci.org/about-" "peer-review/index.html) 相互参照DOIを得ることができます。" #: ../../tutorials/add-readme.md:190 @@ -1007,10 +1014,9 @@ msgstr "完成した `README.md` ファイルは次のようになるはずで msgid "" "It's important to consider the information that a new user or contributor " "might need when creating your `README.md` file. While there is no perfect " -"template, above is a set of recommendations as you are just getting " -"started. You may find the need for other elements to be added to this file " -"as you further develop your package and as a community begins to use your " -"package." +"template, above is a set of recommendations as you are just getting started." +" You may find the need for other elements to be added to this file as you " +"further develop your package and as a community begins to use your package." msgstr "" "`README.md` ファイルを作成する際には、新しいユーザーや貢献者が必要とするかもしれない情報を考慮することが重要です。 " "完璧なテンプレートは存在しないが、上記はこれから始めようとしているあなたへの推奨事項です。 " @@ -1038,27 +1044,26 @@ msgid "Command Line Reference Guide" msgstr "コマンドラインリファレンスガイド" #: ../../tutorials/command-line-reference.md:9 -#, fuzzy msgid "" "**What these tables are:** These tables summarize the command line inputs " "(e.g., `pipx install hatch`, `hatch build` or `python -m build`) necessary " "to complete all steps in the package creation process, from installing " -"[Hatch](get-to-know-hatch) to publishing the package on [PyPI](publish-" -"pypi) and conda-forge." +"[Hatch](get-to-know-hatch) to publishing the package on [PyPI](publish-pypi)" +" and conda-forge." msgstr "" -"**これらの表は何であるか:** これらの表は、Hatch のインストールから PyPI や conda-forge " -"でのパッケージの公開まで、パッケージ作成プロセスのすべてのステップを完了するために必要なコマンドライン入力 (e.g., `pipx install " -"hatch`, `hatch build`) をまとめたものです。" +"**これらの表について:** これらの表は、[Hatch](get-to-know-hatch) のインストールから [PyPI](publish-" +"pypi) と conda-forge へのパッケージの公開まで、パッケージ作成プロセスのすべてのステップを完了するのに必要なコマンドライン入力(例えば" +" `pipx install hatch`、`hatch build`、`python -m build`)をまとめたものです。" #: ../../tutorials/command-line-reference.md:14 -#, fuzzy, python-brace-format +#, python-brace-format msgid "" "**What these tables are not:** These tables do not cover the manual or non-" "automated steps (e.g., create a PyPI account, create a {term}`API token`) " "you have to complete throughout the package creation process." msgstr "" -"**これらの表は何でないか:** これらの表は、パッケージの作成プロセスを通して完了しなければならない手動/非自動ステップ " -"(PyPIアカウントの作成、PyPI APIトークンの作成など) をカバーしていません。" +"**これらの表にないもの:** これらの表は、パッケージ作成プロセス全体で完了しなければならない手動の(自動化されていない)ステップ(例えば、PyPI " +"アカウントの作成、{term}`API token` の作成)はカバーしていません。" #: ../../tutorials/command-line-reference.md:18 msgid "" @@ -1069,9 +1074,8 @@ msgid "" "for macOS and Linux will be added in the future." msgstr "" "**オペレーティングシステム:** 本ガイドの現在のバージョンは、Windows " -"OSのみでテストされています。多くのコマンドはWindows固有のものでス。OS固有のコマンドは、コマンドの説明の後に " -"[COMMAND_DESCRIPTION] (Windows) のように括弧をつけて表示されます。 " -"macOSとLinuxに対応するコマンドは今後追加されます。" +"OSのみでテストされています。多くのコマンドはWindows固有のものでス。OS固有のコマンドは、コマンドの説明の後に [COMMAND_DESCRIPTION]" +" (Windows) のように括弧をつけて表示されます。 macOSとLinuxに対応するコマンドは今後追加されます。" #: ../../tutorials/command-line-reference.md:21 msgid "Environment Setup" @@ -1090,9 +1094,8 @@ msgid "Versions and Environments" msgstr "バージョンと環境" #: ../../tutorials/create-python-package.md:7 -#, fuzzy msgid "Create a pure Python package" -msgstr "Pythonパッケージの作成と公開" +msgstr "純粋な Python パッケージの作成" #: ../../tutorials/create-python-package.md:9 #: ../../tutorials/develop-python-package-hatch.md:9 @@ -1104,8 +1107,8 @@ msgstr "このレッスンについて" msgid "" "This lesson uses the pyOpenSci Python package copier template to create a " "{term}`Python package` quickly. Your package will be installable both " -"locally and remotely from a website such as GitHub (or GitLab) into a " -"Python environment." +"locally and remotely from a website such as GitHub (or GitLab) into a Python" +" environment." msgstr "" "このレッスンでは、pyOpenSci Python パッケージ コピー機テンプレートを使用して、{term}`Python パッケージ` " "をすばやく作成します。パッケージは、ローカルにもリモートにも GitHub (または GitLab) などの Web サイトから Python " @@ -1113,33 +1116,33 @@ msgstr "" #: ../../tutorials/create-python-package.md:18 #: ../../tutorials/setup-py-to-pyproject-toml.md:23 -#, fuzzy msgid "In this lesson, you will learn:" msgstr "このレッスンで学ぶこと:" #: ../../tutorials/create-python-package.md:20 -#, fuzzy msgid "" -"How to make your code installable into any Python environment, both locally" -" and from GitHub" -msgstr "ローカルとGitHubの両方で、あなたのコードをあらゆるPython環境にインストール可能にする方法" +"How to make your code installable into any Python environment, both locally " +"and from GitHub" +msgstr "ローカルでも GitHub からでも、コードを任意の Python 環境にインストール可能にする方法" #: ../../tutorials/create-python-package.md:21 -#, fuzzy msgid "" "How to update a [pyproject.toml file](pyproject-toml), which contains the " "metadata needed to build, install, and publish your package." -msgstr "最後のレッスンでは、パッケージのビルドに必要なコア要素を含む、素のpyproject.tomlファイルを作成しました:" +msgstr "" +"パッケージのビルド、インストール、公開に必要なメタデータを含む [pyproject.toml ファイル](pyproject-toml) " +"を更新する方法" #: ../../tutorials/create-python-package.md:23 -#, fuzzy, python-brace-format +#, python-brace-format msgid "" "How to declare a {term}`Build backend` which will be used to [build](build-" "package) and install your package" -msgstr "パッケージの [ビルド](build-package) とインストールに使用する [ビルドバックエンド](build_backends) を宣言する方法" +msgstr "パッケージの[ビルド](build-package)とインストールに使用する {term}`ビルドバックエンド` を宣言する方法" #: ../../tutorials/create-python-package.md:25 -msgid "How to install your package in editable mode for interactive development" +msgid "" +"How to install your package in editable mode for interactive development" msgstr "インタラクティブな開発のために編集可能モードでパッケージをインストールする方法" #: ../../tutorials/create-python-package.md:28 @@ -1147,26 +1150,26 @@ msgid "**What you need to complete this lesson**" msgstr "**このレッスンを完了するために必要なもの**" #: ../../tutorials/create-python-package.md:30 -#, fuzzy msgid "" -"To complete this lesson, you will need a local Python environment and shell" -" on your computer. You will need to have " -"[Copier](https://copier.readthedocs.io/en/stable/) and [Hatch installed" -"](get-to-know-hatch) to complete the lesson successfully." +"To complete this lesson, you will need a local Python environment and shell " +"on your computer. You will need to have " +"[Copier](https://copier.readthedocs.io/en/stable/) and [Hatch " +"installed](get-to-know-hatch) to complete the lesson successfully." msgstr "" -"このレッスンを完了するには、あなたのコンピュータにローカルのPython環境とシェルが必要です。 [Hatchのインストール](get-to-" -"know-hatch) も必要です。" +"このレッスンを完了するには、コンピュータにローカルの Python " +"環境とシェルが必要です。レッスンを正常に完了するには、[Copier](https://copier.readthedocs.io/en/stable/)" +" と [Hatch がインストールされている](get-to-know-hatch)必要があります。" #: ../../tutorials/create-python-package.md:35 -#, fuzzy msgid "" "If you are using Windows or are not familiar with Shell, you may want to " "check out the Carpentries shell lesson[^shell-lesson]. Windows users will " "likely need to configure a tool such as " "[gitbash](https://gitforwindows.org/) for any Shell and git-related steps." msgstr "" -"Windowsを使用している、またはシェルに精通していない場合は、Carpentriesのシェルレッスン[^shell-lesson] " -"をチェックアウトすることをお勧めします。 Windowsユーザーは、Shellやgitに関連するステップのためにツールを設定する必要があるでしょう。" +"Windows を使用している場合やシェルに慣れていない場合は、Carpentries のシェルレッスン[^shell-lesson] " +"を参照するとよいでしょう。Windows ユーザーは、シェルや git に関連するステップのために " +"[gitbash](https://gitforwindows.org/) などのツールを設定する必要があるでしょう。" #: ../../tutorials/create-python-package.md:41 msgid "" @@ -1176,35 +1179,36 @@ msgid "" "It them lists your-package along with a few other core packages such as " "Matplotlib, NumPy, Pandas, Xarray and GeoPandas." msgstr "" -"この図には2つの小さなボックスがあり、右側にPython環境を示す矢印があります。 小さなボックスには、your-packageとpip " -"install packageと書かれています。 右側の環境欄には「あなたのPython環境」と書かれています。 " +"この図には2つの小さなボックスがあり、右側にPython環境を示す矢印があります。 小さなボックスには、your-packageとpip install" +" packageと書かれています。 右側の環境欄には「あなたのPython環境」と書かれています。 " "Matplotlib、NumPy、Pandas、Xarray、GeoPandasなどのコアパッケージとともに、your-" "packageがリストアップされています。" #: ../../tutorials/create-python-package.md:43 -#, fuzzy msgid "" "In a [previous lesson, you learned what a Python package is](intro). " "Creating a Python package allows you to install your code into any Python " "environment on your computer. You can then import it into workflows in the " -"same way that you might import a package such as Pandas or GeoPandas. If " -"you push your code to GitHub or GitLab, you can also install it directly " -"from there. [Scroll to the bottom of the page to learn more about the basic" -" elements of a Python package.](package-overview)." +"same way that you might import a package such as Pandas or GeoPandas. If you" +" push your code to GitHub or GitLab, you can also install it directly from " +"there. [Scroll to the bottom of the page to learn more about the basic " +"elements of a Python package.](package-overview)." msgstr "" -"あなたのコードをインストール可能にすることは、公開可能なPythonパッケージを作成するための最初のステップです。 " -"あなたのコードがインストール可能になると、それはPythonパッケージとなり、あなたのコンピュータ上の任意のPython環境に追加し、PandasやGeoPandasなどのパッケージをインポートするのと同じ方法でインポートすることができます。あなたのコードがGitHubやGitLabにあるなら、そこから直接インストールすることもできます。" +"[前のレッスンでは、Python パッケージとは何かを学びました](intro)。Python パッケージを作成すると、コードをコンピュータ上の任意の " +"Python 環境にインストールできます。その後、Pandas や GeoPandas " +"のようなパッケージをインポートするのと同じ方法で、ワークフローにインポートできます。コードを GitHub や GitLab " +"にプッシュすれば、そこから直接インストールすることもできます。[Python " +"パッケージの基本要素について詳しくは、ページの下部をスクロールしてください。](package-overview)。" #: ../../tutorials/create-python-package.md:49 -#, fuzzy msgid "Create your Python package" -msgstr "Pythonパッケージを作成しましょう!" +msgstr "Python パッケージの作成" #: ../../tutorials/create-python-package.md:51 msgid "" "Below, you will create a pure Python package using the [pyOpenSci copier " -"template](https://github.com/pyOpenSci/pyos-package-template). Our template" -" uses Hatch as the default packaging tool. At the bottom of this lesson, " +"template](https://github.com/pyOpenSci/pyos-package-template). Our template " +"uses Hatch as the default packaging tool. At the bottom of this lesson, " "you'll learn more about the basics of the Python package directory " "structure, and associated key files (`__init__.py` and `pyproject.toml`)." msgstr "" @@ -1223,12 +1227,11 @@ msgid "Open your shell or preferred terminal." msgstr "シェルまたはお好みのターミナルを開きます。" #: ../../tutorials/create-python-package.md:56 -#, fuzzy msgid "" "Use the shell `cd` command to navigate in your shell to the location where " "you'd like your package to live. Our template will create the package " "directory structure for you" -msgstr "シェルで `cd` コマンドを使い、パッケージのディレクトリを置く場所に移動します。 Hatchがパッケージディレクトリを作成してくれます。" +msgstr "シェルで `cd` コマンドを使って、パッケージを置きたい場所に移動します。テンプレートがパッケージのディレクトリ構造を作成してくれます" #: ../../tutorials/create-python-package.md:57 msgid "Choose a name for your package. The name should:" @@ -1239,21 +1242,19 @@ msgid "Have no spaces (*Required*)" msgstr "スペースがない (*必須*)" #: ../../tutorials/create-python-package.md:59 -#, fuzzy msgid "" -"Use all lowercase characters (*Recommended*). For this tutorial, we will " -"use `pyospackage`." -msgstr "すべて小文字を使用 (*推奨*)。 このチュートリアルでは `pyospackage` を使用します。" +"Use all lowercase characters (*Recommended*). For this tutorial, we will use" +" `pyospackage`." +msgstr "すべて小文字を使用 (*推奨*)。このチュートリアルでは `pyospackage` を使用します。" #: ../../tutorials/create-python-package.md:60 -#, fuzzy msgid "" -"Only use letters and the characters _ or - in the name. This means that the" -" name `pyos*package` is not an acceptable name. However, the names " +"Only use letters and the characters _ or - in the name. This means that the " +"name `pyos*package` is not an acceptable name. However, the names " "`pyos_package` or `pyos-package` are both OK." msgstr "" -"名前にはアルファベットと _ または - のみを使用してください。これは、`pyos*package`という名前は使えないことを意味します。しかし、 " -"`pyos_package` または `pyos-package` という名前であれば、どちらでも構いません。" +"名前にはアルファベットと _ または - のみを使用してください。つまり、`pyos*package` " +"という名前は使えません。しかし、`pyos_package` または `pyos-package` という名前ならどちらも OK です。" #: ../../tutorials/create-python-package.md:62 msgid "" @@ -1266,17 +1267,17 @@ msgstr "" #: ../../tutorials/create-python-package.md:68 msgid "" -"After running the command above, the template will walk you through a " -"series of questions." +"After running the command above, the template will walk you through a series" +" of questions." msgstr "上記のコマンドを実行すると、テンプレートによって一連の質問が表示されます。" #: ../../tutorials/create-python-package.md:70 msgid "" "Note that when you reach the prompt \"Do you want to answer one more " "question, and skip the rest, using the default values?\" you can choose " -"Yes, but with a minimal setup to create the most basic version " -"of your package that contains documentation, tests and a example module for" -" you to use." +"Yes, but with a minimal setup to create the most basic version of" +" your package that contains documentation, tests and a example module for " +"you to use." msgstr "" "「デフォルト値を使用して、もう 1 つの質問に答えて残りをスキップしますか?」というプロンプトが表示されることに注意してください。 " "はい、ただし最小限のセットアップを使用します を選択すると、使用するドキュメント、テスト、サンプル " @@ -1285,8 +1286,8 @@ msgstr "" #: ../../tutorials/create-python-package.md:72 msgid "" "After this question, the template will ask you for your preferred GitHub " -"username and will then create a package with basic tests, documentation, " -"and GitHub configuration setup for you." +"username and will then create a package with basic tests, documentation, and" +" GitHub configuration setup for you." msgstr "" "この質問の後、テンプレートは希望の GitHub ユーザー名を尋ね、基本的なテスト、ドキュメント、GitHub " "構成セットアップを含むパッケージを作成します。" @@ -1298,9 +1299,8 @@ msgid "" msgstr "テンプレートは、上で使用したディレクトリへのファイルのコピーを開始します。 (「.」は現在の作業ディレクトリを意味します。)" #: ../../tutorials/create-python-package.md:101 -#, fuzzy msgid "The final package structure will look like this:" -msgstr "最終的なプロジェクトのディレクトリ構造は以下のようになるはずです:" +msgstr "最終的なパッケージ構造は次のようになります:" #: ../../tutorials/create-python-package.md msgid "A full package with tests, docs, and GitHub infrastructure" @@ -1309,10 +1309,10 @@ msgstr "テスト、ドキュメント、GitHubインフラストラクチャを #: ../../tutorials/create-python-package.md:119 msgid "" "If you use the \"bells and whistles\" default option when working through " -"the template prompts, our template will create a complete package setup " -"with GitHub CI actions, typing, tests, environments, and more using Hatch. " -"If you customize the entire package, then you can select what platform you " -"wish to host it on (GitHub vs GitLab), whether you want typing, what " +"the template prompts, our template will create a complete package setup with" +" GitHub CI actions, typing, tests, environments, and more using Hatch. If " +"you customize the entire package, then you can select what platform you wish" +" to host it on (GitHub vs GitLab), whether you want typing, what " "documentation engine you want to use, and more." msgstr "" "テンプレートのプロンプトを操作するときに「付加機能」のデフォルト オプションを使用すると、テンプレートは Hatch を使用して GitHub CI " @@ -1321,9 +1321,8 @@ msgstr "" "GitLab)、入力するかどうか、使用するドキュメント エンジンなどを選択できます。" #: ../../tutorials/create-python-package.md:123 -#, fuzzy msgid "The resulting package directory looks like this:" -msgstr "プロジェクトディレクトリはこのようになっているはずです:" +msgstr "結果として得られるパッケージディレクトリは次のようになります:" #: ../../tutorials/create-python-package.md:146 msgid "The default tools that your package uses are:" @@ -1331,66 +1330,61 @@ msgstr "パッケージが使用するデフォルトのツールは以下の通 #: ../../tutorials/create-python-package.md:148 msgid "" -"[Sphinx](https://www.pyopensci.org/python-package-guide/documentation" -"/hosting-tools/sphinx-python-package-documentation-tools.html) with the " -"PyData Sphinx Theme for documentation" +"[Sphinx](https://www.pyopensci.org/python-package-" +"guide/documentation/hosting-tools/sphinx-python-package-documentation-" +"tools.html) with the PyData Sphinx Theme for documentation" msgstr "" -"[Sphinx](https://www.pyopensci.org/python-package-guide/documentation" -"/hosting-tools/sphinx-python-package-documentation-tools.html) ドキュメント用の " -"PyData Sphinx テーマ" +"[Sphinx](https://www.pyopensci.org/python-package-" +"guide/documentation/hosting-tools/sphinx-python-package-documentation-" +"tools.html) ドキュメント用の PyData Sphinx テーマ" #: ../../tutorials/create-python-package.md:149 msgid "pytest for testing" msgstr "テスト用のpytest" #: ../../tutorials/create-python-package.md:150 -#, fuzzy msgid "Hatch for environment setup" -msgstr "Hatchと環境" +msgstr "環境構築のための Hatch" #: ../../tutorials/create-python-package.md:152 msgid "" -"**Full customization** If you want to customize any elements of your " -"package setup, choose `No, I want to fully customize the template.`. This " -"will allow you to select:" +"**Full customization** If you want to customize any elements of your package" +" setup, choose `No, I want to fully customize the template.`. This will " +"allow you to select:" msgstr "" "**完全なカスタマイズ** パッケージ設定の要素をカスタマイズしたい場合は、「いいえ、テンプレートを完全にカスタマイズします。」を選択します。 " "これにより、以下を選択できるようになります。" #: ../../tutorials/create-python-package.md:155 -#, fuzzy msgid "Sphinx vs [MkDocs](https://www.mkdocs.org/) vs no documentation" -msgstr "sphinx vs [mkdocs](https://www.mkdocs.org/) vs ドキュメントなし" +msgstr "Sphinx vs [MkDocs](https://www.mkdocs.org/) vs ドキュメントなし" #: ../../tutorials/create-python-package.md:156 -#, fuzzy msgid "GitHub vs GitLab" -msgstr "GitHub & GitLab vs. Git" +msgstr "GitHub vs GitLab" #: ../../tutorials/create-python-package.md:157 msgid "VCS versioning" msgstr "VCSバージョン管理" #: ../../tutorials/create-python-package.md:158 -#, fuzzy msgid "and more" -msgstr "などなど。" +msgstr "その他" #: ../../tutorials/create-python-package.md:161 -#, fuzzy msgid "Step 2: Explore the existing module in your package" -msgstr "ステップ 2: パッケージにモジュールを追加する" +msgstr "ステップ 2: パッケージ内の既存のモジュールを調べる" #: ../../tutorials/create-python-package.md:163 -#, fuzzy, python-brace-format +#, python-brace-format msgid "" "A {term}`Module` refers to a `.py` file containing the code that you want " "your package to access and run. Within the `pyospackage` subdirectory, you " "have an `example.py` module that you can use to test out your package " "quickly." msgstr "" -"Python モジュールとは、パッケージにアクセスさせ、実行させたいコードを含む `.py` ファイルを指します。 `pyospackage` " -"サブディレクトリに、少なくとも1つのPythonモジュール (.py ファイル) を追加します。" +"{term}`モジュール` とは、パッケージにアクセスして実行させたいコードを含む `.py` ファイルを指します。`pyospackage` " +"サブディレクトリには、パッケージをすばやくテストするために使用できる `example.py` モジュールがあります。" #: ../../tutorials/create-python-package.md:167 msgid "Notice that the code in the example.py module, has a few features:" @@ -1411,16 +1405,14 @@ msgid "" msgstr "モジュールの先頭には、モジュールの機能を説明するドキュメント文字列があります。" #: ../../tutorials/create-python-package.md:173 -#, fuzzy msgid "" "Python supports different docstring formats. The most popular formats for " "documenting Python objects are NumPy Style Docstring[^numpydoc], Google " "Style Docstring[^googledoc], and the Epytext Style Docstrings[^epytextdoc]." msgstr "" -"Pythonは、使いたいドキュメントのビルドシステムに応じて、多くの異なるdocstringsフォーマットをサポートすることができます。 " -"Pythonオブジェクトを文書化するために最もよくサポートされている形式は、NumPy Style " -"Docstring[^numpydoc]、Google Style Docstring[^googledoc]、Epytext Style " -"Docstring[^epytextdoc]です。" +"Python はさまざまな docstring 形式をサポートしています。Python オブジェクトのドキュメント化に最もよく使われる形式は、NumPy" +" スタイル Docstring[^numpydoc]、Google スタイル Docstring[^googledoc]、Epytext スタイル " +"Docstring[^epytextdoc] です。" #: ../../tutorials/create-python-package.md:175 msgid "**pyOpenSci recommends using the NumPy Docstring convention.**" @@ -1430,16 +1422,16 @@ msgstr "**pyOpenSciは、NumPyのDocstring規約を使用することを推奨 msgid "" "[Learn more about docstrings here](api-docstrings) for an overview of both " "topics." -msgstr "両方のトピックの概要については、[docstrings の詳細については、こちらをご覧ください](api-docstrings) を参照してください。" +msgstr "" +"両方のトピックの概要については、[docstrings の詳細については、こちらをご覧ください](api-docstrings) を参照してください。" #: ../../tutorials/create-python-package.md:206 msgid "Python modules and the `__init__.py` file" msgstr "Pythonモジュールと `__init__.py` ファイル" #: ../../tutorials/create-python-package.md:210 -#, fuzzy msgid "The word module refers to a `.py` file containing Python code." -msgstr "モジュールという言葉を目にしたとき、私たちはPythonのコードを含む `.py` ファイルを指しています。" +msgstr "「モジュール」という言葉は、Python のコードを含む `.py` ファイルを指します。" #: ../../tutorials/create-python-package.md:212 msgid "" @@ -1451,9 +1443,8 @@ msgstr "" "パッケージは複数のモジュール [^python-modules] を持つことができます。" #: ../../tutorials/create-python-package.md:217 -#, fuzzy msgid "Step 3: Optional -- Add code to your module" -msgstr "ステップ3: モジュールにコードを追加する" +msgstr "ステップ 3: (オプション)-- モジュールにコードを追加する" #: ../../tutorials/create-python-package.md:219 msgid "" @@ -1465,35 +1456,34 @@ msgstr "" "番目の関数を作成します。" #: ../../tutorials/create-python-package.md:222 -#, fuzzy msgid "Step 4: Check out the metadata in your `pyproject.toml` file" -msgstr "ステップ 4: `pyproject.toml` ファイルのメタデータを修正する" +msgstr "ステップ 4: `pyproject.toml` ファイルのメタデータを確認する" #: ../../tutorials/create-python-package.md:224 msgid "" "A [pyproject.toml](pyproject-toml) file stores metadata that provides " -"instructions to various tools interacting with it, including [Hatch](get-" -"to-know-hatch), which will build your package. You can also specify " -"metadata for your package." +"instructions to various tools interacting with it, including [Hatch](get-to-" +"know-hatch), which will build your package. You can also specify metadata " +"for your package." msgstr "" "[pyproject.toml](pyproject-toml) ファイルには、パッケージを構築する [Hatch](get-to-know-" "hatch) など、対話するさまざまなツールに指示を与えるメタデータが保存されます。パッケージのメタデータを指定することもできます。" #: ../../tutorials/create-python-package.md:229 -#, fuzzy msgid "" "You will learn more about the `pyproject.toml` format in the [next lesson " "when you add additional metadata/information to this file.](pyproject-" "toml.md)" msgstr "" -"`pyproject.toml` フォーマットについては、 [このファイルにメタデータや情報を追加する次のレッスン](pyproject-" -"toml.md) で詳しく学びます。" +"`pyproject.toml` フォーマットについては、[このファイルにメタデータや情報を追加する次のレッスン](pyproject-toml.md)" +" で詳しく学びます。" #: ../../tutorials/create-python-package.md:232 msgid "" "The metadata in your generated `pyproject.toml` is already setup for you " "using the information you provided the copier template above." -msgstr "生成された `pyproject.toml` 内のメタデータは、上記のコピー テンプレートで提供した情報を使用してすでにセットアップされています。" +msgstr "" +"生成された `pyproject.toml` 内のメタデータは、上記のコピー テンプレートで提供した情報を使用してすでにセットアップされています。" #: ../../tutorials/create-python-package.md:234 msgid "Brief overview of the TOML file" @@ -1510,32 +1500,30 @@ msgid "`[this-is-a-table]`." msgstr "`[this-is-a-table]`." #: ../../tutorials/create-python-package.md:241 -#, fuzzy msgid "" "Tables can contain variables within them defined by a variable name and an " "`=` sign. For instance, a `build-system` table most often holds two (2) " "variables:" msgstr "" -"テーブルには、変数名と `=` 記号で定義された変数を入れることができます。 例えば、`build-system` " -"テーブルは以下の2(つの)変数を保持することが多いです:" +"テーブルには、変数名と `=` 記号で定義された変数を含めることができます。たとえば、`build-system` " +"テーブルにはほとんどの場合2つの変数が含まれます:" #: ../../tutorials/create-python-package.md:244 -#, fuzzy msgid "" -"`requires = `, which tells a build tool what tools it needs to install " -"prior to building your package. In this case " +"`requires = `, which tells a build tool what tools it needs to install prior" +" to building your package. In this case " "[hatchling](https://pypi.org/project/hatchling/)." msgstr "" -"`requires=` は、ビルドツールに対して、パッケージをビルドする前にインス トールする必要があるツールを指示します。 この場合 " -"[hatchling](https://pypi.org/project/hatchling/)" +"`requires = ` は、ビルドツールに対して、パッケージをビルドする前にインストールする必要があるツールを指示します。この場合は " +"[hatchling](https://pypi.org/project/hatchling/) です。" #: ../../tutorials/create-python-package.md:246 msgid "" -"`build-backend = `, which is used to define the specific build-backend " -"name, (in this example we are using `hatchling.build`)." +"`build-backend = `, which is used to define the specific build-backend name," +" (in this example we are using `hatchling.build`)." msgstr "" -"`build-backend = ` 、これは、特定のビルドバックエンド名を定義するために使われます、(この例では、 " -"`hatchling.build` を使用しています)。" +"`build-backend = ` 、これは、特定のビルドバックエンド名を定義するために使われます、(この例では、 `hatchling.build`" +" を使用しています)。" #: ../../tutorials/create-python-package.md:255 msgid "" @@ -1544,12 +1532,9 @@ msgid "" msgstr "TOMLはデータ構造を整理し、設定ファイル内の関係を定義します。" #: ../../tutorials/create-python-package.md:258 -#, fuzzy -msgid "[Learn more about the pyproject.toml format here.](pyprojecttoml-metadata)" -msgstr "" -"[pyproject.tomlフォーマットの詳細はこちら。](pyprojecttoml-" -"metadata)[pyproject.tomlフォーマットの詳細はこちら。](../package-structure-code" -"/pyproject-toml-python-package-metadata)" +msgid "" +"[Learn more about the pyproject.toml format here.](pyprojecttoml-metadata)" +msgstr "[pyproject.toml 形式の詳細はこちらをご覧ください。](pyprojecttoml-metadata)" #: ../../tutorials/create-python-package.md:261 msgid "" @@ -1565,9 +1550,9 @@ msgstr "パッケージのバージョン、パッケージ名、作成者名が #: ../../tutorials/create-python-package.md:300 msgid "" -"At the bottom of the template-generated `pyproject.toml` file, you will see" -" a section that defines Hatch environments. We will cover Hatch " -"environments in a later lesson." +"At the bottom of the template-generated `pyproject.toml` file, you will see " +"a section that defines Hatch environments. We will cover Hatch environments " +"in a later lesson." msgstr "" "テンプレートで生成された `pyproject.toml` " "ファイルの下部に、ハッチ環境を定義するセクションが表示されます。ハッチ環境については後のレッスンで説明します。" @@ -1577,30 +1562,27 @@ msgid "The bare minimum needed in a pyproject.toml file" msgstr "pyproject.tomlファイルに最低限必要なもの" #: ../../tutorials/create-python-package.md:305 -#, fuzzy msgid "" -"The core information that you need in a `pyproject.toml` file to publish on" -" PyPI is your **package's name** and the **version**. However, we suggest " +"The core information that you need in a `pyproject.toml` file to publish on " +"PyPI is your **package's name** and the **version**. However, we suggest " "that you flesh out your metadata early on in the `pyproject.toml` file." msgstr "" -"PyPIで公開するために `pyproject.toml` ファイルに必要な情報は、 **パッケージ名** と **バージョン** です。 しかし、 " -"`pyproject.toml` ファイルの早い段階でメタデータを具体化することをお勧めします。" +"PyPI で公開するために `pyproject.toml` ファイルに必要な中核的な情報は、**パッケージの名前** と **バージョン** " +"です。しかし、`pyproject.toml` ファイルの早い段階でメタデータを充実させておくことをお勧めします。" #: ../../tutorials/create-python-package.md:307 -#, fuzzy msgid "" "Once you have your project metadata in the `pyproject.toml` file, you will " "rarely update it." -msgstr "一度pyproject.tomlファイルにプロジェクトのメタデータがあれば、それを更新することはほとんどありません。次のレッスンでは、このファイルにさらにメタデータと構造を追加します。" +msgstr "`pyproject.toml` ファイルにプロジェクトのメタデータを入れたら、それを更新することはほとんどありません。" #: ../../tutorials/create-python-package.md:311 msgid "Step 5: Install your package locally" msgstr "ステップ 5: パッケージをローカルにインストールする" #: ../../tutorials/create-python-package.md:313 -#, fuzzy msgid "At this point, you should have:" -msgstr "この時点であなたは以下を持っているはずです:" +msgstr "この時点で、以下を用意できているはずです:" #: ../../tutorials/create-python-package.md:315 msgid "A project directory structure with a `pyproject.toml` file at the root" @@ -1611,29 +1593,27 @@ msgid "A package directory containing an empty `__init__.py` file and" msgstr "空の `__init__.py` ファイルを含むパッケージ・ディレクトリと" #: ../../tutorials/create-python-package.md:317 -#, fuzzy msgid "At least one Python module (e.g. `example.py`)" -msgstr "少なくとも1つのPythonモジュール (e.g. `add_numbers.py`)" +msgstr "少なくとも1つの Python モジュール (例: `example.py`)" #: ../../tutorials/create-python-package.md:319 msgid "You are now ready to install (and build) your Python package!" msgstr "これで Python パッケージをインストール(ビルド)する準備ができました!" #: ../../tutorials/create-python-package.md:321 -#, fuzzy msgid "" "While you can do this using Hatch, we will use pip for this lesson, so you " "can see how to install your tool into your preferred environment." -msgstr "hatchを使ってもできますが、このレッスンではpipを使います、そうすれば、あなたの好みの環境にツールをインストールする方法を見ることができます。" +msgstr "" +"Hatch を使ってもできますが、このレッスンでは pip を使います。そうすることで、お好みの環境にツールをインストールする方法を確認できます。" #: ../../tutorials/create-python-package.md:323 -#, fuzzy msgid "" "First, open your preferred shell (Windows users may use something like " "GitBash) and `cd` into your project directory if you are not already there." msgstr "" -"まず、お好みのシェルを開き (Windowsユーザーはgitbashのようなものを使っているかもしれません) " -"、まだプロジェクトディレクトリにいなければ、 `cd` してください。" +"まず、お好みのシェルを開き(Windows ユーザーは GitBash などを使用)、まだプロジェクトディレクトリにいない場合は `cd` " +"で移動します。" #: ../../tutorials/create-python-package.md:324 msgid "Activate the Python environment that you wish to use." @@ -1658,16 +1638,16 @@ msgstr "レッスンが公開されたら、これを追加してください。 #: ../../tutorials/create-python-package.md:329 msgid "" -"Activate the Python environment that you wish to use. If you need help with" -" working with virtual environments check out this lesson (add link)." -msgstr "使用したいPython環境をアクティブにします。 仮想環境での作業で助けが必要な場合は、このレッスンをチェックしてください(リンクを追加)。" +"Activate the Python environment that you wish to use. If you need help with " +"working with virtual environments check out this lesson (add link)." +msgstr "" +"使用したいPython環境をアクティブにします。 仮想環境での作業で助けが必要な場合は、このレッスンをチェックしてください(リンクを追加)。" #: ../../tutorials/create-python-package.md:355 msgid "What does `python -m pip install -e .` do?" msgstr "`python -m pip install -e .` は何をしているのか?" #: ../../tutorials/create-python-package.md:358 -#, fuzzy msgid "" "`python -m pip install -e .` installs your package into the current active " "Python environment in **editable mode** (`-e`). Installing your package in " @@ -1676,16 +1656,14 @@ msgid "" "editable mode is that every time you update your code, you need to restart " "Python." msgstr "" -"`python -m pip install -e .` は、 **編集可能モード** (`-e`) で、現在のアクティブな Python " -"環境にパッケージをインストールします。 " -"編集可能モードでパッケージをインストールすることで、あなたのコードで作業し、お気に入りのPythonインターフェースでインタラクティブに更新をテストすることができます。" -" 編集可能モードの重要な注意点のひとつは、コードを更新するたびに、そのコードが更新されるということです、 " -"その場合、Pythonを再起動する必要があるかもしれません。" +"`python -m pip install -e .` は、**編集可能モード** (`-e`) で現在アクティブな Python " +"環境にパッケージをインストールします。編集可能モードでパッケージをインストールすると、コードに取り組みながら、お気に入りの Python " +"インターフェースで更新を対話的にテストできます。編集可能モードの重要な注意点は、コードを更新するたびに Python を再起動する必要があることです。" #: ../../tutorials/create-python-package.md:363 msgid "" -"If you wish to install the package regularly (not in editable mode) you can" -" use:" +"If you wish to install the package regularly (not in editable mode) you can " +"use:" msgstr "(編集可能モードではなく) 定期的にパッケージをインストールしたい場合は、次のようにします:" #: ../../tutorials/create-python-package.md:366 @@ -1699,8 +1677,8 @@ msgstr "**`pip` を呼び出す際に `python -m` を使用する**" #: ../../tutorials/create-python-package.md:370 msgid "" "Above, you use`python -m` to call the version of pip installed into your " -"current active environment. `python -m` is important to ensure that you are" -" calling the version of pip installed in your current environment." +"current active environment. `python -m` is important to ensure that you are " +"calling the version of pip installed in your current environment." msgstr "" "上記では、 `python -m` を使用して、現在アクティブな環境にインストールされている pip のバージョンを呼び出します。 `python " "-m` は、現在の環境にインストールされているバージョンの pip を呼び出していることを確認するために重要です。" @@ -1709,9 +1687,9 @@ msgstr "" msgid "" "IMPORTANT: pip can also be used to install packages from PyPI. However, in " "this case, you are telling pip to install your package from a local folder " -"by using the `.`. You could also specify a path to the project directory on" -" your computer instead of the `.` which tells pip to use the current " -"working directory." +"by using the `.`. You could also specify a path to the project directory on " +"your computer instead of the `.` which tells pip to use the current working " +"directory." msgstr "" "重要: " "pipはPyPIからパッケージをインストールするためにも使用できます。しかし、この場合、`.`を使用してローカルフォルダからパッケージをインストールするようpipに指示しています。`.`の代わりにコンピュータ上のプロジェクトディレクトリへのパスを指定することもできます。`.`はpipに現在の作業ディレクトリを使用するよう指示します。" @@ -1721,23 +1699,21 @@ msgid "Look for pyospackage in your environment" msgstr "あなたの環境でpyospackageを探す" #: ../../tutorials/create-python-package.md:379 -#, fuzzy msgid "" "Once you have installed your package, you can view it in your current " "environment. If you are using `venv` or `conda`, `pip` list will return a " "list of packages in the current active environment." msgstr "" -"パッケージをインストールしたら、現在の環境でそれを見ることができます。 `venv` または `conda` を使用している場合、 `pip` " -"list で現在インストールされているパッケージを確認することができます。" +"パッケージをインストールしたら、現在の環境で確認できます。`venv` や `conda` を使用している場合、`pip list` " +"は現在アクティブな環境にあるパッケージの一覧を返します。" #: ../../tutorials/create-python-package.md:383 -#, fuzzy msgid "" "Note that because `pyospackage` is installed in editable mode (`-e`), pip " "will show you the directory path to your project's code" msgstr "" -"pyospackageは編集可能モード (`-e`) " -"でインストールされるため、pipはプロジェクトのコードへのディレクトリパスを表示することに注意してください。" +"`pyospackage` が編集可能モード (`-e`) でインストールされているため、pip " +"はプロジェクトのコードへのディレクトリパスを表示することに注意してください" #: ../../tutorials/create-python-package.md:411 msgid "Step 6: Test out your new package" @@ -1746,16 +1722,14 @@ msgstr "ステップ 6: 新しいパッケージをテストする" #: ../../tutorials/create-python-package.md:413 msgid "" "After installing your package, type “python” at the command prompt in your " -"chosen terminal to start a Python session in your active Python " -"environment." +"chosen terminal to start a Python session in your active Python environment." msgstr "" "パッケージをインストールした後、選択したターミナルのコマンドプロンプトで“python”と入力して、アクティブなPython環境でPythonセッションを開始します。パッケージをインストールしたら、選択したターミナルのコマンドプロンプトで" " \"python\" と入力し、アクティブなPython環境でPythonセッションを開始します。" #: ../../tutorials/create-python-package.md:416 -#, fuzzy msgid "You can now import your package and access the `add_numbers` function." -msgstr "これでパッケージをインポートして `add_num` 関数にアクセスできます。" +msgstr "これでパッケージをインポートして `add_numbers` 関数にアクセスできるようになります。" #: ../../tutorials/create-python-package.md:428 msgid "Installing packages from GitHub" @@ -1776,7 +1750,8 @@ msgid "Create a new GitHub repository" msgstr "新しいGitHubリポジトリを作成する" #: ../../tutorials/create-python-package.md:440 -msgid "Push the contents of the project directory that you created above, to GitHub" +msgid "" +"Push the contents of the project directory that you created above, to GitHub" msgstr "上記で作成したプロジェクトディレクトリの内容をGitHubにプッシュします" #: ../../tutorials/create-python-package.md:441 @@ -1795,31 +1770,34 @@ msgid "" msgstr "例えば、以下のようにpyOpenSciリポジトリのmainブランチからpyospackageをインストールします。" #: ../../tutorials/create-python-package.md:446 -msgid "`python -m pip install git+https://github.com/user/repo.git@branch_or_tag`" -msgstr "`python -m pip install git+https://github.com/user/repo.git@branch_or_tag`" +msgid "" +"`python -m pip install git+https://github.com/user/repo.git@branch_or_tag`" +msgstr "" +"`python -m pip install git+https://github.com/user/repo.git@branch_or_tag`" #: ../../tutorials/create-python-package.md:450 msgid "Congratulations! You created your first Python package" msgstr "おめでとうございます! あなたは最初のPythonパッケージを作成しました" #: ../../tutorials/create-python-package.md:452 -#, fuzzy msgid "" "You have now created a Python package that you can install into any Python " "environment." -msgstr "やったね! これでどんなPython環境にもインストールできるPythonパッケージができました。" +msgstr "これで、任意の Python 環境にインストールできる Python パッケージが完成しました。" #: ../../tutorials/create-python-package.md:457 msgid "" -"Add a [README file](add-readme.md) and [LICENSE](add-license-coc.md) to " -"your package" -msgstr "[READMEファイル](add-readme.md) と [LICENSE](add-license-coc.md) をパッケージに追加する。" +"Add a [README file](add-readme.md) and [LICENSE](add-license-coc.md) to your" +" package" +msgstr "" +"[READMEファイル](add-readme.md) と [LICENSE](add-license-coc.md) をパッケージに追加する。" #: ../../tutorials/create-python-package.md:458 msgid "" "[Add more metadata to your `pyproject.toml`](pyproject-toml.md) file to " "support PyPI publication." -msgstr "PyPI での公開をサポートするために [ `pyproject.toml` ファイルにメタデータを追加します。](pyproject-toml.md)" +msgstr "" +"PyPI での公開をサポートするために [ `pyproject.toml` ファイルにメタデータを追加します。](pyproject-toml.md)" #: ../../tutorials/create-python-package.md:459 msgid "" @@ -1841,8 +1819,8 @@ msgstr "Pythonパッケージのディレクトリ構造について" #: ../../tutorials/create-python-package.md:466 msgid "" -"To make your Python code installable you need to create a specific " -"directory structure with the following elements:" +"To make your Python code installable you need to create a specific directory" +" structure with the following elements:" msgstr "Pythonコードをインストール可能にするには、以下の要素を含む特定のディレクトリ構造を作成する必要があります:" #: ../../tutorials/create-python-package.md:468 @@ -1862,7 +1840,8 @@ msgid "An `__init__.py` file in your code directory." msgstr "コードディレクトリの `__init__.py` ファイル。" #: ../../tutorials/create-python-package.md:473 -msgid "The directory structure you'll create in this lesson will look like this:" +msgid "" +"The directory structure you'll create in this lesson will look like this:" msgstr "このレッスンで作成するディレクトリ構造は次のようになります:" #: ../../tutorials/create-python-package.md:488 @@ -1877,12 +1856,13 @@ msgstr "" "installパッケージを読み込みます。" #: ../../tutorials/create-python-package.md:490 -#, fuzzy msgid "" -"Once you have the basic items of a Python package (code, metadata and a " -"file structure), you can `pip install` your package into any Python " -"environment on your computer." -msgstr "やったね! これでどんなPython環境にもインストールできるPythonパッケージができました。" +"Once you have the basic items of a Python package (code, metadata and a file" +" structure), you can `pip install` your package into any Python environment " +"on your computer." +msgstr "" +"Python パッケージの基本要素(コード、メタデータ、ファイル構造)が揃ったら、`pip install` でパッケージをコンピュータ上の任意の " +"Python 環境にインストールできます。" #: ../../tutorials/create-python-package.md:493 msgid "About the basic package directory structure" @@ -1895,16 +1875,15 @@ msgstr "上記のレイアウトについて、いくつかの点に注目して #: ../../tutorials/create-python-package.md:497 msgid "" "Your package code lives within a `src/packagename` directory. We suggest " -"that you use `src` (short for **source code**) directory as it [ensures " -"that you are running tests on the installed version of your " -"code](https://www.pyopensci.org/python-package-guide/package-structure-code" -"/python-package-structure.html#the-src-layout-and-testing)." +"that you use `src` (short for **source code**) directory as it [ensures that" +" you are running tests on the installed version of your " +"code](https://www.pyopensci.org/python-package-guide/package-structure-" +"code/python-package-structure.html#the-src-layout-and-testing)." msgstr "" "パッケージのコードは `src/packagename` " -"ディレクトリにある。[インストールされたバージョンのコードでテストを実行していることを確認するため、](https://www.pyopensci.org" -"/python-package-guide/package-structure-code/python-package-structure.html" -"#the-src-layout-and-testing) `src`( **source code** " -"の略)ディレクトリを使用することをお勧めします。" +"ディレクトリにある。[インストールされたバージョンのコードでテストを実行していることを確認するため、](https://www.pyopensci.org/python-" +"package-guide/package-structure-code/python-package-structure.html#the-src-" +"layout-and-testing) `src`( **source code** の略)ディレクトリを使用することをお勧めします。" #: ../../tutorials/create-python-package.md:498 msgid "" @@ -1931,8 +1910,8 @@ msgstr "`pyproject.toml` ファイルはパッケージのルートディレク msgid "" "The name of the root directory for the package is **pyospackage** which is " "the name of the package. This is not a requirement but you will often see " -"that the GitHub / GitLab repository and the root directory name are the " -"same as the package name." +"that the GitHub / GitLab repository and the root directory name are the same" +" as the package name." msgstr "" "パッケージのルートディレクトリの名前は、パッケージ名である **pyospackage** です。これは必須ではありませんが、GitHub / " "GitLabのリポジトリ名とルートディレクトリ名がパッケージ名と同じであることをよく見かけます。" @@ -1943,8 +1922,8 @@ msgstr "`__init__.py` ファイルとは何ですか?" #: ../../tutorials/create-python-package.md:505 msgid "" -"The `__init__.py` file tells Python that a directory should be treated as a" -" Python package. As such, a directory with an `__init__.py` file can be " +"The `__init__.py` file tells Python that a directory should be treated as a " +"Python package. As such, a directory with an `__init__.py` file can be " "imported directly into Python. The `__init__.py` file does not need to " "contain any code in order for Python to recognize it; it can be empty." msgstr "" @@ -1989,9 +1968,9 @@ msgstr "" #: ../../tutorials/create-python-package.md:523 msgid "" "After the `__init__.py` and `pyproject.toml` files have been added, your " -"package can be built and distributed as an installable Python package using" -" tools such as pip. Note that the `pyproject.toml` file needs to have a few" -" basic items defined for the package to be installable including:" +"package can be built and distributed as an installable Python package using " +"tools such as pip. Note that the `pyproject.toml` file needs to have a few " +"basic items defined for the package to be installable including:" msgstr "" "`__init__.py` と `pyproject.toml` " "ファイルが追加されたら、pipなどのツールを使ってパッケージをビルドし、インストール可能なPythonパッケージとして配布することができます。 " @@ -2011,30 +1990,28 @@ msgid "Why the pyproject.toml file is important" msgstr "pyproject.tomlファイルが重要な理由" #: ../../tutorials/create-python-package.md:535 -#, fuzzy msgid "" "The `pyproject.toml` file replaces some of the functionality of both the " "`setup.py` file and `setup.cfg` files. If you try to pip install a package " "with no `pyproject.toml`, you will get the following error:" msgstr "" -"`pyproject.toml` ファイルは `setup.py` ファイルと `setup.cfg` ファイルの機能の一部を置き換えます。 " -"`pyproject.toml` がないパッケージをpipインストールしようとすると、以下のエラーが発生します:" +"`pyproject.toml` ファイルは `setup.py` ファイルと `setup.cfg` " +"ファイルの機能の一部を置き換えます。`pyproject.toml` がないパッケージを pip でインストールしようとすると、次のエラーが発生します:" #: ../../tutorials/create-python-package.md:545 -#, fuzzy msgid "" "If your project already has a `setup.py` file, Hatch can be used to " "automatically create a `pyproject.toml`." msgstr "" -"プロジェクトが既に `setup.py` ファイルを定義している場合、ハッチを使用して自動的に `pyproject.toml` " -"を作成することができます。" +"プロジェクトに既に `setup.py` ファイルがある場合は、Hatch を使って `pyproject.toml` を自動的に作成できます。" #: ../../tutorials/create-python-package.md:546 -#, fuzzy msgid "" "See [Using Hatch to Migrate setup.py to a pyproject.toml](setup-py-to-" "pyproject-toml.md)" -msgstr "[Hatchを使ってsetup.pyをpyproject.tomlに移行する ](setup-py-to-pyproject-toml.md) を参照" +msgstr "" +"[Hatch を使って setup.py を pyproject.toml に移行する](setup-py-to-pyproject-toml.md) " +"を参照してください" #: ../../tutorials/create-python-package.md:561 msgid "" @@ -2054,9 +2031,8 @@ msgstr "" "一般的な誤解は、パッケージは幅広いオーディエンスにとって価値のある、生産可能なコードであるべきだというものです。これはPythonに蔓延している誤解ではないかもしれませんが、パッケージがどのようなもので構成されるかを簡単に説明することは役に立つでしょう。" #: ../../tutorials/create-python-package.md:564 -#, fuzzy msgid "They can use a codespace to complete this lesson too." -msgstr "**このレッスンを完了するために必要なもの**" +msgstr "このレッスンは codespace を使って完了することもできます。" #: ../../tutorials/create-python-package.md:568 msgid "" @@ -2068,16 +2044,22 @@ msgstr "" "タグを使ってパッケージのバージョン定義を自動化する方法と、パッケージのリリースについて学びます。" #: ../../tutorials/create-python-package.md:552 -msgid "[Carpentries shell lesson](https://swcarpentry.github.io/shell-novice/)" -msgstr "[Carpentries shell lesson](https://swcarpentry.github.io/shell-novice/)" +msgid "" +"[Carpentries shell lesson](https://swcarpentry.github.io/shell-novice/)" +msgstr "" +"[Carpentries shell lesson](https://swcarpentry.github.io/shell-novice/)" #: ../../tutorials/create-python-package.md:556 -msgid "[Numpy style docs](https://numpydoc.readthedocs.io/en/latest/format.html)" -msgstr "[Numpy style docs](https://numpydoc.readthedocs.io/en/latest/format.html)" +msgid "" +"[Numpy style docs](https://numpydoc.readthedocs.io/en/latest/format.html)" +msgstr "" +"[Numpy style docs](https://numpydoc.readthedocs.io/en/latest/format.html)" #: ../../tutorials/create-python-package.md:555 -msgid "[Google docstring style](https://google.github.io/styleguide/pyguide.html)" -msgstr "[Google docstring style](https://google.github.io/styleguide/pyguide.html)" +msgid "" +"[Google docstring style](https://google.github.io/styleguide/pyguide.html)" +msgstr "" +"[Google docstring style](https://google.github.io/styleguide/pyguide.html)" #: ../../tutorials/create-python-package.md:557 msgid "[epydoc](https://epydoc.sourceforge.net/epytext.html)" @@ -2092,48 +2074,49 @@ msgstr "" "docs](https://docs.python.org/3/tutorial/modules.html#packages)" #: ../../tutorials/develop-python-package-hatch.md:7 -#, fuzzy msgid "Use Hatch environments with your pure Python package" -msgstr "Pythonパッケージの要素" +msgstr "純粋な Python パッケージで Hatch 環境を使う" #: ../../tutorials/develop-python-package-hatch.md:13 msgid "" "[In a previous lesson](create-pure-python-package), you learned how to " -"create a Python package using the pyOpenSci copier template. In this " -"lesson, you'll learn how to manage and use the Hatch environments set up by" -" de **What you need to complete this lesson**" +"create a Python package using the pyOpenSci copier template. In this lesson," +" you'll learn how to manage and use the Hatch environments set up by de " +"**What you need to complete this lesson**" msgstr "" "[前のレッスン](create-pure-python-package)では、pyOpenSci コピーテンプレートを使用して Python " "パッケージを作成する方法を学びました。このレッスンでは、**このレッスンを完了するために必要なもの** によってセットアップされた Hatch " "環境を管理および使用する方法を学習します。" #: ../../tutorials/develop-python-package-hatch.md:16 -#, fuzzy msgid "" -"To complete this lesson, you will need a local Python environment and shell" -" on your computer. You will need to have created a package using our " +"To complete this lesson, you will need a local Python environment and shell " +"on your computer. You will need to have created a package using our " "pyOpenSci copier template. You should also have [Hatch installed](get-to-" "know-hatch)." msgstr "" -"このレッスンを完了するには、あなたのコンピュータにローカルのPython環境とシェルが必要です。 [Hatchのインストール](get-to-" -"know-hatch) も必要です。" +"このレッスンを完了するには、コンピュータにローカルの Python 環境とシェルが必要です。pyOpenSci copier " +"テンプレートを使ってパッケージを作成しておく必要があります。また、[Hatch がインストールされている](get-to-know-" +"hatch)必要があります。" #: ../../tutorials/develop-python-package-hatch.md:20 -#, fuzzy msgid "" "If you are using Windows or are not familiar with Shell, you may want to " -"check out the [Carpentries shell lesson](https://swcarpentry.github.io" -"/shell-novice/). Windows users will likely need to configure a tool such as" -" [GitBash](https://gitforwindows.org/) for any Shell and git-related steps." +"check out the [Carpentries shell " +"lesson](https://swcarpentry.github.io/shell-novice/). Windows users will " +"likely need to configure a tool such as " +"[GitBash](https://gitforwindows.org/) for any Shell and git-related steps." msgstr "" -"Windowsを使用している、またはシェルに精通していない場合は、Carpentriesのシェルレッスン[^shell-lesson] " -"をチェックアウトすることをお勧めします。 Windowsユーザーは、Shellやgitに関連するステップのためにツールを設定する必要があるでしょう。" +"Windows を使用している場合やシェルに慣れていない場合は、[Carpentries " +"のシェルレッスン](https://swcarpentry.github.io/shell-novice/) を参照するとよいでしょう。Windows " +"ユーザーは、シェルや git に関連するステップのために [GitBash](https://gitforwindows.org/) " +"などのツールを設定する必要があるでしょう。" #: ../../tutorials/develop-python-package-hatch.md:23 msgid "" -"Welcome to your shiny new package! This page will help you get started with" -" using [Hatch](get-to-know-hatch) to run tests, build and check your " -"package, and build your documentation." +"Welcome to your shiny new package! This page will help you get started with " +"using [Hatch](get-to-know-hatch) to run tests, build and check your package," +" and build your documentation." msgstr "" "ピカピカの新しいパッケージへようこそ!このページは、[Hatch](ハッチを知る) " "を使用してテストを実行し、パッケージをビルドおよびチェックし、ドキュメントをビルドする方法を開始するのに役立ちます。" @@ -2142,8 +2125,8 @@ msgstr "" #, python-brace-format msgid "" "To begin, have a look at the [pyproject.toml](pyproject-toml) file in your " -"package directory. This file contains the configuration for your package " -"and is written using {term}`TOML` format. Here's the TL&DR:" +"package directory. This file contains the configuration for your package and" +" is written using {term}`TOML` format. Here's the TL&DR:" msgstr "" "まず、パッケージ ディレクトリ内の [pyproject.toml](pyproject-toml) " "ファイルを見てください。このファイルにはパッケージの構成が含まれており、{term}`TOML` 形式を使用して書かれています。 " @@ -2158,14 +2141,15 @@ msgid "You can nest tables with double brackets like this`[[]]`" msgstr "このように二重括弧`[[]]`でテーブルをネストできます" #: ../../tutorials/develop-python-package-hatch.md:33 -msgid "Tables contain information about a certain thing that you want to configure." +msgid "" +"Tables contain information about a certain thing that you want to configure." msgstr "テーブルには、構成したい特定の内容に関する情報が含まれています。" #: ../../tutorials/develop-python-package-hatch.md:36 msgid "" -"You can configure Hatch to use UV by default for environment management. UV" -" is a package manager built in Rust. It is fast and will significantly " -"speed up environment creation." +"You can configure Hatch to use UV by default for environment management. UV " +"is a package manager built in Rust. It is fast and will significantly speed " +"up environment creation." msgstr "" "環境管理にデフォルトで UV を使用するように Hatch を構成できます。 UV は Rust に組み込まれたパッケージ " "マネージャーです。これは高速であり、環境の作成を大幅にスピードアップします。" @@ -2195,8 +2179,8 @@ msgstr "" #: ../../tutorials/develop-python-package-hatch.md:59 msgid "" -"Hatch allows you to configure and run environments and scripts similar to a" -" workflow tool like tox or nox." +"Hatch allows you to configure and run environments and scripts similar to a " +"workflow tool like tox or nox." msgstr "Hatch を使用すると、tox や nox などのワークフロー ツールと同様の環境とスクリプトを構成して実行できます。" #: ../../tutorials/develop-python-package-hatch.md:62 @@ -2217,8 +2201,8 @@ msgstr "" #: ../../tutorials/develop-python-package-hatch.md:68 msgid "" -"Below is the Hatch environment used to build and test your package. Anytime" -" you see: `tool.hatch.envs.test`, it tells Hatch:" +"Below is the Hatch environment used to build and test your package. Anytime " +"you see: `tool.hatch.envs.test`, it tells Hatch:" msgstr "" "以下は、パッケージのビルドとテストに使用される Hatch 環境です。 「tool.hatch.envs.test」が表示されるたびに、Hatch " "に次のように指示します。" @@ -2240,16 +2224,15 @@ msgid "" msgstr "環境の「宣言」の下に、その環境にあるべきものの定義が表示されます。" #: ../../tutorials/develop-python-package-hatch.md:77 -#, fuzzy msgid "A Hatch environment to build your package" -msgstr "パッケージのインストール" +msgstr "パッケージをビルドするための Hatch 環境" #: ../../tutorials/develop-python-package-hatch.md:79 #, python-brace-format msgid "" "Below is a Hatch environment definition that you will find in your new " -"project's [pyproject.toml](pyproject-toml) file. It is set up to build your" -" package's {term}`Distribution files` ({term}`Source distribution (sdist)` " +"project's [pyproject.toml](pyproject-toml) file. It is set up to build your " +"package's {term}`Distribution files` ({term}`Source distribution (sdist)` " "and {term}`Wheel (.whl)`)." msgstr "" "以下は、新しいプロジェクトの [pyproject.toml](pyproject-toml) ファイルにある Hatch " @@ -2261,24 +2244,23 @@ msgstr "" msgid "" "Notice that the environment definition declares two {term}`Dependencies`: " "`pip` and `twine`, which the environment needs to run successfully. This " -"declaration is similar to declaring dependencies for your package at the " -"top of your [pyproject.toml](pyproject-toml)." +"declaration is similar to declaring dependencies for your package at the top" +" of your [pyproject.toml](pyproject-toml)." msgstr "" "環境定義では、環境が正常に実行されるために必要な 2 つの {term}`Dependency`、`pip` と `twine` " "が宣言されていることに注意してください。この宣言は、[pyproject.toml](pyproject-toml) " "の先頭でパッケージの依存関係を宣言するのと似ています。" #: ../../tutorials/develop-python-package-hatch.md:99 -#, fuzzy msgid "Hatch will install your package in editable mode by default" -msgstr "インタラクティブな開発のために編集可能モードでパッケージをインストールする方法" +msgstr "Hatch はデフォルトでパッケージを編集可能モードでインストールします" #: ../../tutorials/develop-python-package-hatch.md:100 msgid "" "Notice the `detached = True` flag at the bottom of the environment. By " "default, hatch will install your package in editable mode into any " -"environment it creates. `detached=True` tells it not to install your " -"package into the environment." +"environment it creates. `detached=True` tells it not to install your package" +" into the environment." msgstr "" "環境の下部にある「detached = True」フラグに注目してください。デフォルトでは、hatch " "は作成した環境にパッケージを編集可能モードでインストールします。 `detached=True` " @@ -2289,11 +2271,11 @@ msgid "Hatch scripts" msgstr "Hatchスクリプト" #: ../../tutorials/develop-python-package-hatch.md:106 -#, fuzzy, python-brace-format +#, python-brace-format msgid "" -"Hatch supports defining {term}`Script (Hatch)` commands that run in " -"specific Hatch environments." -msgstr "Hatchは特定のHatch環境で実行されるスクリプトの定義をサポートしています。" +"Hatch supports defining {term}`Script (Hatch)` commands that run in specific" +" Hatch environments." +msgstr "Hatch は、特定の Hatch 環境で実行される {term}`スクリプト (Hatch)` コマンドの定義をサポートしています。" #: ../../tutorials/develop-python-package-hatch.md:109 msgid "" @@ -2333,22 +2315,23 @@ msgid "" msgstr "以下は、実行される 3 つのシェル コマンドを定義する `build.scripts` テーブルです。" #: ../../tutorials/develop-python-package-hatch.md:122 -msgid "Below is the `build.scripts` table that defines 3 shell commands to be run:" -msgstr "`twine check dist/*` #twine を使用して、パッケージの sdist (ソース配布) が正常であることを確認します。" +msgid "" +"Below is the `build.scripts` table that defines 3 shell commands to be run:" +msgstr "" +"`twine check dist/*` #twine を使用して、パッケージの sdist (ソース配布) が正常であることを確認します。" #: ../../tutorials/develop-python-package-hatch.md:124 msgid "`pip check` # verifies your dependencies" msgstr "`pip check` # 依存関係を検証します" #: ../../tutorials/develop-python-package-hatch.md:125 -#, fuzzy msgid "`hatch build --clean` # build your packages distribution files." -msgstr "ステップ 2: パッケージのsdistとwheelディストリビューションをビルドする" +msgstr "`hatch build --clean` # パッケージの配布ファイルをビルドします。" #: ../../tutorials/develop-python-package-hatch.md:126 msgid "" -"`twine check dist/*` # use twine to check that your package's sdist (source" -" distribution) is ok." +"`twine check dist/*` # use twine to check that your package's sdist (source " +"distribution) is ok." msgstr "" "Hatch はデフォルトで、作成した仮想環境 (venv) にパッケージを編集可能モードでインストールします。 `detached=True` " "が設定されている場合、そのステップはスキップされます。" @@ -2356,16 +2339,15 @@ msgstr "" #: ../../tutorials/develop-python-package-hatch.md:140 msgid "" "Hatch, by default, will install your package in editable mode into any " -"virtual environment (venv) that it creates. If `detached=True` is set, then" -" it will skip that step." +"virtual environment (venv) that it creates. If `detached=True` is set, then " +"it will skip that step." msgstr "" "デフォルトでは、Hatchはパッケージを編集可能なモードで、作成した任意の仮想環境( venv )にインストールします。「detached = " "True」が設定されている場合、そのステップはスキップされます。" #: ../../tutorials/develop-python-package-hatch.md:143 -#, fuzzy msgid "Running the build script" -msgstr "テストの実行" +msgstr "ビルドスクリプトの実行" #: ../../tutorials/develop-python-package-hatch.md:145 msgid "You can run the build script and build your package like this:" @@ -2391,19 +2373,17 @@ msgstr "環境で `pip list` を実行すると、twineが入っています:" #: ../../tutorials/develop-python-package-hatch.md:163 #: ../../tutorials/develop-python-package-hatch.md:221 -#, fuzzy msgid "To leave the environment use:" -msgstr "環境設定" +msgstr "環境を離れるには次を使います:" #: ../../tutorials/develop-python-package-hatch.md:169 -#, fuzzy msgid "Hatch, testing, and matrix environments" -msgstr "Hatchと環境" +msgstr "Hatch、テスト、マトリックス環境" #: ../../tutorials/develop-python-package-hatch.md:171 msgid "" -"It's always helpful to run your tests on the Python versions that you " -"expect your users to be using. In this section, you'll explore the test " +"It's always helpful to run your tests on the Python versions that you expect" +" your users to be using. In this section, you'll explore the test " "environment setup in the pyOpenSci template package." msgstr "" "ユーザーが使用すると予想される Python バージョンでテストを実行すると、常に役立ちます。このセクションでは、pyOpenSci テンプレート " @@ -2416,9 +2396,10 @@ msgstr "以下に、Hatch環境テストテーブルが表示されます。" #: ../../tutorials/develop-python-package-hatch.md:175 msgid "" "Similar to the above build environment, the environment below defines the " -"dependencies that Hatch needs to install into the test environment " -"(required to run your tests)." -msgstr "上記のビルド環境と同様に、以下の環境は、Hatch がテスト環境にインストールする必要がある (テストを実行するために必要な) 依存関係を定義します。" +"dependencies that Hatch needs to install into the test environment (required" +" to run your tests)." +msgstr "" +"上記のビルド環境と同様に、以下の環境は、Hatch がテスト環境にインストールする必要がある (テストを実行するために必要な) 依存関係を定義します。" #: ../../tutorials/develop-python-package-hatch.md:189 msgid "Your test environment has a matrix associated with it" @@ -2426,18 +2407,18 @@ msgstr "テスト環境にはマトリックスが関連付けられています #: ../../tutorials/develop-python-package-hatch.md:191 msgid "" -"If the environment has a matrix associated with it, that tells Hatch to run" -" the tests across different Python versions. Below, you are running tests " -"on versions 3.10 through 3.13." +"If the environment has a matrix associated with it, that tells Hatch to run " +"the tests across different Python versions. Below, you are running tests on " +"versions 3.10 through 3.13." msgstr "" -"環境にマトリックスが関連付けられている場合は、異なる Python バージョン間でテストを実行するように Hatch " -"に指示します。以下では、バージョン 3.10 ~ 3.13 でテストを実行しています。" +"環境にマトリックスが関連付けられている場合は、異なる Python バージョン間でテストを実行するように Hatch に指示します。以下では、バージョン" +" 3.10 ~ 3.13 でテストを実行しています。" #: ../../tutorials/develop-python-package-hatch.md:194 msgid "" "Hatch by default will install Python [using " -"UV](https://docs.astral.sh/uv/guides/install-python/) both when you install" -" Hatch and also when you declare a matrix environment like the one below" +"UV](https://docs.astral.sh/uv/guides/install-python/) both when you install " +"Hatch and also when you declare a matrix environment like the one below" msgstr "" "Hatch は、Hatch をインストールするときと、以下のようなマトリックス環境を宣言するときの両方で、デフォルトで Python [UV " "を使用して](https://docs.astral.sh/uv/guides/install-python/) をインストールします。" @@ -2446,8 +2427,8 @@ msgstr "" msgid "" "In your project, if you run `hatch shell test`, you will see the output " "below. This means that because there is a matrix of Python versions to " -"choose from, you need to select the environment with the Python version you" -" want to use." +"choose from, you need to select the environment with the Python version you " +"want to use." msgstr "" "プロジェクトで「hatch Shell test」を実行すると、以下の出力が表示されます。これは、選択できる Python " "バージョンのマトリックスがあるため、使用する Python バージョンが含まれる環境を選択する必要があることを意味します。" @@ -2459,9 +2440,8 @@ msgid "" msgstr "使用する Python テスト環境を選択し、次のように入力します (これにより、Python 3.13 が開きます)。" #: ../../tutorials/develop-python-package-hatch.md:227 -#, fuzzy msgid "Hatch scripts for tests" -msgstr "`hatch publish -r test` を実行します" +msgstr "テスト用の Hatch スクリプト" #: ../../tutorials/develop-python-package-hatch.md:229 msgid "" @@ -2477,8 +2457,8 @@ msgid "" "Notice that below, the script has a script called `run`. And that script " "runs pytest with a set of arguments, including generating code coverage." msgstr "" -"以下のスクリプトには「run」というスクリプトがあることに注意してください。そして、そのスクリプトは、コード " -"カバレッジの生成を含む一連の引数を指定して pytest を実行します。" +"以下のスクリプトには「run」というスクリプトがあることに注意してください。そして、そのスクリプトは、コード カバレッジの生成を含む一連の引数を指定して" +" pytest を実行します。" #: ../../tutorials/develop-python-package-hatch.md:239 msgid "To run this script in your terminal, use the syntax:" @@ -2489,18 +2469,18 @@ msgid "`hatch run test:run`" msgstr "`hatch run test:run`" #: ../../tutorials/develop-python-package-hatch.md:243 -#, fuzzy msgid "Reminder" -msgstr "おすすめ" +msgstr "リマインダー" #: ../../tutorials/develop-python-package-hatch.md:246 -msgid "`hatch run`: this calls hatch and tells it that it will be running a command" +msgid "" +"`hatch run`: this calls hatch and tells it that it will be running a command" msgstr "`hatch run`: これはハッチを呼び出し、コマンドを実行することを伝えます。" #: ../../tutorials/develop-python-package-hatch.md:247 msgid "" -"`test:run` defines the environment you want it to run (`test`) in this " -"case, and the script is defined as `run`" +"`test:run` defines the environment you want it to run (`test`) in this case," +" and the script is defined as `run`" msgstr "この場合、`test:run` は実行する環境 (`test`) を定義し、スクリプトは `run` として定義されます。" #: ../../tutorials/develop-python-package-hatch.md:250 @@ -2508,8 +2488,8 @@ msgid "" "If you have a matrix setup for tests, then it will both install the needed " "Python version using UV and run your tests in each version of the Python " "environment. In this case, since there are four Python versions in the " -"environment, your tests will be run four times, once in each Python version" -" listed in the matrix table." +"environment, your tests will be run four times, once in each Python version " +"listed in the matrix table." msgstr "" "テスト用のマトリックス セットアップがある場合は、UV を使用して必要な Python バージョンをインストールし、Python " "環境の各バージョンでテストを実行します。この場合、環境には 4 つの Python バージョンがあるため、テストはマトリックス " @@ -2521,9 +2501,10 @@ msgstr "Hatch環境でドキュメントをビルドする" #: ../../tutorials/develop-python-package-hatch.md:282 msgid "" -"Finally, you can build and serve your documentation using hatch. To build a" -" static HTML version of the docs run:" -msgstr "最後に、ハッチを使用してドキュメントを構築して提供できます。静的 HTML バージョンのドキュメントを構築するには、次のコマンドを実行します。" +"Finally, you can build and serve your documentation using hatch. To build a " +"static HTML version of the docs run:" +msgstr "" +"最後に、ハッチを使用してドキュメントを構築して提供できます。静的 HTML バージョンのドキュメントを構築するには、次のコマンドを実行します。" #: ../../tutorials/develop-python-package-hatch.md:285 msgid "`hatch run docs:build`" @@ -2552,35 +2533,35 @@ msgid "Get to Know Hatch" msgstr "Hatchを知る" #: ../../tutorials/get-to-know-hatch.md:8 -#, fuzzy msgid "" "Our Python packaging tutorials use Hatch. While there are [many great " "packaging tools](/package-structure-code/python-package-build-tools) out " "there, we have selected Hatch because:" msgstr "" -"私たちの Python パッケージングチュートリアルは [Hatch](https://hatch.pypa.io/latest/) " -"というツールを使っています。 世の中には [たくさんの素晴らしいパッケージングツール](/package-structure-code/python-" -"package-build-tools) があります、私たちはHatchを選ぶ理由は:" +"私たちの Python パッケージングチュートリアルでは Hatch を使用しています。[多くの優れたパッケージングツール](/package-" +"structure-code/python-package-build-tools) がありますが、Hatch を選んだ理由は次のとおりです:" #: ../../tutorials/get-to-know-hatch.md:13 msgid "" -"It is an end-to-end tool that supports most of the steps required to create" -" a quality Python package. Beginners will have fewer tools to learn if they" -" use Hatch." -msgstr "高品質なPythonパッケージを作成するために必要なステップのほとんどをサポートするエンドツーエンドのツールです。Hatchを使えば、初心者は覚えるツールが少なくて済みます。" +"It is an end-to-end tool that supports most of the steps required to create " +"a quality Python package. Beginners will have fewer tools to learn if they " +"use Hatch." +msgstr "" +"高品質なPythonパッケージを作成するために必要なステップのほとんどをサポートするエンドツーエンドのツールです。Hatchを使えば、初心者は覚えるツールが少なくて済みます。" #: ../../tutorials/get-to-know-hatch.md:16 -#, fuzzy, python-brace-format +#, python-brace-format msgid "" "It supports different {term}`Build backend` options if you ever need to " "compile code in other languages." -msgstr "他の言語のコードをコンパイルする必要がある場合は、異なるビルドバックエンドをサポートします。" +msgstr "他の言語のコードをコンパイルする必要がある場合に備えて、異なる {term}`ビルドバックエンド` オプションをサポートしています。" #: ../../tutorials/get-to-know-hatch.md:18 msgid "" "As a community, pyOpenSci has decided that Hatch is a user-friendly tool " "that supports many different scientific Python use cases." -msgstr "コミュニティとして、pyOpenSciはHatchが多くの異なる科学的なPythonの使用例をサポートするユーザーフレンドリーなツールであると決定しました。" +msgstr "" +"コミュニティとして、pyOpenSciはHatchが多くの異なる科学的なPythonの使用例をサポートするユーザーフレンドリーなツールであると決定しました。" #: ../../tutorials/get-to-know-hatch.md:21 msgid "" @@ -2612,8 +2593,8 @@ msgstr "Hatchのインストール" #: ../../tutorials/get-to-know-hatch.md:36 msgid "" -"To begin, follow the operating-system-specific instructions below to " -"install Hatch." +"To begin, follow the operating-system-specific instructions below to install" +" Hatch." msgstr "まず、以下のオペレーティングシステム別の説明に従ってHatchをインストールしてください。" #: ../../tutorials/get-to-know-hatch.md @@ -2629,12 +2610,12 @@ msgstr "[こちら](https://hatch.pypa.io/latest/install/#installers) の指示 #: ../../tutorials/get-to-know-hatch.md:45 msgid "" "Download the latest GUI installer for MAC [hatch-" -"universal.pkg](https://github.com/pypa/hatch/releases/latest/download" -"/hatch-universal.pkg)." +"universal.pkg](https://github.com/pypa/hatch/releases/latest/download/hatch-" +"universal.pkg)." msgstr "" "MAC用最新GUIインストーラー [hatch-" -"universal.pkg](https://github.com/pypa/hatch/releases/latest/download" -"/hatch-universal.pkg) をダウンロードしてください。" +"universal.pkg](https://github.com/pypa/hatch/releases/latest/download/hatch-" +"universal.pkg) をダウンロードしてください。" #: ../../tutorials/get-to-know-hatch.md:46 msgid "Run the installer and follow the setup instructions." @@ -2657,7 +2638,8 @@ msgstr "" "[hatch-x64.msi](https://github.com/pypa/hatch/releases/latest/download/hatch-x64.msi)" #: ../../tutorials/get-to-know-hatch.md:55 -msgid "Run your downloaded installer file and follow the on-screen instructions." +msgid "" +"Run your downloaded installer file and follow the on-screen instructions." msgstr "ダウンロードしたインストーラーファイルを実行し、画面の指示に従ってください。" #: ../../tutorials/get-to-know-hatch.md @@ -2674,28 +2656,29 @@ msgstr "" "[Hatchのインストールドキュメント](https://hatch.pypa.io/latest/install/) をご覧ください。" #: ../../tutorials/get-to-know-hatch.md:75 -#, fuzzy, python-brace-format +#, python-brace-format msgid "" "Hatch can also be installed directly using {term}`pip` or " "[conda](https://hatch.pypa.io/latest/install/#conda). We encourage you to " "follow the instructions above because we have found that the Hatch " "installers for Windows and Mac are the easiest and most efficient." msgstr "" -"Hatchは [pip](https://hatch.pypa.io/latest/install/#pip) や " -"[conda](https://hatch.pypa.io/latest/install/#conda) " -"を使って直接インストールすることもできる。WindowsとMac用のHatchインストーラーが最も簡単で効率的であることがわかりましたので、上記の指示に従うことをお勧めします。" +"Hatch は {term}`pip` や [conda](https://hatch.pypa.io/latest/install/#conda) " +"を使って直接インストールすることもできます。Windows と Mac 用の Hatch " +"インストーラが最も簡単で効率的だとわかったので、上記の手順に従うことをお勧めします。" #: ../../tutorials/get-to-know-hatch.md:80 msgid "" "Our Linux users have found success installing Hatch with pipx if they " "already use apt install." -msgstr "私たちのLinuxユーザーは、すでにapt installを使っている場合、pipxを使ってHatchをインストールすることに成功しています。" +msgstr "" +"私たちのLinuxユーザーは、すでにapt installを使っている場合、pipxを使ってHatchをインストールすることに成功しています。" #: ../../tutorials/get-to-know-hatch.md:83 msgid "" -"Both approaches (using a graphical installer on Windows/Mac and pipx) " -"ensure that you have Hatch installed globally. A global install means that " -"Hatch is available across all of your Python environments on your computer." +"Both approaches (using a graphical installer on Windows/Mac and pipx) ensure" +" that you have Hatch installed globally. A global install means that Hatch " +"is available across all of your Python environments on your computer." msgstr "" "どちらのアプローチ(Windows/Macでグラフィカルインストーラを使う方法とpipxを使う方法)も、Hatchがグローバルにインストールされていることを保証します。" " グローバルインストールとは、コンピュータ上の全てのPython環境でHatchが利用できることを意味します。" @@ -2715,7 +2698,8 @@ msgstr "上記のインストール手順が完了したら、ターミナルを msgid "" "*Note the version number output of `hatch --version` will likely be " "different from the output above in this tutorial.*" -msgstr "* `hatch --version` で出力されるバージョン番号は、このチュートリアルの上記の出力とは異なる可能性が高いことに注意してください。*" +msgstr "" +"* `hatch --version` で出力されるバージョン番号は、このチュートリアルの上記の出力とは異なる可能性が高いことに注意してください。*" #: ../../tutorials/get-to-know-hatch.md:101 msgid "Configure Hatch" @@ -2764,8 +2748,8 @@ msgstr "`hatch config explore`" #: ../../tutorials/get-to-know-hatch.md:120 msgid "" -"This will open up a directory window that allows you to double-click on the" -" file and open it in your favorite text editor." +"This will open up a directory window that allows you to double-click on the " +"file and open it in your favorite text editor." msgstr "ディレクトリウィンドウが開き、ファイルをダブルクリックして好きなテキストエディタで開くことができます。" #: ../../tutorials/get-to-know-hatch.md:123 @@ -2779,15 +2763,14 @@ msgid "Step 2 - update your email and name" msgstr "ステップ2 - Eメールと名前を更新する" #: ../../tutorials/get-to-know-hatch.md:133 -#, fuzzy msgid "" -"Once the file is open, update the [template] table of the `config.toml` " -"file with your name and email. This information will be used in any " -"[pyproject.toml](pyproject-toml) metadata files that you create using " -"Hatch." +"Once the file is open, update the [template] table of the `config.toml` file" +" with your name and email. This information will be used in any " +"[pyproject.toml](pyproject-toml) metadata files that you create using Hatch." msgstr "" -"ファイルを開いたら、 `config.toml` ファイルの[template]テーブルをあなたの名前とEメールで更新します。 " -"この情報は、Hatchを使用して作成した `pyproject.toml` メタデータファイルに使用されます。" +"ファイルを開いたら、`config.toml` ファイルの [template] " +"テーブルをあなたの名前とメールアドレスで更新します。この情報は、Hatch を使って作成する [pyproject.toml](pyproject-" +"toml) メタデータファイルに使用されます。" #: ../../tutorials/get-to-know-hatch.md:144 msgid "Step 3" @@ -2812,17 +2795,15 @@ msgid "Your `config.toml` file should look something like the one below." msgstr "あなたの `config.toml` ファイルは以下のようになるはずです。" #: ../../tutorials/get-to-know-hatch.md:191 -#, fuzzy msgid "" "Also notice that the default license option is MIT. While we will discuss " -"license in more detail in a later lesson, the MIT license is the " -"recommended permissive license from " -"[choosealicense.com](https://choosealicense.com/) and as such we will use " -"it for this tutorial series." +"license in more detail in a later lesson, the MIT license is the recommended" +" permissive license from [choosealicense.com](https://choosealicense.com/) " +"and as such we will use it for this tutorial series." msgstr "" -"また、デフォルトのライセンスオプションがMITであることにも注目してください。 ライセンスについては後のレッスンで詳しく説明しますが、 " -"MITライセンスは [choosealicense.com](https://www.choosealicense.com) " -"が推奨する寛容なライセンスです、そしてこのチュートリアルシリーズではこれを使用します。" +"また、デフォルトのライセンスオプションが MIT であることにも注目してください。ライセンスについては後のレッスンで詳しく説明しますが、MIT " +"ライセンスは [choosealicense.com](https://choosealicense.com/) " +"が推奨するパーミッシブなライセンスであり、このチュートリアルシリーズでもこれを使用します。" #: ../../tutorials/get-to-know-hatch.md:197 msgid "You are of course welcome to select another license." @@ -2830,8 +2811,8 @@ msgstr "もちろん、他のライセンスを選択することも歓迎しま #: ../../tutorials/get-to-know-hatch.md:200 msgid "" -"I think we'd need the SPDX license options here if they want to chose bsd-3" -" for instance" +"I think we'd need the SPDX license options here if they want to chose bsd-3 " +"for instance" msgstr "例えばbsd-3を選びたいのであれば、SPDXライセンスのオプションが必要だと思います。" #: ../../tutorials/get-to-know-hatch.md:203 @@ -2874,11 +2855,10 @@ msgstr "他のツールとの比較" #: ../../tutorials/get-to-know-hatch.md:220 msgid "" "[We compared Hatch to several of the other popular packaging tools in the " -"ecosystem including flit, pdm and poetry. Learn more here](package-" -"features)" +"ecosystem including flit, pdm and poetry. Learn more here](package-features)" msgstr "" -"[私たちはHatchを、flit、pdm、poetryなど、エコシステムで人気のある他のパッケージングツールと比較しました。 詳細はこちら" -"](package-features)" +"[私たちはHatchを、flit、pdm、poetryなど、エコシステムで人気のある他のパッケージングツールと比較しました。 " +"詳細はこちら](package-features)" #: ../../tutorials/get-to-know-hatch.md:223 msgid "[More on Hatch here](hatch)" @@ -2891,8 +2871,8 @@ msgstr "Hatchが提供するいくつかの機能" #: ../../tutorials/get-to-know-hatch.md:227 msgid "" "It will convert metadata stored in a `setup.py` or `setup.cfg` file to a " -"pyproject.toml file for you (see [Migrating setup.py to pyproject.toml " -"using Hatch](setup-py-to-pyproject-toml.md ))" +"pyproject.toml file for you (see [Migrating setup.py to pyproject.toml using" +" Hatch](setup-py-to-pyproject-toml.md ))" msgstr "" "これは `setup.py` または `setup.cfg` ファイルに保存されたメタデータを pyproject.toml ファイルに変換します。 " "([Hatchを使用してsetup.pyをpyproject.tomlに移行する](setup-py-to-pyproject-toml.md ) " @@ -2900,8 +2880,8 @@ msgstr "" #: ../../tutorials/get-to-know-hatch.md:229 msgid "" -"It will help you by storing configuration information for publishing to " -"PyPI after you've entered it once." +"It will help you by storing configuration information for publishing to PyPI" +" after you've entered it once." msgstr "PyPIに公開するための設定情報を、一度入力した後に保存してくれます。" #: ../../tutorials/get-to-know-hatch.md:231 @@ -2918,7 +2898,8 @@ msgid "" "installable using Hatch." msgstr "次のレッスンでは、Hatchを使ってコードをパッケージ化し、インストール可能にする方法を学びます。" -#: ../../tutorials/intro.md:34 ../../tutorials/setup-py-to-pyproject-toml.md:36 +#: ../../tutorials/intro.md:34 +#: ../../tutorials/setup-py-to-pyproject-toml.md:36 msgid "Get to know Hatch" msgstr "Hatchを知る" @@ -2935,9 +2916,8 @@ msgid "What is a Python package?" msgstr "Pythonパッケージとは何ですか?" #: ../../tutorials/intro.md:42 -#, fuzzy msgid "Create a Python package" -msgstr "なぜPythonパッケージを作るのか?" +msgstr "Python パッケージの作成" #: ../../tutorials/intro.md:42 msgid "Publish to PyPI" @@ -2958,9 +2938,8 @@ msgid "Create and publish a Python Package" msgstr "Pythonパッケージの作成と公開" #: ../../tutorials/intro.md:53 -#, fuzzy msgid "Develop package (Hatch environments)" -msgstr "Pythonのパッケージと環境" +msgstr "パッケージの開発 (Hatch 環境)" #: ../../tutorials/intro.md:53 msgid "Add README file" @@ -2999,20 +2978,20 @@ msgid "_A start to finish beginner-friendly tutorial_" msgstr "_初心者にやさしいチュートリアル_" #: ../../tutorials/intro.md:11 -#, fuzzy, python-brace-format +#, python-brace-format msgid "" "Welcome to the pyOpenSci Python packaging tutorial series. The lessons on " "the upcoming pages walk you through the core steps needed to create a " "{term}`Python package`." msgstr "" -"pyOpenSci Pythonパッケージングチュートリアルシリーズへようこそ。 " -"これからのページのレッスンは、Pythonパッケージを作成するために必要なコアステップを説明します。" +"pyOpenSci Python パッケージングチュートリアルシリーズへようこそ。以降のページのレッスンでは、{term}`Python パッケージ` " +"を作成するために必要な中核的なステップを説明します。" #: ../../tutorials/intro.md:17 msgid "" "Diagram showing the lessons in our packaging tutorial. There are 6 total - " -"what is a Python package, make code pip installable, publish your package " -"to PyPI, add a README and LICENSE file, add metadata for PyPI and finally " +"what is a Python package, make code pip installable, publish your package to" +" PyPI, add a README and LICENSE file, add metadata for PyPI and finally " "publish to conda forge." msgstr "" "パッケージングチュートリアルのレッスンを示す図。Pythonパッケージとは何か、コードをpipでインストール可能にする、パッケージをPyPIに公開する、READMEとLICENSEファイルを追加する、PyPI用のメタデータを追加する、最後にconda" @@ -3020,8 +2999,8 @@ msgstr "" #: ../../tutorials/intro.md:19 ../../tutorials/trusted-publishing.md:258 msgid "" -"This lesson is the first in a series of lessons to help you get started " -"with Python packaging." +"This lesson is the first in a series of lessons to help you get started with" +" Python packaging." msgstr "このレッスンは、Pythonのパッケージングを始めるのに役立つ一連のレッスンの最初のものです。" #: ../../tutorials/intro.md:22 @@ -3039,18 +3018,15 @@ msgstr "" "しかし、Pythonパッケージの作成に関わるステップをよりよく理解することに興味があるのであれば、このコンテンツはまだ価値があるでしょう。" #: ../../tutorials/intro.md:29 -#, fuzzy msgid "" "In this series you will learn about the core elements that you need to " "publish your package to [PyPI](publish-pypi)." -msgstr "" -"このシリーズでは、 [Python Package Index (PyPI)](https://pypi.org/) " -"にパッケージを公開するために必要なコアな要素について学びます。" +msgstr "このシリーズでは、パッケージを [PyPI](publish-pypi) に公開するために必要な中核的な要素について学びます。" #: ../../tutorials/intro.md:32 msgid "" -"In the second series, you will learn about infrastructure and documentation" -" needed to support package maintenance." +"In the second series, you will learn about infrastructure and documentation " +"needed to support package maintenance." msgstr "第2シリーズでは、パッケージのメンテナンスをサポートするために必要なインフラとドキュメントについて学びます。" #: ../../tutorials/intro.md:77 ../../tutorials/publish-conda-forge.md:22 @@ -3082,33 +3058,34 @@ msgstr "一般化可能なコードと特定の科学的アプリケーション #: ../../tutorials/intro.md:91 msgid "" -"At a high level, you can think about a Python package as a toolbox that you" -" can use to perform various tasks." +"At a high level, you can think about a Python package as a toolbox that you " +"can use to perform various tasks." msgstr "高レベルでは、Pythonパッケージは、様々なタスクを実行するために使用できるツールボックスと考えることができます。" #: ../../tutorials/intro.md:94 -#, fuzzy, python-brace-format +#, python-brace-format msgid "" "A Python package is basically a directory with a specific file structure. " "Within the package directory structure, there are {term}`Module` objects " -"which are files that end in `.py` (the same extension you'd see in a Python" -" script). These modules allow you to group and structure your Python code. " -"Each module contains functions and classes, that you can think about as the" -" tools in your toolbox." +"which are files that end in `.py` (the same extension you'd see in a Python " +"script). These modules allow you to group and structure your Python code. " +"Each module contains functions and classes, that you can think about as the " +"tools in your toolbox." msgstr "" -"Pythonパッケージは基本的に特定のファイル構造を持つディレクトリです。 パッケージのディレクトリ構造の中に、`.py` " -"で終わるファイル(Pythonスクリプトで見られるのと同じ拡張子)のモジュールがあります。これらのモジュールによって、Pythonコードをグループ化し、構造化することができます。各モジュールには関数とクラスが含まれており、それらはあなたの道具箱の中の道具だと考えることができます。" +"Python パッケージは基本的に、特定のファイル構造を持つディレクトリです。パッケージのディレクトリ構造の中には、`.py` " +"で終わるファイル(Python スクリプトと同じ拡張子)である {term}`モジュール` があります。これらのモジュールによって、Python " +"コードをグループ化し構造化できます。各モジュールには関数とクラスが含まれており、それらは道具箱の中の道具だと考えることができます。" #: ../../tutorials/intro.md:103 msgid "" -"Diagram showing a sketch of a toolbox filled with different tools including" -" a hammer and a saw." +"Diagram showing a sketch of a toolbox filled with different tools including " +"a hammer and a saw." msgstr "ハンマーやノコギリなど、さまざまな工具が入った工具箱のスケッチを示す図。" #: ../../tutorials/intro.md:105 msgid "" -"You can think about a package as a toolbox filled with coding tools. A tool" -" may be a function or a class. Each tool does a specific thing well." +"You can think about a package as a toolbox filled with coding tools. A tool " +"may be a function or a class. Each tool does a specific thing well." msgstr "" "パッケージとは、コーディングツールが詰まった道具箱のようなものだと考えることができます。 ツールは関数かもしれないし、クラスかもしれません。 " "それぞれのツールは特定のことをよくします。" @@ -3121,17 +3098,19 @@ msgstr "Pythonパッケージはインストール可能" msgid "" "A package is installable, which means that you can add the functionality " "within the package's code to any Python environment and import that " -"functionality like you would import core scientific Python packages such as" -" NumPy or Matplotlib." -msgstr "パッケージはインストール可能で、パッケージのコード内の機能をどのPython環境にも追加でき、NumPyやMatplotlibのような科学的なPythonのコアパッケージをインポートするように、その機能をインポートできます。" +"functionality like you would import core scientific Python packages such as " +"NumPy or Matplotlib." +msgstr "" +"パッケージはインストール可能で、パッケージのコード内の機能をどのPython環境にも追加でき、NumPyやMatplotlibのような科学的なPythonのコアパッケージをインポートするように、その機能をインポートできます。" #: ../../tutorials/intro.md:121 msgid "" -"Installing a package into an environment makes it easier to manage and " -"reuse your code across different projects. Structuring your code as a " -"package is the first step you need to take so you can share the tools in " -"the toolbox you've created and let others build with it." -msgstr "パッケージを環境にインストールすることで、異なるプロジェクト間でのコードの管理と再利用が容易になる。あなたのコードをパッケージとして構造化することは、あなたが作成したツールボックスのツールを共有し、他の人がそれを使って構築できるようにするために必要な最初のステップです。" +"Installing a package into an environment makes it easier to manage and reuse" +" your code across different projects. Structuring your code as a package is " +"the first step you need to take so you can share the tools in the toolbox " +"you've created and let others build with it." +msgstr "" +"パッケージを環境にインストールすることで、異なるプロジェクト間でのコードの管理と再利用が容易になる。あなたのコードをパッケージとして構造化することは、あなたが作成したツールボックスのツールを共有し、他の人がそれを使って構築できるようにするために必要な最初のステップです。" #: ../../tutorials/intro.md:126 msgid "Why create a Python package?" @@ -3153,23 +3132,23 @@ msgstr "" "これにより、ローカルとクラウドの両方のワークフローに関数やクラスをインポートすることができます。" #: ../../tutorials/intro.md:131 -#, fuzzy, python-brace-format +#, python-brace-format msgid "" -"**Share your code:** If you publish a package on a public repository such " -"as PyPI or conda-forge, your package can be installed on any machine using " +"**Share your code:** If you publish a package on a public repository such as" +" PyPI or conda-forge, your package can be installed on any machine using " "{term}`pip` or conda with a single command." msgstr "" -"**Share your code:** PyPIやcondaのような公開リポジトリでパッケージを公開する場合、 " -"あなたのパッケージは、pipやcondaを使ってどのマシンにもコマンドひとつでインストールできます。" +"**コードの共有:** PyPI や conda-forge などの公開リポジトリでパッケージを公開すると、{term}`pip` や conda " +"を使ってコマンド一つでどのマシンにもパッケージをインストールできます。" #: ../../tutorials/intro.md:134 msgid "" "**Build community around your code:** Packages make it easier for multiple " -"people to work on the same project (particularly when published on GitHub)." -" A version control system such as git (the system used by GitHub), further " +"people to work on the same project (particularly when published on GitHub). " +"A version control system such as git (the system used by GitHub), further " "makes it easier to track changes to the codebase over time. Tools such as " -"issues and pull requests make it easier for outside users to contribute bug" -" fixes and to establish review processes for accepting changes to the code " +"issues and pull requests make it easier for outside users to contribute bug " +"fixes and to establish review processes for accepting changes to the code " "base." msgstr "" "**コードの周りにコミュニティを構築する:** パッケージは、 (特にGitHubで公開されている場合) " @@ -3202,7 +3181,8 @@ msgid "Who you think will use your package" msgstr "あなたのパッケージを利用すると思われる人" #: ../../tutorials/intro.md:143 -msgid "How people might use your package and on what data (if data are relevant)" +msgid "" +"How people might use your package and on what data (if data are relevant)" msgstr "人々があなたのパッケージをどのように使うか、またどのようなデータについて使うか(データが関連する場合)" #: ../../tutorials/intro.md:144 @@ -3220,8 +3200,8 @@ msgstr "" #: ../../tutorials/intro.md:147 msgid "" -"Before creating a user-facing package, it's important to consider all of " -"the above." +"Before creating a user-facing package, it's important to consider all of the" +" above." msgstr "ユーザー向けのパッケージを作成する前に、上記のすべてを考慮することが重要です。" #: ../../tutorials/intro.md:149 @@ -3234,10 +3214,10 @@ msgstr "図......これが残ればもっとここに。" #: ../../tutorials/intro.md:155 msgid "" -"The elements of a Python package include code, documentation, tests, an " -"OSI-approved license and infrastructure. Maintainers are at the core making" -" sure everything works and is up to date while fixing bugs and addressing " -"user concerns." +"The elements of a Python package include code, documentation, tests, an OSI-" +"approved license and infrastructure. Maintainers are at the core making sure" +" everything works and is up to date while fixing bugs and addressing user " +"concerns." msgstr "" "Pythonパッケージの要素には、コード、ドキュメント、テスト、OSIが承認したライセンス、インフラが含まれます。 " "メインテナーは、バグを修正し、ユーザーの懸念に対処しながら、すべてが機能し、最新であることを確認する中核を担っています。" @@ -3265,12 +3245,13 @@ msgstr "" msgid "" "Contributor Documentation in the form of a **CONTRIBUTING.md** file is " "useful to help people to contribute to your package." -msgstr "**CONTRIBUTING.md** ファイル形式の貢献者ドキュメンテーションは、人々があなたのパッケージに貢献するのを助けるのに便利です。" +msgstr "" +"**CONTRIBUTING.md** ファイル形式の貢献者ドキュメンテーションは、人々があなたのパッケージに貢献するのを助けるのに便利です。" #: ../../tutorials/intro.md:166 msgid "" -"Development Documentation helps both maintainers and contributors " -"understand how to maintain a package's infrastructure." +"Development Documentation helps both maintainers and contributors understand" +" how to maintain a package's infrastructure." msgstr "" "Development Documentation " "は、メンテナと貢献者の両方が、パッケージのインフラストラクチャをどのように保守するかを理解するのに役立ちます。" @@ -3280,26 +3261,25 @@ msgid "" "**Tests:** that make sure your code works as it should and makes it easier " "for you and others to contribute to, modify and update the code in the " "future" -msgstr "**テスト:** これは、あなたのコードが本来の機能を発揮し、あなたや他の人が貢献しやすくなるようにするものです、 将来的にコードを修正更新します" +msgstr "" +"**テスト:** これは、あなたのコードが本来の機能を発揮し、あなたや他の人が貢献しやすくなるようにするものです、 将来的にコードを修正更新します" #: ../../tutorials/intro.md:168 -#, fuzzy msgid "" "**License:** An open source license, or license that is [OSI " -"approved](https://opensource.org/license/), refers to an license that " -"allows others to use your package. It also provides legal direction " -"regarding how elements of the package can and can't be reused." +"approved](https://opensource.org/license/), refers to an license that allows" +" others to use your package. It also provides legal direction regarding how " +"elements of the package can and can't be reused." msgstr "" -"**ライセンス:** オープンソースライセンス、あるいは [OSI認可](https://opensource.org/licenses/) " -"ライセンスとは、他の人があなたのパッケージを使うことを許可するライセンスのことです。また、パッケージの要素をどのように再利用できるか、また再利用できないかに関する法的な方向性も示しています。" +"**ライセンス:** オープンソースライセンス、つまり [OSI 承認](https://opensource.org/license/) " +"のライセンスとは、他の人があなたのパッケージを使用することを許可するライセンスのことです。また、パッケージの要素をどのように再利用できるか、できないかについて法的な指針を提供します。" #: ../../tutorials/intro.md:169 msgid "" "**Infrastructure** that automates updates, publication workflows and runs " "test suites. Infrastructure includes a suite of things such as platforms " -"like GitHub and GitLab, tools to run tests and tools locally such as nox " -"and tox and continuous integration that automates package maintenance " -"steps." +"like GitHub and GitLab, tools to run tests and tools locally such as nox and" +" tox and continuous integration that automates package maintenance steps." msgstr "" "**インフラ** 更新、公開ワークフロー、テストスイートの実行を自動化します。 " "インフラストラクチャーには、GitHubやGitLabのようなプラットフォーム、noxやtoxのようなローカルでテストやツールを実行するツール、パッケージメンテナンスのステップを自動化する継続的インテグレーションなど、一連のものが含まれます。" @@ -3312,13 +3292,14 @@ msgstr "pyOpenSciがパッケージで探すもの" msgid "" "pyOpenSci performs an [initial set of editor " "checks](https://www.pyopensci.org/software-peer-review/how-to/editor-in-" -"chief-guide.html#editor-checklist-template) for any package submitted to us" -" for peer review. You may find these checks useful as you create your " -"package as a baseline for things that you package should have." +"chief-guide.html#editor-checklist-template) for any package submitted to us " +"for peer review. You may find these checks useful as you create your package" +" as a baseline for things that you package should have." msgstr "" -"pyOpenSciは、査読のために提出されたパッケージに対して、 [最初のエディタチェック](https://www.pyopensci.org" -"/software-peer-review/how-to/editor-in-chief-guide.html#editor-checklist-" -"template) を行います。 これらのチェックは、パッケージを作成する際に、パッケージが持つべきものの基準として役に立つかもしれません。" +"pyOpenSciは、査読のために提出されたパッケージに対して、 " +"[最初のエディタチェック](https://www.pyopensci.org/software-peer-review/how-to/editor-" +"in-chief-guide.html#editor-checklist-template) を行います。 " +"これらのチェックは、パッケージを作成する際に、パッケージが持つべきものの基準として役に立つかもしれません。" #: ../../tutorials/intro.md:180 msgid "Packages are more than just code - Infrastructure" @@ -3326,10 +3307,10 @@ msgstr "パッケージは単なるコードではありません - インフラ #: ../../tutorials/intro.md:182 msgid "" -"A package in any language is more than just code. If you expect other " -"people to use your package, besides yourself, you should consider not only " -"writing high quality code, but also the various elements of a package that " -"make it a useful community resource." +"A package in any language is more than just code. If you expect other people" +" to use your package, besides yourself, you should consider not only writing" +" high quality code, but also the various elements of a package that make it " +"a useful community resource." msgstr "" "どの言語でも、パッケージは単なるコードではありません。 " "自分以外の人があなたのパッケージを使うことを期待するのであれば、高品質のコードを書くだけでなく、パッケージが有用なコミュニティリソースとなるための様々な要素も考慮すべきです。" @@ -3341,11 +3322,11 @@ msgstr "GitHubまたはGitLabでのバージョン管理とパッケージの保 #: ../../tutorials/intro.md:189 msgid "" "Most Python packages live in an online version control platform such as " -"GitHub or GitLab. GitHub and GitLab both run [git](https://git-scm.com/) " -"for version control. Having your software under version control is " -"important because it allows you to both track changes over time while also " -"going back in history and undoing changes in the case that a change to the " -"code base unexpectedly breaks something." +"GitHub or GitLab. GitHub and GitLab both run [git](https://git-scm.com/) for" +" version control. Having your software under version control is important " +"because it allows you to both track changes over time while also going back " +"in history and undoing changes in the case that a change to the code base " +"unexpectedly breaks something." msgstr "" "ほとんどのPythonパッケージは、GitHubやGitLabのようなオンラインバージョン管理プラットフォームにあります。 " "GitHubとGitLabはどちらもバージョン管理のために [git](https://git-scm.com/) を実行しています。 " @@ -3355,8 +3336,8 @@ msgstr "" msgid "" "By publishing your package on GitHub or GitLab, you are making your code " "public facing. This means that others can both see your code and also make " -"contributions using a pull request (GitHub) / merge request (GitLab) / code" -" review workflow." +"contributions using a pull request (GitHub) / merge request (GitLab) / code " +"review workflow." msgstr "" "あなたのパッケージをGitHubやGitLabで公開することで、あなたはコードを公開することになります。 " "これは、他の人があなたのコードを見ることができ、プルリクエスト(GitHub)/マージリクエスト(GitLab)/コードレビューワークフローを使って貢献することもできることを意味します。" @@ -3369,12 +3350,12 @@ msgstr "GitHub & GitLab vs. Git" msgid "" "GitHub and GitLab are online (cloud) platforms that run `git` (version " "control software) on the backend. Running git locally on your computer " -"allows you to upload (`git push`) and download (`git pull`) files to GitHub" -" and GitLab." +"allows you to upload (`git push`) and download (`git pull`) files to GitHub " +"and GitLab." msgstr "" "GitHubとGitLabは、バックエンドで `git` (バージョン管理ソフトウェア) を実行するオンライン (クラウド) プラットフォームです。 " -"コンピュータ上でローカルに git を実行すると、GitHub や GitLab にファイルをアップロード (`git push`) " -"したりダウンロード (`git pull`) したりすることができます。" +"コンピュータ上でローカルに git を実行すると、GitHub や GitLab にファイルをアップロード (`git push`) したりダウンロード" +" (`git pull`) したりすることができます。" #: ../../tutorials/intro.md:204 msgid "Issues or Ticket Trackers" @@ -3396,8 +3377,8 @@ msgstr "ユーザーによるバグ報告、質問、新機能のリクエスト #: ../../tutorials/intro.md:210 msgid "" -"you to publicly keep track of enhancements and features you want to work on" -" for your package." +"you to publicly keep track of enhancements and features you want to work on " +"for your package." msgstr "あなたのパッケージのために取り組みたい機能強化や機能を公的に追跡することができます。" #: ../../tutorials/intro.md:212 @@ -3424,7 +3405,8 @@ msgstr "**継続的インテグレーションの例:**" msgid "" "When someone submits a change to your code, your tests will run across " "different operating systems and the code will be checked for format issues." -msgstr "誰かがあなたのコードに変更を加えた場合、あなたのテストは異なるオペレーティングシステム上で実行され、コードはフォーマットの問題がないかチェックされます。" +msgstr "" +"誰かがあなたのコードに変更を加えた場合、あなたのテストは異なるオペレーティングシステム上で実行され、コードはフォーマットの問題がないかチェックされます。" #: ../../tutorials/intro.md:220 msgid "**An example of Continuous deployment:**" @@ -3432,15 +3414,16 @@ msgstr "**継続的デプロイの例:**" #: ../../tutorials/intro.md:222 msgid "" -"When you are ready to release your package to PyPI, a continuous deployment" -" operation might be triggered on release to publish your package to PyPI." -msgstr "PyPIにパッケージをリリースする準備ができたら、リリース時に継続的デプロイ操作をトリガーしてパッケージをPyPIに公開することがあります。" +"When you are ready to release your package to PyPI, a continuous deployment " +"operation might be triggered on release to publish your package to PyPI." +msgstr "" +"PyPIにパッケージをリリースする準備ができたら、リリース時に継続的デプロイ操作をトリガーしてパッケージをPyPIに公開することがあります。" #: ../../tutorials/intro.md:224 msgid "" -"Integrated CI/CD will help you maintain your software, ensuring that " -"changes to the code don't break things unexpectedly. They can also help you" -" maintain code style and format consistency for every new change to your " +"Integrated CI/CD will help you maintain your software, ensuring that changes" +" to the code don't break things unexpectedly. They can also help you " +"maintain code style and format consistency for every new change to your " "code." msgstr "" "統合されたCI/CDは、コードの変更が予期せぬ事態を引き起こさないよう、ソフトウェアの保守を支援します。 " @@ -3456,9 +3439,10 @@ msgstr "あなたのコードをPythonパッケージにするタイミングは #: ../../tutorials/intro.md:238 msgid "" -"You may be wondering, what types of code should become a Python package " -"that is both on GitHub and published to PyPI and/or conda-forge." -msgstr "どのようなコードをPythonのパッケージにして、GitHubに置き、PyPIやconda-forgeに公開すればいいのか、疑問に思うかもしれません。" +"You may be wondering, what types of code should become a Python package that" +" is both on GitHub and published to PyPI and/or conda-forge." +msgstr "" +"どのようなコードをPythonのパッケージにして、GitHubに置き、PyPIやconda-forgeに公開すればいいのか、疑問に思うかもしれません。" #: ../../tutorials/intro.md:240 msgid "There are a few use cases to consider:" @@ -3467,10 +3451,10 @@ msgstr "考慮すべき使用例がいくつかあります:" #: ../../tutorials/intro.md:242 msgid "" "**Creating a basic package for yourself:** Sometimes you want create a " -"package for your own personal use. This might mean making your code locally" -" pip installable and you may also want to publish it to GitHub. In that " -"case you don't expect others to use your code, and as such you may only " -"have documentation for you and your future self if you need to update the " +"package for your own personal use. This might mean making your code locally " +"pip installable and you may also want to publish it to GitHub. In that case " +"you don't expect others to use your code, and as such you may only have " +"documentation for you and your future self if you need to update the " "package." msgstr "" "**自分用の基本パッケージを作ります:** 個人的に使用するためにパッケージを作成したいこともあるでしょう。 " @@ -3479,25 +3463,26 @@ msgstr "" #: ../../tutorials/intro.md:244 msgid "" "An example of this type of package might be a set of functions that you " -"write that are useful across several of your projects. It could be useful " -"to have those functions available to all of your projects." +"write that are useful across several of your projects. It could be useful to" +" have those functions available to all of your projects." msgstr "" "この種のパッケージの例としては、いくつかのプロジェクトにまたがって有用な関数のセットを書くことができます。 " "これらの機能をすべてのプロジェクトで利用できれば便利でしょう。" #: ../../tutorials/intro.md:247 -msgid "LINK to pip installable lesson when it's published - it's in review now" +msgid "" +"LINK to pip installable lesson when it's published - it's in review now" msgstr "レッスンが公開されたら、pipでインストールできるようにリンクします - 審査中になります" #: ../../tutorials/intro.md:250 msgid "" "**Creating a package for the community:** In other cases, you may create " -"some code that you soon realize might also be useful to not just you, but " -"to other people as well. In that case, you might consider both creating the" -" package, publishing it on GitHub, and because other users may be using it," -" you may make use of GitHub's infrastructure including CI/CD pipelines and " -"issue trackers. Because you want other people to use your package, you will" -" want to also include LICENSE information, documentation for users and " +"some code that you soon realize might also be useful to not just you, but to" +" other people as well. In that case, you might consider both creating the " +"package, publishing it on GitHub, and because other users may be using it, " +"you may make use of GitHub's infrastructure including CI/CD pipelines and " +"issue trackers. Because you want other people to use your package, you will " +"want to also include LICENSE information, documentation for users and " "contributors and tests. This type of package is most often published to " "PyPI." msgstr "" @@ -3507,9 +3492,9 @@ msgstr "" #: ../../tutorials/intro.md:253 msgid "" -"For example, all of the [pyOpenSci packages](https://www.pyopensci.org" -"/python-packages.html) are public facing with an intended audience beyond " -"just the maintainers." +"For example, all of the [pyOpenSci " +"packages](https://www.pyopensci.org/python-packages.html) are public facing " +"with an intended audience beyond just the maintainers." msgstr "" "例えば、すべての [pyOpenSciパッケージ](https://www.pyopensci.org/python-packages.html) " "は、メンテナ以外の読者を想定して公開されています。" @@ -3521,8 +3506,8 @@ msgstr "他の人が使用することを想定しているパッケージは、 #: ../../tutorials/intro.md:257 msgid "" "Ideally the code in your Python package is focused on a specific theme or " -"use case. This theme is important as it's a way to scope the content of " -"your package." +"use case. This theme is important as it's a way to scope the content of your" +" package." msgstr "" "Pythonパッケージのコードは、特定のテーマやユースケースにフォーカスしているのが理想的です。 " "このテーマは、パッケージの内容に幅を持たせる方法として重要です。" @@ -3530,9 +3515,9 @@ msgstr "" #: ../../tutorials/intro.md:259 msgid "" "It can be tricky to decide when your code becomes something that might be " -"more broadly useful to others. But one question you can ask yourself is - " -"is your code written specifically for a single research project? Or could " -"it have a broader application across multiple projects in your domain?" +"more broadly useful to others. But one question you can ask yourself is - is" +" your code written specifically for a single research project? Or could it " +"have a broader application across multiple projects in your domain?" msgstr "" "自分のコードが、いつ他の人に広く役立つものになるかを決めるのは、難しいことです。 " "しかし、自分自身に問いかけることができる質問が一つあります。それは、あなたのコードは特定の研究プロジェクトのために書かれたものですか?あるいは、あなたのドメインにおける複数のプロジェクトにまたがるより広範な応用が可能でしょうか?" @@ -3542,17 +3527,16 @@ msgid "How does this relate to code for a research project?" msgstr "研究プロジェクトのコードとの関連は?" #: ../../tutorials/intro.md:264 -#, fuzzy msgid "" "A [Research Compendium](https://book.the-turing-way.org/reproducible-" -"research/compendia.html) is an organized set of code, data and " -"documentation that supports a specific research project. It aims to enhance" -" the reproducibility and transparency of research by providing a " -"comprehensive record of the methods, data, and analyses used in a study." +"research/compendia.html) is an organized set of code, data and documentation" +" that supports a specific research project. It aims to enhance the " +"reproducibility and transparency of research by providing a comprehensive " +"record of the methods, data, and analyses used in a study." msgstr "" -"[Research Compendium](https://the-turing-way.netlify.app/reproducible-" -"research/compendia.html) とは、特定の研究プロジェクトをサポートするコード、データ、文書を整理したものです。 " -"研究で使用された方法、データ、分析の包括的な記録を提供することで、研究の再現性と透明性を高めることを目的としています。" +"[Research Compendium](https://book.the-turing-way.org/reproducible-" +"research/compendia.html) " +"とは、特定の研究プロジェクトをサポートするコード、データ、ドキュメントを整理したものです。研究で使用された方法、データ、分析の包括的な記録を提供することで、研究の再現性と透明性を高めることを目的としています。" #: ../../tutorials/intro.md:269 msgid "" @@ -3590,9 +3574,9 @@ msgstr "以下はよくスコープされたpyOpenSciパッケージの例です #: ../../tutorials/intro.md:280 msgid "" "[Crowsetta](https://crowsetta.readthedocs.io/en/latest/): is a package " -"designed to work with annotating animal vocalizations and bioacoustics " -"data. This package helps scientists process different types of bioacoustic " -"data rather than focusing on a specific individual research application " +"designed to work with annotating animal vocalizations and bioacoustics data." +" This package helps scientists process different types of bioacoustic data " +"rather than focusing on a specific individual research application " "associated with a user-specific research workflow." msgstr "" "[Crowsetta](https://crowsetta.readthedocs.io/en/latest/): " @@ -3600,9 +3584,9 @@ msgstr "" #: ../../tutorials/intro.md:281 msgid "" -"[Pandera](https://www.union.ai/pandera) is another more broadly used Python" -" package. Pandera supports data testing and thus also has a broader " -"research application." +"[Pandera](https://www.union.ai/pandera) is another more broadly used Python " +"package. Pandera supports data testing and thus also has a broader research " +"application." msgstr "" "[Pandera](https://www.union.ai/pandera) もまた、より広く使われているPythonパッケージです。 " "Panderaはデータの検査をサポートしているため、広範な研究用途にも使用できます。" @@ -3623,10 +3607,10 @@ msgstr "_データの視覚的なプロットを作成します。_" #: ../../tutorials/intro.md:290 msgid "" -"Thousands of people use Matplotlib for different plotting applications " -"using different types of data. While few scientific packages will have the " -"same broad application and large user base that Matplotlib has, the idea of" -" scoping out what your package does is still important." +"Thousands of people use Matplotlib for different plotting applications using" +" different types of data. While few scientific packages will have the same " +"broad application and large user base that Matplotlib has, the idea of " +"scoping out what your package does is still important." msgstr "" "Matplotlibは、何千人もの人々が、様々な種類のデータを使った様々なプロットアプリケーションに利用しています。 " "Matplotlibのような広範なアプリケーションと大規模なユーザーベースを持つ科学パッケージはほとんどないでしょうが、自分のパッケージが何をするのかを調べるという考え方は依然として重要です。" @@ -3663,11 +3647,11 @@ msgstr "" #: ../../tutorials/intro.md:308 msgid "" -"**Documented code:** documented code is written using docstrings that help " -"a user understand both what the functions and methods in your code do and " -"also what the input and output elements of each function are. [You can " -"learn more about docstrings in our guide, here.](../documentation/write-" -"user-documentation/document-your-code-api-docstrings)" +"**Documented code:** documented code is written using docstrings that help a" +" user understand both what the functions and methods in your code do and " +"also what the input and output elements of each function are. [You can learn" +" more about docstrings in our guide, here.](../documentation/write-user-" +"documentation/document-your-code-api-docstrings)" msgstr "" "**文書化されたコード:** " "ドキュメント化されたコードは、ユーザーがコード内の関数やメソッドが何をするのか、また各関数の入出力要素が何なのかを理解するのに役立つdocstringを使って記述されます。" @@ -3698,8 +3682,8 @@ msgid "" "installing it. The first arrow says your package and the second says pip " "install package. The second arrow leads to a box that represents a Python " "environment that already has some packages installed such as Pandas and " -"NumPy. Your package will also get installed into that same environment when" -" you pip install it." +"NumPy. Your package will also get installed into that same environment when " +"you pip install it." msgstr "" "パッケージを作成し、それをインストールする手順を示す図です。 最初の矢印はあなたのパッケージ、2番目はpip install " "packageと書かれています。2つ目の矢印は、PandasやNumPyなどのいくつかのパッケージがすでにインストールされているPython環境を表すボックスにつながります。あなたのパッケージも、pip" @@ -3725,11 +3709,11 @@ msgstr "PyPI / Conda-Forgeへのパッケージの公開" #: ../../tutorials/intro.md:333 msgid "" "If you want to make your package directly installable without having to " -"download the code to your computer locally then you need to publish it in a" -" repository such as **PyPI** or **conda-forge**." +"download the code to your computer locally then you need to publish it in a " +"repository such as **PyPI** or **conda-forge**." msgstr "" -"コードをローカルにダウンロードすることなく、パッケージを直接インストールできるようにしたい場合は、 **PyPI** や **conda-" -"forge** のようなリポジトリで公開する必要があります。" +"コードをローカルにダウンロードすることなく、パッケージを直接インストールできるようにしたい場合は、 **PyPI** や **conda-forge**" +" のようなリポジトリで公開する必要があります。" #: ../../tutorials/intro.md:337 msgid "" @@ -3748,8 +3732,8 @@ msgstr "" #: ../../tutorials/intro.md:341 msgid "" -"[You will learn more about the conda-forge publication process here" -".](publish-conda-forge.md)" +"[You will learn more about the conda-forge publication process " +"here.](publish-conda-forge.md)" msgstr "[conda-forgeの公開プロセスについてはこちらをご覧ください。](publish-conda-forge.md)" #: ../../tutorials/intro.md:344 @@ -3760,11 +3744,11 @@ msgid "" "normally published in your packaging wheel distribution. An arrow to the " "right takes you to a build distribution files box. That box leads you to " "either publishing to TestPyPI or the real PyPI. From PyPI you can then " -"connect to conda-forge for an automated build that sends distributions from" -" PyPI to conda-forge." +"connect to conda-forge for an automated build that sends distributions from " +"PyPI to conda-forge." msgstr "" -"ハイレベルなパッケージングのワークフローを示すグラフィックです。左側には、コード、メタデータ、テストが入ったグラフィックがあります。ドキュメンテーションやデータは、通常、パッケージホイールの配布物には掲載されないため、そのボックスの下にあります。右の矢印は、ビルド配布ファイルのボックスに移動します。このボックスは、TestPyPIか本物のPyPIのどちらかに公開するように導きます" -"。PyPIからconda-forgeに接続し、ディストリビューションをPyPIからconda-forgeに送る自動ビルドを行うことができます。" +"ハイレベルなパッケージングのワークフローを示すグラフィックです。左側には、コード、メタデータ、テストが入ったグラフィックがあります。ドキュメンテーションやデータは、通常、パッケージホイールの配布物には掲載されないため、そのボックスの下にあります。右の矢印は、ビルド配布ファイルのボックスに移動します。このボックスは、TestPyPIか本物のPyPIのどちらかに公開するように導きます。PyPIからconda-" +"forgeに接続し、ディストリビューションをPyPIからconda-forgeに送る自動ビルドを行うことができます。" #: ../../tutorials/intro.md:346 msgid "" @@ -3772,15 +3756,15 @@ msgid "" "package on PyPI and conda-forge. PyPI supports [sdist](#python-source-" "distribution) and [wheel](#python-wheel) files. Once you are ready to make " "your code publicly installable, you can publish it on PyPI. Once your code " -"is on PyPI it is straight forward to then publish to conda-forge. You " -"create a recipe using the Grayskull package and then you open a pr in the " -"conda-forge recipe repository. You will learn more about this process in " -"the [conda-forge lesson](/tutorials/publish-conda-forge)." -msgstr "" -"上の画像では、PyPIとconda-forgeでパッケージを公開する手順を見ることができます。 PyPIが要求する配布ファイルは [sdist" -"](#python-source-distribution) と [wheel](#python-wheel) " -"ファイルであることに注意してください。コードを一般にインストール可能にする準備ができたら、PyPIで公開できます。いったんコードをPyPIにアップしたら" -"、conda-forgeに公開するのは簡単です。 Grayskullパッケージを使ってレシピを作成し、conda-" +"is on PyPI it is straight forward to then publish to conda-forge. You create" +" a recipe using the Grayskull package and then you open a pr in the conda-" +"forge recipe repository. You will learn more about this process in the " +"[conda-forge lesson](/tutorials/publish-conda-forge)." +msgstr "" +"上の画像では、PyPIとconda-forgeでパッケージを公開する手順を見ることができます。 PyPIが要求する配布ファイルは " +"[sdist](#python-source-distribution) と [wheel](#python-wheel) " +"ファイルであることに注意してください。コードを一般にインストール可能にする準備ができたら、PyPIで公開できます。いったんコードをPyPIにアップしたら、conda-" +"forgeに公開するのは簡単です。 Grayskullパッケージを使ってレシピを作成し、conda-" "forgeレシピリポジトリでprを開きます。このプロセスについては、 [conda-forgeのレッスン](/tutorials/publish-" "conda-forge) で詳しく学びます。" @@ -3793,8 +3777,8 @@ msgid "" "As the community using your package grows, you may also find yourself " "managing users, contributors, and others who want to interact with your " "package. It’s important to consider all this before you dive into " -"development. Once you have a user base in the community, people will depend" -" upon your code to work and will need direction regarding how to use it." +"development. Once you have a user base in the community, people will depend " +"upon your code to work and will need direction regarding how to use it." msgstr "" "あなたのパッケージを使うコミュニティが大きくなるにつれて、あなたはユーザーや貢献者、その他あなたのパッケージと交流したい人たちを管理することになるかもしれません。開発に飛び込む前に、これらすべてを考慮することが重要です。" " コミュニティーの中にユーザーベースができれば、人々はあなたのコードに依存するようになり、その使い方の指示を必要とするようになります。" @@ -3822,11 +3806,11 @@ msgstr "" #: ../../tutorials/intro.md:358 msgid "" "[a contributing guide that helps users understand expectations associated " -"with making contributions to your project](/documentation/repository-files" -"/contributing-file.md)" +"with making contributions to your project](/documentation/repository-" +"files/contributing-file.md)" msgstr "" -"[プロジェクトに貢献する際にユーザーが期待されることを理解するのに役立つ貢献ガイド](/documentation/repository-files" -"/contributing-file.md)" +"[プロジェクトに貢献する際にユーザーが期待されることを理解するのに役立つ貢献ガイド](/documentation/repository-" +"files/contributing-file.md)" #: ../../tutorials/intro.md:360 msgid "Support for contributors and maintainers" @@ -3835,21 +3819,21 @@ msgstr "コントリビューターとメンテナーのサポート" #: ../../tutorials/intro.md:362 msgid "" "If you intend for others to use and contribute to your code, consider who " -"will maintain it over time. You will want a **contributing and " -"development** guide to help new potential contributors get started with " -"contributing to your package, as well as a **code of conduct** to ensure " -"community interactions remain healthy both for you and your contributors " -"and maintainer team." +"will maintain it over time. You will want a **contributing and development**" +" guide to help new potential contributors get started with contributing to " +"your package, as well as a **code of conduct** to ensure community " +"interactions remain healthy both for you and your contributors and " +"maintainer team." msgstr "" "他の人があなたのコードを使用し、貢献することを意図しているのであれば、誰がそれを長期にわたって保守するかを検討しましょう。あなたは、新しい貢献者候補があなたのパッケージへの貢献を始められるようにするための" -" **貢献と開発** ガイドと、コミュニティの交流があなたにとっても貢献者やメンテナチームにとっても健全であり続けるようにするための **行動規範**" -" が欲しいでしょう。" +" **貢献と開発** ガイドと、コミュニティの交流があなたにとっても貢献者やメンテナチームにとっても健全であり続けるようにするための **行動規範** " +"が欲しいでしょう。" #: ../../tutorials/intro.md:364 msgid "" "The elements above are also important for future maintenance of your " -"package. In the case that you are no long able to maintain it or simply " -"want extra help, development, and contributing documentation will help you " +"package. In the case that you are no long able to maintain it or simply want" +" extra help, development, and contributing documentation will help you " "onboard new maintainers." msgstr "" "上記の要素は、今後のパッケージのメンテナンスにおいても重要です。 " @@ -3866,12 +3850,13 @@ msgid "" "others to contribute to and easier for other scientists to use. However, " "first we want to get you to your initial goal of publishing a Python " "package." -msgstr "今後のレッスンでは、公開された、メンテナンスが容易になり、他の人が貢献しやすくなり、他の科学者が使いやすくなるPythonパッケージのインフラについて学びます。しかし、まずはPythonパッケージを公開するという最初のゴールに到達してもらいたいと思います。" +msgstr "" +"今後のレッスンでは、公開された、メンテナンスが容易になり、他の人が貢献しやすくなり、他の科学者が使いやすくなるPythonパッケージのインフラについて学びます。しかし、まずはPythonパッケージを公開するという最初のゴールに到達してもらいたいと思います。" #: ../../tutorials/intro.md:373 msgid "" -"In this next lesson you will learn how to create a basic installable Python" -" package. Make your code pip installable " +"In this next lesson you will learn how to create a basic installable Python " +"package. Make your code pip installable " msgstr "" "この次のレッスンでは、インストール可能な Python パッケージの基本的な作り方を学びます。コードをpipインストール可能にします " @@ -3885,13 +3870,12 @@ msgid "In the previous lessons, you've learned:" msgstr "前回のレッスンであなたは以下のことを学びました:" #: ../../tutorials/publish-conda-forge.md:10 -#, fuzzy msgid "" "How to [create the most basic version of a Python package](create-python-" "package.md). This entailed making your code installable." msgstr "" -"[Pythonパッケージの最も基本的なバージョンの作り方](create-python-package.md) 。 " -"これは、あなたのコードをインストール可能にすることが必要でした。" +"[Python パッケージの最も基本的なバージョンの作り方](create-python-" +"package.md)。これには、コードをインストール可能にすることが含まれていました。" #: ../../tutorials/publish-conda-forge.md:11 msgid "[How to publish your Python package to PyPI](publish-pypi)" @@ -3902,14 +3886,13 @@ msgid "How to add a `README` and `LICENSE` file to your package" msgstr "パッケージに `README` と `LICENSE` ファイルを追加する方法" #: ../../tutorials/publish-conda-forge.md:13 -#, fuzzy msgid "" "How to setup your [pyproject.toml](pyproject-toml) file with all of the " -"metadata that PyPI requires and also metadata that will be helpful for " -"users to find your package." +"metadata that PyPI requires and also metadata that will be helpful for users" +" to find your package." msgstr "" -"どのように `pyproject.toml` ファイルに PyPI " -"が要求するすべてのメタデータと、ユーザがあなたのパッケージを見つけるのに役立つメタデータをセットアップするかです。" +"[pyproject.toml](pyproject-toml) ファイルに、PyPI " +"が必要とするすべてのメタデータと、ユーザーがパッケージを見つけるのに役立つメタデータを設定する方法。" #: ../../tutorials/publish-conda-forge.md:17 msgid "" @@ -3926,7 +3909,8 @@ msgstr "" "**重要:** パッケージをconda-forgeに公開する練習はしないでください。 conda-" "forgeに公開するのは、pypi.orgにメンテナンスする予定のパッケージがあるときだけにしてください。" -#: ../../tutorials/publish-conda-forge.md:26 ../../tutorials/publish-pypi.md:24 +#: ../../tutorials/publish-conda-forge.md:26 +#: ../../tutorials/publish-pypi.md:24 msgid "In this lesson you will learn how to:" msgstr "このレッスンで学ぶこと:" @@ -3942,37 +3926,36 @@ msgstr "レシピ(yamlファイル)をconda-forge staged recipesリポジトリ #: ../../tutorials/publish-conda-forge.md:30 msgid "" -"Maintain your conda-forge package by creating new releases for your package" -" on PyPI" +"Maintain your conda-forge package by creating new releases for your package " +"on PyPI" msgstr "PyPIでパッケージの新しいリリースを作成することで、conda-forgeパッケージを維持します。" #: ../../tutorials/publish-conda-forge.md:33 -#, fuzzy, python-brace-format +#, python-brace-format msgid "" "Once your package is on PyPI you can then easily publish it to conda-forge " "using the [grayskull](https://conda.github.io/grayskull/) tool. You do not " "need to build the package specifically for conda, conda-forge will build " "from your PyPI {term}`Source distribution (sdist)` file." msgstr "" -"パッケージがPyPIに登録されたら、 [grayskull](https://conda.github.io/grayskull/) " -"ツールを使って簡単にconda-forgeに公開することができます。conda専用のパッケージをビルドする必要はない、conda-" -"forgeはPyPIのソース配布ファイル (sdist) からビルドします。" +"パッケージが PyPI に登録されたら、[grayskull](https://conda.github.io/grayskull/) " +"ツールを使って簡単に conda-forge に公開できます。conda 用にパッケージを特別にビルドする必要はありません。conda-forge は " +"PyPI の {term}`ソース配布 (sdist)` ファイルからビルドします。" #: ../../tutorials/publish-conda-forge.md:41 msgid "" -"Image showing the progression of creating a Python package, building it and" -" then publishing to PyPI and conda-forge. You take your code and turn it " -"into distribution files (sdist and wheel) that PyPI accepts. Then there is " -"an arrow towards the PyPI repository where ou publish both distributions. " -"From PyPI if you create a conda-forge recipe you can then publish to conda-" -"forge." +"Image showing the progression of creating a Python package, building it and " +"then publishing to PyPI and conda-forge. You take your code and turn it into" +" distribution files (sdist and wheel) that PyPI accepts. Then there is an " +"arrow towards the PyPI repository where ou publish both distributions. From " +"PyPI if you create a conda-forge recipe you can then publish to conda-forge." msgstr "" "Pythonパッケージの作成、ビルド、そしてPyPIとconda-" -"forgeへの公開の流れを示す画像です。あなたのコードをPyPIが受け付ける配布ファイル(sdistとwheel)に変換します。そして、両方のディストリビューションを公開しているPyPIリポジトリへの矢印があります" -"。PyPIからconda-forgeのレシピを作成し、conda-forgeに公開することができます。" +"forgeへの公開の流れを示す画像です。あなたのコードをPyPIが受け付ける配布ファイル(sdistとwheel)に変換します。そして、両方のディストリビューションを公開しているPyPIリポジトリへの矢印があります。PyPIからconda-" +"forgeのレシピを作成し、conda-forgeに公開することができます。" #: ../../tutorials/publish-conda-forge.md:43 -#, fuzzy, python-brace-format +#, python-brace-format msgid "" "Once you have published both package distributions (the {term}`Source " "distribution (sdist)` and the {term}`Wheel (.whl)`) to PyPI, you can then " @@ -3980,9 +3963,9 @@ msgid "" "in order to build your package on conda-forge. You do not need to rebuild " "your package to publish to conda-forge." msgstr "" -"両方のパッケージ配布(ソース配布とホイール)をPyPIに公開したら、次にconda-forgeに公開します。conda-" -"forgeでパッケージをビルドするには、PyPIでのソース配布が必要です。conda-" -"forgeに公開するためにパッケージをリビルドする必要はありません。" +"{term}`ソース配布 (sdist)` と {term}`ホイール (.whl)` の両方のパッケージ配布物を PyPI に公開したら、次に " +"conda-forge に公開できます。conda-forge でパッケージをビルドするには、PyPI 上にソース配布物が必要です。conda-" +"forge に公開するためにパッケージを再ビルドする必要はありません。" #: ../../tutorials/publish-conda-forge.md:50 msgid "What is conda-forge?" @@ -3990,8 +3973,8 @@ msgstr "conda-forgeとは何ですか?" #: ../../tutorials/publish-conda-forge.md:52 msgid "" -"conda is an open source package and environment management tool that can be" -" used to install tools from the different channels on Anaconda.org." +"conda is an open source package and environment management tool that can be " +"used to install tools from the different channels on Anaconda.org." msgstr "" "conda はオープンソースのパッケージと環境管理ツールで、Anaconda.org " "のさまざまなチャンネルからツールをインストールするために使用できます。" @@ -3999,13 +3982,13 @@ msgstr "" #: ../../tutorials/publish-conda-forge.md:55 msgid "" "You can think about a channel as a specific location where a group of " -"packages are stored and can be installed from using a command such as " -"`conda install packagename`. In the case of conda channels, some of these " -"channels such as the `defaults` channel, is managed by Anaconda (the " -"company). Only Anaconda can decide what packages are available in the " -"`defaults` channel. However, the conda-forge (and bioconda) channel are " -"community-managed channels. Anyone can submit a package to these channels " -"however they must pass a technical review in the [staged-recipes GitHub " +"packages are stored and can be installed from using a command such as `conda" +" install packagename`. In the case of conda channels, some of these channels" +" such as the `defaults` channel, is managed by Anaconda (the company). Only " +"Anaconda can decide what packages are available in the `defaults` channel. " +"However, the conda-forge (and bioconda) channel are community-managed " +"channels. Anyone can submit a package to these channels however they must " +"pass a technical review in the [staged-recipes GitHub " "repository](https://github.com/conda-forge/staged-recipes) to be published." msgstr "" "チャンネルとは、パッケージ群が保存され、 `conda install packagename` " @@ -4024,24 +4007,24 @@ msgstr "[condaチャンネルについて詳しくはこちら。](#about-conda) msgid "" "Graphic with the title Python package repositories. Below it says anything " "hosted on PyPI can be installed using pip install. Packaging hosted on a " -"conda channel can be installed using conda install. Below that there are " -"two rows. The top row says conda channels. Next to it are three boxes one " -"with conda-forge, community maintained; bioconda and then default - managed" -" by the Anaconda team. Below that there is a row that says PyPI servers. " -"PyPI - anyone can publish to PyPI and test PyPI (a testbed server for you " -"to practice)." +"conda channel can be installed using conda install. Below that there are two" +" rows. The top row says conda channels. Next to it are three boxes one with " +"conda-forge, community maintained; bioconda and then default - managed by " +"the Anaconda team. Below that there is a row that says PyPI servers. PyPI - " +"anyone can publish to PyPI and test PyPI (a testbed server for you to " +"practice)." msgstr "" "Python package repositoriesというタイトルのグラフィック。 PyPI でホストされているものは pip install " "でインストールできます。 condaチャンネルでホストされているパッケージはconda installを使ってインストールできます。 " "その下に2つの行があり、一番上の行には conda channels と書かれています。その隣には3つのボックスがあり、1つは conda-" "forge、コミュニティによって管理されているもの、bioconda、そして default - anaconda " -"チームによって管理されているものです。 その下にPyPIサーバーという行があります。 PyPI - 誰でもPyPIに公開することができます、と " -"test PyPI (PyPIをテストするためのテストベッドサーバ)。" +"チームによって管理されているものです。 その下にPyPIサーバーという行があります。 PyPI - 誰でもPyPIに公開することができます、と test" +" PyPI (PyPIをテストするためのテストベッドサーバ)。" #: ../../tutorials/publish-conda-forge.md:64 msgid "" -"Conda channels represent various repositories that you can install packages" -" from. Because conda-forge is community maintained, anyone can submit a " +"Conda channels represent various repositories that you can install packages " +"from. Because conda-forge is community maintained, anyone can submit a " "recipe there. PyPI is also a community maintained repository. Anyone can " "submit a package to PyPI and test PyPI. Unlike conda-forge there are no " "manual checks of packages submitted to PyPI." @@ -4057,10 +4040,10 @@ msgstr "conda-forgeに公開する理由" #: ../../tutorials/publish-conda-forge.md:69 msgid "" -"There are many users, especially in the scientific Python ecosystem that " -"use conda as their primary package manager / environment tool. Thus, having" -" packages available to these users on the conda-forge channel is useful. In" -" some cases packages on conda-forge can minimize dependency conflicts that " +"There are many users, especially in the scientific Python ecosystem that use" +" conda as their primary package manager / environment tool. Thus, having " +"packages available to these users on the conda-forge channel is useful. In " +"some cases packages on conda-forge can minimize dependency conflicts that " "can occur when mixing installations using pip and conda. This is " "particularly important for the spatial ecosystem." msgstr "" @@ -4074,9 +4057,9 @@ msgstr "conda-forgeへの公開の仕組み" #: ../../tutorials/publish-conda-forge.md:73 msgid "" -"Once you have built and published your package to PyPI, you have everything" -" that you need to publish to conda-forge. There is no additional build step" -" needed to publish to conda-forge." +"Once you have built and published your package to PyPI, you have everything " +"that you need to publish to conda-forge. There is no additional build step " +"needed to publish to conda-forge." msgstr "" "パッケージをビルドしてPyPIに公開したら、conda-forgeに公開するために必要なものはすべて揃っています。 conda-" "forgeに公開するための追加のビルドステップは必要ありません。" @@ -4096,15 +4079,15 @@ msgstr "Conda-forgeの公開手順" #: ../../tutorials/publish-conda-forge.md:80 msgid "" -"Image showing the steps associated with publishing to conda-forge. Check " -"out the caption below for a detailed description." +"Image showing the steps associated with publishing to conda-forge. Check out" +" the caption below for a detailed description." msgstr "conda-forgeへの公開に関連する手順を示す画像です。 詳しい説明は以下のキャプションをご覧ください。" #: ../../tutorials/publish-conda-forge.md:82 msgid "" "The steps for publishing to conda-forge begin with publishing your Python " -"package to PyPI. Once you have published to PyPI you can then create a yaml" -" file recipe that can be submitted to the conda-forge staged recipes " +"package to PyPI. Once you have published to PyPI you can then create a yaml " +"file recipe that can be submitted to the conda-forge staged recipes " "repository for review. Once that recipe is accepted, your package will get " "it's on repository (known as a feedstock) on conda-forge." msgstr "" @@ -4136,15 +4119,15 @@ msgid "" "as a pull request for review. [Click here for an example submission from " "pyOpenSci.](https://github.com/conda-forge/staged-recipes/pull/25173)" msgstr "" -"レシピ (yamlファイル) をconda-forge staged recipesリポジトリにプルリクエストとして提出し、レビューを受けてください。" -" [pyOpenSciからの投稿例はこちらをクリックしてください](https://github.com/conda-forge/staged-" +"レシピ (yamlファイル) をconda-forge staged recipesリポジトリにプルリクエストとして提出し、レビューを受けてください。 " +"[pyOpenSciからの投稿例はこちらをクリックしてください](https://github.com/conda-forge/staged-" "recipes/pull/25173)" #: ../../tutorials/publish-conda-forge.md:91 msgid "" "Once someone from the conda-forge team reviews your pull request, you may " -"need to make some changes. Eventually the pull request will be approved and" -" merged." +"need to make some changes. Eventually the pull request will be approved and " +"merged." msgstr "" "conda-" "forgeチームの誰かがあなたのプルリクエストをレビューしたら、いくつかの変更が必要になるかもしれません。最終的にプルリクエストは承認され、マージされます。" @@ -4161,8 +4144,8 @@ msgstr "`conda install -c conda-forge your-package`" #: ../../tutorials/publish-conda-forge.md:97 msgid "" -"You only create the recipe once. Once the recipe is accepted and merged, " -"you only need to maintain the repository." +"You only create the recipe once. Once the recipe is accepted and merged, you" +" only need to maintain the repository." msgstr "レシピを作成するのは一度だけです。 レシピが受け入れられマージされたら、リポジトリを管理するだけです。" #: ../../tutorials/publish-conda-forge.md:99 @@ -4182,9 +4165,10 @@ msgstr "" #: ../../tutorials/publish-conda-forge.md:103 msgid "" -"When the update is processed, the friendly conda-forge bot will create a " -"new pull request with an updated distribution recipe in your feedstock." -msgstr "アップデートが処理されると、フレンドリーなconda-forgeボットがフィードストックの配布レシピを更新した新しいプルリクエストを作成します。" +"When the update is processed, the friendly conda-forge bot will create a new" +" pull request with an updated distribution recipe in your feedstock." +msgstr "" +"アップデートが処理されると、フレンドリーなconda-forgeボットがフィードストックの配布レシピを更新した新しいプルリクエストを作成します。" #: ../../tutorials/publish-conda-forge.md:105 msgid "" @@ -4194,15 +4178,15 @@ msgstr "そのプルリクエストをレビューし、継続的インテグレ #: ../../tutorials/publish-conda-forge.md:107 msgid "" -" How to Publish your package " -"on conda-forge" +" How to Publish your package on" +" conda-forge" msgstr " conda-forgeでパッケージを公開する方法" #: ../../tutorials/publish-conda-forge.md:109 msgid "" -"It's time to add your package to the conda-forge channel. Remember that " -"your package needs to be on PyPI before the steps below will work. And also" -" remember that the team managing conda-forge are all volunteers." +"It's time to add your package to the conda-forge channel. Remember that your" +" package needs to be on PyPI before the steps below will work. And also " +"remember that the team managing conda-forge are all volunteers." msgstr "" "あなたのパッケージをconda-forgeチャンネルに追加しましょう。 " "以下の手順が動作する前に、あなたのパッケージがPyPI上にある必要があることを覚えておいてください。また、conda-" @@ -4212,7 +4196,8 @@ msgstr "" msgid "" "Be sure that your package is on PyPI.org (not test.pypi.org) before you " "attempt to publish to conda-forge." -msgstr "conda-forgeに公開する前に、あなたのパッケージが(test.pypi.orgではなく)PyPI.orgにあることを確認してください。" +msgstr "" +"conda-forgeに公開する前に、あなたのパッケージが(test.pypi.orgではなく)PyPI.orgにあることを確認してください。" #: ../../tutorials/publish-conda-forge.md:115 msgid "" @@ -4223,8 +4208,8 @@ msgstr "パッケージをconda-forgeに投稿するのは、長期的にメン #: ../../tutorials/publish-conda-forge.md:118 msgid "" "Note - this is a tutorial aimed to help you get your package onto conda-" -"forge. The official conda documentation for this processed [is here](https" -"://conda-forge.org/docs/maintainer/adding_pkgs.html)." +"forge. The official conda documentation for this processed [is " +"here](https://conda-forge.org/docs/maintainer/adding_pkgs.html)." msgstr "" "ノート - このチュートリアルは、あなたのパッケージをconda-" "forgeに載せる手助けをすることを目的としています。この処理に関するcondaの公式ドキュメントは [こちら](https://conda-" @@ -4240,9 +4225,8 @@ msgid "" "grayskull](https://conda.github.io/grayskull/user_guide.html). You can " "install it using either pip:" msgstr "" -"まず、 " -"[grayskullをインストールします](https://conda.github.io/grayskull/user_guide.html) 。 " -"pip を使用してインストールできます:" +"まず、 [grayskullをインストールします](https://conda.github.io/grayskull/user_guide.html)" +" 。 pip を使用してインストールできます:" #: ../../tutorials/publish-conda-forge.md:128 msgid "or conda" @@ -4250,16 +4234,16 @@ msgstr "それともconda" #: ../../tutorials/publish-conda-forge.md:134 msgid "" -"To run this command, use the same shell / terminal that you have been using" -" to run hatch commands in the previous tutorials." +"To run this command, use the same shell / terminal that you have been using " +"to run hatch commands in the previous tutorials." msgstr "このコマンドを実行するには、前のチュートリアルでhatchコマンドを実行するのに使ったのと同じシェル/ターミナルを使います。" #: ../../tutorials/publish-conda-forge.md:139 msgid "" -"You can also install grayskull using pipx[^pipx]. pipx is a tool that " -"allows you to install commonly used tools that you might want to have " -"available across multiple Python environments rather than installing the " -"package into every Python environment that you create." +"You can also install grayskull using pipx[^pipx]. pipx is a tool that allows" +" you to install commonly used tools that you might want to have available " +"across multiple Python environments rather than installing the package into " +"every Python environment that you create." msgstr "" "pipx[^pipx] を使用してgrayskullをインストールすることもできます。 " "pipxは、作成したPython環境すべてにパッケージをインストールするのではなく、複数のPython環境で利用できるようにしたい、よく使われるツールをインストールできるツールです。" @@ -4279,14 +4263,15 @@ msgid "" "fork and clone the [conda-forge/staged-recipes GitHub " "repository](https://github.com/conda-forge/staged-recipes)." msgstr "" -"[conda-forge/staged-recipes GitHubリポジトリ](https://github.com/conda-forge" -"/staged-recipes) をフォークしてクローンしてください。" +"[conda-forge/staged-recipes GitHubリポジトリ](https://github.com/conda-" +"forge/staged-recipes) をフォークしてクローンしてください。" #: ../../tutorials/publish-conda-forge.md:146 msgid "" -"Create a new branch in your fork rather than submitting from the main " -"branch of your fork. We suggest naming the branch your package's name." -msgstr "フォークのメインブランチから投稿するのではなく、フォークに新しいブランチを作成してください。ブランチにパッケージ名をつけることをお勧めします。" +"Create a new branch in your fork rather than submitting from the main branch" +" of your fork. We suggest naming the branch your package's name." +msgstr "" +"フォークのメインブランチから投稿するのではなく、フォークに新しいブランチを作成してください。ブランチにパッケージ名をつけることをお勧めします。" #: ../../tutorials/publish-conda-forge.md:148 msgid "`git checkout -b your-package-name `" @@ -4315,8 +4300,8 @@ msgstr "次に、レシピディレクトリに移動します。" #: ../../tutorials/publish-conda-forge.md:173 msgid "" -"If you run `ls` here, you will notice there is an example directory with an" -" example recipe for you to look at." +"If you run `ls` here, you will notice there is an example directory with an " +"example recipe for you to look at." msgstr "ここで `ls` を実行すると、レシピ例のあるexampleディレクトリがあることに気づくでしょう。" #: ../../tutorials/publish-conda-forge.md:185 @@ -4337,9 +4322,10 @@ msgstr "`grayskull pypi your-package-name` のステップを実行するには #: ../../tutorials/publish-conda-forge.md:233 msgid "" -"When you run grayskull, it will grab the latest distribution of your " -"package from PyPI and will use that to create a new recipe." -msgstr "grayskullを実行すると、PyPIからあなたのパッケージの最新のディストリビューションを取得し、それを使って新しいレシピを作成します。" +"When you run grayskull, it will grab the latest distribution of your package" +" from PyPI and will use that to create a new recipe." +msgstr "" +"grayskullを実行すると、PyPIからあなたのパッケージの最新のディストリビューションを取得し、それを使って新しいレシピを作成します。" #: ../../tutorials/publish-conda-forge.md:235 msgid "" @@ -4361,7 +4347,8 @@ msgstr "grayskull 出力の一番下にある、レシピファイルの保存 msgid "" "Open the meta.yaml file. The finished `meta.yaml` file that grayskull " "creates should look like the example below:" -msgstr "meta.yaml ファイルを開きます。 grayskullが作成する完成した `meta.yaml` ファイルは、以下の例のようになるはずです:" +msgstr "" +"meta.yaml ファイルを開きます。 grayskullが作成する完成した `meta.yaml` ファイルは、以下の例のようになるはずです:" #: ../../tutorials/publish-conda-forge.md:289 msgid "Step 3b: Bug fix - add a home url to the about: section" @@ -4370,14 +4357,14 @@ msgstr "ステップ 3b: バグフィクス - about:セクションにホームU #: ../../tutorials/publish-conda-forge.md:291 msgid "" "There is currently a small bug in Grayskull where it doesn't populate the " -"home: element of the recipe. If you don't include this, [you will receive " -"an error message](https://github.com/conda-forge/staged-" +"home: element of the recipe. If you don't include this, [you will receive an" +" error message](https://github.com/conda-forge/staged-" "recipes/pull/25173#issuecomment-1917916528) from the friendly conda-forge " "linter bot." msgstr "" -"現在Grayskullには、レシピの home: 要素が入力されないという小さなバグがあります。これを入れないと、フレンドリーな conda-" -"forge linter bot から [エラーメッセージが表示されます](https://github.com/conda-forge" -"/staged-recipes/pull/25173#issuecomment-1917916528) 。" +"現在Grayskullには、レシピの home: 要素が入力されないという小さなバグがあります。これを入れないと、フレンドリーな conda-forge" +" linter bot から [エラーメッセージが表示されます](https://github.com/conda-forge/staged-" +"recipes/pull/25173#issuecomment-1917916528) 。" #: ../../tutorials/publish-conda-forge.md:305 msgid "to fix this, open your meta.yaml file in your favorite text editor." @@ -4393,8 +4380,8 @@ msgstr "レシピを作成すると、aboutセクションはこのようにな #: ../../tutorials/publish-conda-forge.md:318 msgid "" -"Below you add a home: element. If you have a project home page / website " -"you can use that url. Otherwise, you can also use your PyPI landing page." +"Below you add a home: element. If you have a project home page / website you" +" can use that url. Otherwise, you can also use your PyPI landing page." msgstr "" "以下で home: element " "を追加します。プロジェクトのホームページやウェブサイトがあれば、そのURLを使うことができます。そうでなければ、PyPIのランディングページを使うこともできます。" @@ -4414,14 +4401,14 @@ msgstr "" #: ../../tutorials/publish-conda-forge.md:333 msgid "" -"`pip check` will ensure that your package installs properly with all of the" -" proper dependencies." +"`pip check` will ensure that your package installs properly with all of the " +"proper dependencies." msgstr "`pip check` は、あなたのパッケージが適切な依存関係をすべて持って正しくインストールされることを保証します。" #: ../../tutorials/publish-conda-forge.md:345 msgid "" -"If you have more advanced tests that you wish to run, you can add them " -"here. However, you can also simply leave the tests section as it is." +"If you have more advanced tests that you wish to run, you can add them here." +" However, you can also simply leave the tests section as it is." msgstr "さらに高度なテストを実施したい場合は、ここに追加することができます。 しかし、テストセクションをそのままにしておくこともできます。" #: ../../tutorials/publish-conda-forge.md:347 @@ -4432,7 +4419,8 @@ msgstr "ステップ 4: staged-recipesリポジトリにプルリクエストを msgid "" "Once you have completed all of the above, you are ready to open up a pull " "request in the `conda-forge/staged-recipes repository`." -msgstr "上記がすべて完了したら、 `conda-forge/staged-recipes repository` でプルリクエストを開く準備ができました。" +msgstr "" +"上記がすべて完了したら、 `conda-forge/staged-recipes repository` でプルリクエストを開く準備ができました。" #: ../../tutorials/publish-conda-forge.md:351 msgid "" @@ -4488,8 +4476,8 @@ msgstr "" #: ../../tutorials/publish-conda-forge.md:372 msgid "" -"-[x] License file is packaged (see [here](https://github.com/conda-forge" -"/staged-" +"-[x] License file is packaged (see [here](https://github.com/conda-" +"forge/staged-" "recipes/blob/5eddbd7fc9d1502169089da06c3688d9759be978/recipes/example/meta.yaml#L64-L73)" " for an example)." msgstr "" @@ -4508,8 +4496,8 @@ msgid "" msgstr "" "**翻訳:** パッケージのソース配布物にLICENSEファイルを含める必要があります。 " "pyOpenSciチュートリアルに従ったのであれば、すでにLICENSEファイルがあり、MITライセンスを使っていると思われます。 `hatch " -"build` を実行すると、conda-forge がパッケージのビルドに使用する出力 [ソースディストリビューションファイル(tar.gz " -"ファイル) ](python-source-distribution) にそのファイルがバンドルされます。" +"build` を実行すると、conda-forge がパッケージのビルドに使用する出力 [ソースディストリビューションファイル(tar.gz ファイル)" +" ](python-source-distribution) にそのファイルがバンドルされます。" #: ../../tutorials/publish-conda-forge.md:376 msgid "[x] Source is from official source." @@ -4517,10 +4505,10 @@ msgstr "[x] ソースは公式ソースより。" #: ../../tutorials/publish-conda-forge.md:378 msgid "" -"**Translation:** If your package is on PyPI as you learned in the [previous" -" lesson on publishing your Python package](publish-pypi) then you are in " -"good shape. conda-forge prefers that your distribution is published to a " -"known repository." +"**Translation:** If your package is on PyPI as you learned in the [previous " +"lesson on publishing your Python package](publish-pypi) then you are in good" +" shape. conda-forge prefers that your distribution is published to a known " +"repository." msgstr "" "**翻訳:** [Pythonパッケージの公開に関する前回のレッスン](publish-pypi) " "で学んだように、あなたのパッケージがPyPI上にあるのであれば、問題はありません。 conda-" @@ -4529,8 +4517,8 @@ msgstr "" #: ../../tutorials/publish-conda-forge.md:380 msgid "" "-[x] Package does not vendor other packages. (If a package uses the source " -"of another package, they should be separate packages or the licenses of all" -" packages need to be packaged)." +"of another package, they should be separate packages or the licenses of all " +"packages need to be packaged)." msgstr "" "-[x] パッケージは他のパッケージをベンダリングしません。 " "(あるパッケージが他のパッケージのソースを使用している場合、これらは別々のパッケージにするか、すべてのパッケージのライセンスをパッケージ化する必要があります)。" @@ -4548,15 +4536,14 @@ msgstr "" #: ../../tutorials/publish-conda-forge.md:384 msgid "" -"-[x] If static libraries are linked in, the license of the static library " -"is packaged." +"-[x] If static libraries are linked in, the license of the static library is" +" packaged." msgstr "-[x] スタティックライブラリーがリンクされている場合、スタティックライブラリーのライセンスがパッケージされます。" #: ../../tutorials/publish-conda-forge.md:386 msgid "" -"-[x] Package does not ship static libraries. If static libraries are " -"needed, [follow CFEP-18](https://github.com/conda-" -"forge/cfep/blob/main/cfep-18.md)." +"-[x] Package does not ship static libraries. If static libraries are needed," +" [follow CFEP-18](https://github.com/conda-forge/cfep/blob/main/cfep-18.md)." msgstr "" "-[x] パッケージには静的ライブラリは同梱されていません。静的ライブラリーが必要な場合、 [CFEP-18 " "に従います](https://github.com/conda-forge/cfep/blob/main/cfep-18.md)." @@ -4576,14 +4563,16 @@ msgid "" "The pyOpenSci tutorials are all pure Python and as such do not use static " "libraries in a linked or shipped (included in the package distribution) " "format." -msgstr "pyOpenSciチュートリアルはすべて純粋なPythonであり、リンクされた、あるいは出荷された(パッケージ配布に含まれる)形式の静的ライブラリは使用しません。" +msgstr "" +"pyOpenSciチュートリアルはすべて純粋なPythonであり、リンクされた、あるいは出荷された(パッケージ配布に含まれる)形式の静的ライブラリは使用しません。" #: ../../tutorials/publish-conda-forge.md:392 msgid "" "If your package has a more complex build that includes links to extensions " "written in other languages such as C++, then be sure to include the proper " "licenses for those extensions in your metadata." -msgstr "あなたのパッケージが、C++のような他の言語で書かれた拡張機能へのリンクを含む、より複雑なビルドを持つ場合は、メタデータにそれらの拡張機能の適切なライセンスを含めるようにしてください。" +msgstr "" +"あなたのパッケージが、C++のような他の言語で書かれた拡張機能へのリンクを含む、より複雑なビルドを持つ場合は、メタデータにそれらの拡張機能の適切なライセンスを含めるようにしてください。" #: ../../tutorials/publish-conda-forge.md:397 msgid "" @@ -4612,8 +4601,8 @@ msgstr "" #: ../../tutorials/publish-conda-forge.md:415 msgid "" "[x] A tarball (`url`) rather than a repo (e.g. `git_url`) is used in your " -"recipe (see [here](https://conda-" -"forge.org/docs/maintainer/adding_pkgs.html) for more details)." +"recipe (see [here](https://conda-forge.org/docs/maintainer/adding_pkgs.html)" +" for more details)." msgstr "" "[x] レシピでは、リポジトリ (例 `git_url` ) ではなく、tarball (`url`) を使用します。 (詳細は " "[こちら](https://conda-forge.org/docs/maintainer/adding_pkgs.html))。" @@ -4623,8 +4612,8 @@ msgid "" "**Translation:** Here conda wants you to provide a link to the source " "distribution on PyPI rather than a link to your GitHub repository " "distribution. Notice above in the Source section of your recipe there is a " -"`url:` section that provides a PyPI url that ends in tar.gz. That is a link" -" to your source distribution that conda-forge will use." +"`url:` section that provides a PyPI url that ends in tar.gz. That is a link " +"to your source distribution that conda-forge will use." msgstr "" "**翻訳:** " "ここでcondaは、あなたのGitHubリポジトリ配布へのリンクではなく、PyPI上のソース配布へのリンクを提供することを望んでいます。レシピのSourceセクションに" @@ -4649,9 +4638,9 @@ msgstr "" #: ../../tutorials/publish-conda-forge.md:427 msgid "" -"[x] When in trouble, please check our [knowledge base documentation](https" -"://conda-forge.org/docs/maintainer/knowledge_base.html) before pinging a " -"team." +"[x] When in trouble, please check our [knowledge base " +"documentation](https://conda-forge.org/docs/maintainer/knowledge_base.html) " +"before pinging a team." msgstr "" "[x] 問題が発生した場合は、チームに問い合わせる前に [ナレッジベースのドキュメント](https://conda-" "forge.org/docs/maintainer/knowledge_base.html) を確認してください。" @@ -4673,9 +4662,9 @@ msgstr "これが、練習としてconda-forgeに公開することをお勧め #: ../../tutorials/publish-conda-forge.md:435 msgid "" -"Once you create your pull request, a suite of CI actions will run that " -"build and test the build of your package. A conda-forge maintainer will " -"work with you to get your recipe in good shape and merged." +"Once you create your pull request, a suite of CI actions will run that build" +" and test the build of your package. A conda-forge maintainer will work with" +" you to get your recipe in good shape and merged." msgstr "" "プルリクエストを作成すると、一連のCIアクションがビルドを実行し、パッケージのビルドをテストします。 conda-" "forgeのメンテナーは、あなたのレシピを良い状態にしてマージするためにあなたと協力します。" @@ -4688,17 +4677,17 @@ msgstr "プルリクエストを作成した後、GitHubのインターフェイ #: ../../tutorials/publish-conda-forge.md:441 msgid "" -"Wait until all of the CI steps in your pull request have run. At that point" -" your pull request is ready for review by a conda-forge maintainer." +"Wait until all of the CI steps in your pull request have run. At that point " +"your pull request is ready for review by a conda-forge maintainer." msgstr "" "プルリクエストのCIステップがすべて実行されるまで待ちます。 この時点で、あなたのプルリクエストはconda-" "forgeのメンテナによるレビューの準備が整いました。" #: ../../tutorials/publish-conda-forge.md:444 msgid "" -"In some cases getting all of the checks to run successfully in CI might " -"take a bit of work. If you are struggling to get your recipe to build " -"properly, you can ping the conda-forge maintainer team for help." +"In some cases getting all of the checks to run successfully in CI might take" +" a bit of work. If you are struggling to get your recipe to build properly, " +"you can ping the conda-forge maintainer team for help." msgstr "" "場合によっては、CIですべてのチェックを成功させるには、少し手間がかかるかもしれません。 レシピがうまくビルドできない場合は、conda-forge " "メンテナチームに助けを求めてください。" @@ -4725,17 +4714,17 @@ msgstr "" #: ../../tutorials/publish-conda-forge.md:453 msgid "" "So if tests for Windows and MAC OS fail, that is to be expected. In this " -"case, don't worry about failing tests, the maintainer team can help you get" -" your package published." +"case, don't worry about failing tests, the maintainer team can help you get " +"your package published." msgstr "" "そのため、WindowsとMAC OSのテストが失敗したとしても、それは予想されることです。 " "この場合、テストの失敗を心配する必要はありません。メンテナチームが、あなたのパッケージが公開されるよう手助けしてくれます。" #: ../../tutorials/publish-conda-forge.md:456 msgid "" -"Once you have submitted your recipe, you can wait for the CI build to pass." -" If it's not passing, and you aren't sure why, a conda-forge maintainer can" -" likely help you figure things out." +"Once you have submitted your recipe, you can wait for the CI build to pass. " +"If it's not passing, and you aren't sure why, a conda-forge maintainer can " +"likely help you figure things out." msgstr "" "レシピを提出したら、CIビルドが通過するのを待つことができます。 もしそれが通らず、その理由がわからない場合は、conda-" "forgeのメンテナーが解決してくれるでしょう。" @@ -4752,8 +4741,8 @@ msgstr "" #: ../../tutorials/publish-conda-forge.md:460 msgid "" -" Congratulations - you " -"have added your package to conda-forge. Congratulations - you have" +" added your package to conda-forge." msgstr "" " おめでとう - パッケージをconda-" @@ -4781,17 +4770,17 @@ msgstr "" #: ../../tutorials/publish-conda-forge.md:469 msgid "" "Once the conda-forge build is complete, all of the maintainers of your " -"conda-forge feedstock will get a ping on GitHub that a new pull request has" -" been opened." +"conda-forge feedstock will get a ping on GitHub that a new pull request has " +"been opened." msgstr "" "conda-forgeのビルドが完了すると、 conda-forge feedstock " "の全メンテナにGitHubで新しいプルリクエストが開かれたことが通知されます。" #: ../../tutorials/publish-conda-forge.md:471 msgid "" -"Review the pull request. If all tests are passing, you can merge it. " -"Shortly after merging your pull request, the conda-forge release will be " -"available for users to install:" +"Review the pull request. If all tests are passing, you can merge it. Shortly" +" after merging your pull request, the conda-forge release will be available " +"for users to install:" msgstr "" "プルリクエストを確認します。すべてのテストがパスすれば、マージできます。あなたのプルリクエストをマージした直後に、conda-forge " "リリースが利用可能になり、ユーザーはインストールできるようになります:" @@ -4816,8 +4805,8 @@ msgstr "[コードをPython環境にインストール可能にする方法](cre #: ../../tutorials/publish-conda-forge.md:481 msgid "" -"Know how to create a `pyproject.toml` file, a `README` file, and a " -"`LICENSE` and code of conduct." +"Know how to create a `pyproject.toml` file, a `README` file, and a `LICENSE`" +" and code of conduct." msgstr "`pyproject.toml` ファイル、 `README` ファイル、 `LICENSE` と行動規範の作成方法を知っている。" #: ../../tutorials/publish-conda-forge.md:482 @@ -4830,16 +4819,18 @@ msgstr "パッケージをconda-forgeに公開する方法を知ります" #: ../../tutorials/publish-conda-forge.md:485 msgid "" -"The above are the basic steps that you need to take to create and publish a" -" Python package. In a future tutorial series we will cover that basics of " +"The above are the basic steps that you need to take to create and publish a " +"Python package. In a future tutorial series we will cover that basics of " "maintaining your package." msgstr "" "以上が、Pythonパッケージを作成して公開するために必要な基本的な手順です。 " "今後のチュートリアルシリーズでは、パッケージのメンテナンスの基本について取り上げます。" #: ../../tutorials/publish-conda-forge.md:489 -msgid "[Grayskull blogpost](https://conda-forge.org/blog/2020/03/05/grayskull/)" -msgstr "[Grayskull blogpost](https://conda-forge.org/blog/2020/03/05/grayskull/)" +msgid "" +"[Grayskull blogpost](https://conda-forge.org/blog/2020/03/05/grayskull/)" +msgstr "" +"[Grayskull blogpost](https://conda-forge.org/blog/2020/03/05/grayskull/)" #: ../../tutorials/publish-conda-forge.md:490 msgid "[Pipx documentation](https://pipx.pypa.io/stable/)" @@ -4850,11 +4841,9 @@ msgid "Publish your Python package to PyPI" msgstr "PythonパッケージをPyPIに公開する" #: ../../tutorials/publish-pypi.md:11 -#, fuzzy -msgid "Make sure they add /dist to their .gitignore file. Where does that fit?" -msgstr "" -".gitignoreファイルに/distが追加されていることを確認してください。GitHubのワークフローについては、まだどこにも触れていません。 " -"それはどこに当てはまりますか?" +msgid "" +"Make sure they add /dist to their .gitignore file. Where does that fit?" +msgstr "ユーザーが .gitignore ファイルに /dist を追加していることを確認してください。これはどこに当てはまりますか?" #: ../../tutorials/publish-pypi.md:15 msgid "In the previous Python packaging lessons, you've learned:" @@ -4886,11 +4875,10 @@ msgid "Publish your package to TestPyPI and PyPI" msgstr "パッケージをTestPyPIとPyPIに公開する" #: ../../tutorials/publish-pypi.md:31 -#, fuzzy msgid "" "You will do all of your development work in this lesson using [Hatch](get-" "to-know-hatch)." -msgstr "このレッスンでは、すべての開発作業を [Hatch](https://hatch.pypa.io/latest/) を使って行います。" +msgstr "このレッスンでは、すべての開発作業を [Hatch](get-to-know-hatch) を使って行います。" #: ../../tutorials/publish-pypi.md:34 msgid "" @@ -4910,25 +4898,24 @@ msgstr "conda-forgeに公開する方法は [次のレッスン](publish-conda-f msgid "" "Graphic showing the high level packaging workflow. On the left you see a " "graphic with code, metadata and tests in it. Those items all go into your " -"package. An arrow to the right takes you to a build distribution files box." -" Another arrow to the right takes you to a publish to PyPI box which has an" -" arrow containing sdist and wheel that notes those files go to PyPI for " +"package. An arrow to the right takes you to a build distribution files box. " +"Another arrow to the right takes you to a publish to PyPI box which has an " +"arrow containing sdist and wheel that notes those files go to PyPI for " "hosting. From PyPI is an arrow containing sdist since you can then connect " -"to conda-forge for an automated build that sends distributions from PyPI to" -" conda-forge." +"to conda-forge for an automated build that sends distributions from PyPI to " +"conda-forge." msgstr "" "ハイレベルなパッケージングのワークフローを示すグラフィック。左側には、コード、メタデータ、テストが入ったグラフィックがあります。 " "これらのアイテムはすべてディストリビューションファイルボックスに入ります。 " -"右の矢印は、ビルド配布ファイルのボックスに移動します。右側の矢印をクリックすると、PyPIに公開するボックスが表示され、sdistとwheelを含む矢印が表示されます" -"。PyPIからconda-forgeに接続することで、PyPIからconda-" -"forgeにディストリビューションを送る自動ビルドを行うことができるからです。" +"右の矢印は、ビルド配布ファイルのボックスに移動します。右側の矢印をクリックすると、PyPIに公開するボックスが表示され、sdistとwheelを含む矢印が表示されます。PyPIからconda-" +"forgeに接続することで、PyPIからconda-forgeにディストリビューションを送る自動ビルドを行うことができるからです。" #: ../../tutorials/publish-pypi.md:43 msgid "" "You need to build your Python package in order to publish it to PyPI (or " "Conda). The build process organizes your code and metadata into a " -"distribution format that can be uploaded to PyPI and subsequently " -"downloaded and installed by users." +"distribution format that can be uploaded to PyPI and subsequently downloaded" +" and installed by users." msgstr "" "PythonパッケージをPyPI(またはConda)に公開するには、ビルドする必要があります。ビルドプロセスは、あなたのコードとメタデータをPyPIにアップロードできる配布フォーマットに整理し、その後ユーザーがダウンロードしてインストールできるようにします。" " " @@ -4939,8 +4926,8 @@ msgstr "TestPyPI vs PyPI" #: ../../tutorials/publish-pypi.md:48 msgid "" -"There are two repositories associated with PyPI to which you can upload " -"your Python package." +"There are two repositories associated with PyPI to which you can upload your" +" Python package." msgstr "PyPIには、Pythonパッケージをアップロードできる2つのリポジトリがあります。" #: ../../tutorials/publish-pypi.md:51 @@ -4948,8 +4935,8 @@ msgid "" "**[TestPyPI](https://test.pypi.org):** TestPyPI is a package repository " "provided by PyPI that you can use for testing that your package can be " "uploaded, downloaded, and installed correctly. This is a great place to " -"practice and learn how to publish a package without exposing your " -"incomplete package on the real PyPI service." +"practice and learn how to publish a package without exposing your incomplete" +" package on the real PyPI service." msgstr "" "**[TestPyPI](https://test.pypi.org):** " "TestPyPIはPyPIが提供するパッケージリポジトリで、あなたのパッケージが正しくアップロード、ダウンロード、インストールできるかをテストするために使用できます。これは、実際のPyPIサービスに不完全なパッケージを公開することなく、パッケージを公開する方法を学び、練習するのに最適な場所です。" @@ -4958,10 +4945,10 @@ msgstr "" msgid "" "**[PyPI](https://pypi.org):** This is the live, production PyPI repository " "where you can officially publish your Python package, and from which users " -"will get your package. IMPORTANT: Only publish your package to PyPI when " -"you are ready for it to be used by others and/or confident that it will " -"become a package that you will maintain. PyPI is not a place to practice " -"learning how to publish a Python package." +"will get your package. IMPORTANT: Only publish your package to PyPI when you" +" are ready for it to be used by others and/or confident that it will become " +"a package that you will maintain. PyPI is not a place to practice learning " +"how to publish a Python package." msgstr "" "**[PyPI](https://pypi.org):** これは、あなたが公式に Python " "パッケージを公開でき、ユーザがあなたのパッケージを取得できる、本番用の PyPI リポジトリです。重要: " @@ -4970,8 +4957,8 @@ msgstr "" #: ../../tutorials/publish-pypi.md:54 msgid "" -"The steps for publishing on TestPyPI vs. PyPI are similar with the " -"exception of a different url. We will point out where they differ." +"The steps for publishing on TestPyPI vs. PyPI are similar with the exception" +" of a different url. We will point out where they differ." msgstr "TestPyPIとPyPIで公開する手順は、URLが異なることを除いて似ています。両者の相違点を指摘します。" #: ../../tutorials/publish-pypi.md:57 @@ -4980,9 +4967,9 @@ msgstr "TestPyPI (またはPyPI)でPythonパッケージを公開するための #: ../../tutorials/publish-pypi.md:59 msgid "" -"In this lesson you will learn how to publish your package to TestPyPI using" -" [Hatch](https://hatch.pypa.io/latest/). There are 4 things that you need " -"to do to publish your Python package: to TestPyPI. You need to:" +"In this lesson you will learn how to publish your package to TestPyPI using " +"[Hatch](https://hatch.pypa.io/latest/). There are 4 things that you need to " +"do to publish your Python package: to TestPyPI. You need to:" msgstr "" "このレッスンでは、 [Hatch](https://hatch.pypa.io/latest/) " "を使ってパッケージをTestPyPIに公開する方法を学びます。 Pythonパッケージを公開するために必要なことは4つあります: " @@ -4993,44 +4980,43 @@ msgid "**Create a package development environment**" msgstr "**パッケージ開発環境の構築**" #: ../../tutorials/publish-pypi.md:65 -#, fuzzy, python-brace-format +#, python-brace-format msgid "" -"[**Build your package using `hatch build`**](../package-structure-code" -"/python-package-distribution-files-sdist-wheel). Building a package is the " -"process of turning your code into two types of distribution files: sdist " -"and wheel. The wheel distribution file is particularly important for users " +"[**Build your package using `hatch build`**](../package-structure-" +"code/python-package-distribution-files-sdist-wheel). Building a package is " +"the process of turning your code into two types of distribution files: sdist" +" and wheel. The wheel distribution file is particularly important for users " "who will use {term}`pip` to install your package." msgstr "" "[**`hatch build` を使ってパッケージをビルドします**](../package-structure-code/python-" -"package-distribution-files-sdist-wheel)。 " -"パッケージのビルドは、コードを2種類の配布ファイルに変換するプロセスです: sdistとwheel。wheel配布ファイルは、あなたのパッケージを " -"`pip install` するユーザーにとって特に重要です。" +"package-distribution-files-sdist-wheel)。パッケージのビルドは、コードを sdist と wheel " +"という2種類の配布ファイルに変換するプロセスです。wheel 配布ファイルは、{term}`pip` " +"を使ってパッケージをインストールするユーザーにとって特に重要です。" #: ../../tutorials/publish-pypi.md:66 -#, fuzzy, python-brace-format +#, python-brace-format msgid "" "**Create an account on TestPyPI (or PyPI)**: You will need to create a " -"TestPyPI account and associated {term}`API token` which provides " -"permissions for you to upload your package. When you later publish your " -"package to PyPI, you will need a separate PyPI account and token." +"TestPyPI account and associated {term}`API token` which provides permissions" +" for you to upload your package. When you later publish your package to " +"PyPI, you will need a separate PyPI account and token." msgstr "" -"**TestPyPI (またはPyPI)でアカウントを作成します**: " -"TestPyPIアカウントと、パッケージをアップロードするためのパーミッションを提供する関連トークンを作成する必要があります。 " -"後でパッケージをPyPIに公開するときは、別のPyPIアカウントとトークンが必要になります。" +"**TestPyPI (または PyPI) でアカウントを作成します**:TestPyPI アカウントと、パッケージをアップロードする権限を提供する " +"{term}`API token` を作成する必要があります。後でパッケージを PyPI に公開するときは、別の PyPI " +"アカウントとトークンが必要になります。" #: ../../tutorials/publish-pypi.md:67 msgid "**Publish to TestPyPI using `hatch publish`**" msgstr "** `hatch publish` を使用してTestPyPIにパブリッシュする**" #: ../../tutorials/publish-pypi.md:69 -#, fuzzy msgid "" "In a [future lesson](trusted-publishing), you will learn how to create an " -"automated GitHub Actions workflow that publishes an updated version of your" -" package to PyPI every time you create a GitHub release." +"automated GitHub Actions workflow that publishes an updated version of your " +"package to PyPI every time you create a GitHub release." msgstr "" -"今後のレッスンでは、GitHub リリースを作成するたびにパッケージの更新版を PyPI に公開する、自動化された GitHub Actions " -"のワークフローを作成する方法を学びます。" +"[今後のレッスン](trusted-publishing) では、GitHub リリースを作成するたびに更新版のパッケージを PyPI " +"に公開する、自動化された GitHub Actions ワークフローを作成する方法を学びます。" #: ../../tutorials/publish-pypi.md:71 msgid "Learn more about building Python packages in our guide" @@ -5053,8 +5039,7 @@ msgstr "[PyPIが必要とするwheelと呼ばれるパッケージ配布ファ #: ../../tutorials/publish-pypi.md:77 msgid "" "[Learn more about the package distribution file that conda-forge will need " -"on PyPI called the sdist (source distribution)](#python-source-" -"distribution)" +"on PyPI called the sdist (source distribution)](#python-source-distribution)" msgstr "" "[PyPIでconda-forgeが必要とするsdist (ソースディストリビューション) " "と呼ばれるパッケージ配布ファイルについてはこちらを参照してください](#python-source-distribution)" @@ -5068,7 +5053,8 @@ msgid "" "The first step in building your package is to create a development " "environment. The Python environment will contain all of the dependencies " "needed to both install and work on your package." -msgstr "パッケージ構築の最初のステップは、開発環境を作ることだ。Python環境には、あなたのパッケージのインストールと作業の両方に必要な依存関係がすべて含まれています。" +msgstr "" +"パッケージ構築の最初のステップは、開発環境を作ることだ。Python環境には、あなたのパッケージのインストールと作業の両方に必要な依存関係がすべて含まれています。" #: ../../tutorials/publish-pypi.md:84 msgid "Use Hatch to create your environment." @@ -5080,9 +5066,9 @@ msgstr "次に、Hatchがアクセスできる現在の環境をすべて表示 #: ../../tutorials/publish-pypi.md:104 msgid "" -"Then activate the environment. Note that when you call a shell from a Hatch" -" environment, it will automatically install your package into the " -"environment in development or editable mode." +"Then activate the environment. Note that when you call a shell from a Hatch " +"environment, it will automatically install your package into the environment" +" in development or editable mode." msgstr "" "そして環境をアクティブにします。 " "Hatch環境からシェルを呼び出すと、開発モードまたは編集可能モードで、あなたのパッケージが自動的に環境にインストールされることに注意してください。" @@ -5157,16 +5143,16 @@ msgstr "" "には、あなたのパッケージを構成するファイルが、ビルドされていない状態で含まれています。 このファイルの拡張子は `.tar.gz` となります。" #: ../../tutorials/publish-pypi.md:161 -#, fuzzy msgid "" -"You will use Hatch as a **Front end** tool that builds your package's sdist" -" and wheel using the [hatchling](https://hatch.pypa.io/latest/) build back-" +"You will use Hatch as a **Front end** tool that builds your package's sdist " +"and wheel using the [hatchling](https://hatch.pypa.io/latest/) build back-" "end. The hatchling build back-end is used because you declared it in your " "pyproject.toml file in the [previous lesson](create-python-package)." msgstr "" -"Hatchを **フロントエンド** ツールとして使い、hatchlingビルドバックエンドを使ってパッケージのsdistとwheelをビルドします。" -" [hatchling](https://hatch.pypa.io/latest/) ビルドバックエンドを使用するのは、 [前のレッスン" -"](create-python-package)でpyproject.tomlファイルで宣言したからです。" +"Hatch を **フロントエンド** ツールとして使い、[hatchling](https://hatch.pypa.io/latest/) " +"ビルドバックエンドでパッケージの sdist と wheel をビルドします。hatchling " +"ビルドバックエンドを使うのは、[前のレッスン](create-python-package) で pyproject.toml " +"ファイルで宣言したからです。" #: ../../tutorials/publish-pypi.md:165 msgid "To build your package run `hatch build`:" @@ -5178,16 +5164,17 @@ msgstr "Pythonパッケージのビルドについて" #: ../../tutorials/publish-pypi.md:178 msgid "" -"You can learn more about building in the [build page of our packaging guide" -"](../package-structure-code/python-package-distribution-files-sdist-wheel)." +"You can learn more about building in the [build page of our packaging " +"guide](../package-structure-code/python-package-distribution-files-sdist-" +"wheel)." msgstr "" "ビルドについては、 [パッケージングガイドのビルドのページ](../package-structure-code/python-package-" "distribution-files-sdist-wheel) で詳しく説明しています。" #: ../../tutorials/publish-pypi.md:182 msgid "" -"The sdist is important if you wish to [publish your package to conda-forge" -"](publish-conda-forge). You will learn about this in a later lesson." +"The sdist is important if you wish to [publish your package to conda-" +"forge](publish-conda-forge). You will learn about this in a later lesson." msgstr "" "sdistは、conda-forgeにパッケージを [公開する場合に重要です](publish-conda-forge) " "。これについては後のレッスンで学びます。" @@ -5197,14 +5184,12 @@ msgid "" "➜ hatch build ────────────────────────────────────── sdist " "────────────────────────────────────── dist/pyospackage-0.1.tar.gz " "────────────────────────────────────── wheel " -"────────────────────────────────────── dist/pyospackage-0.1-py3-none-" -"any.whl" +"────────────────────────────────────── dist/pyospackage-0.1-py3-none-any.whl" msgstr "" "➜ hatch build ────────────────────────────────────── sdist " "────────────────────────────────────── dist/pyospackage-0.1.tar.gz " "────────────────────────────────────── wheel " -"────────────────────────────────────── dist/pyospackage-0.1-py3-none-" -"any.whl" +"────────────────────────────────────── dist/pyospackage-0.1-py3-none-any.whl" #: ../../tutorials/publish-pypi.md:193 msgid "" @@ -5218,8 +5203,8 @@ msgstr "" #: ../../tutorials/publish-pypi.md:195 msgid "" "You've now built your Python package and created your package distribution " -"files. The next step is to setup your account on TestPyPI so you can " -"publish your package." +"files. The next step is to setup your account on TestPyPI so you can publish" +" your package." msgstr "" "これで Python " "パッケージをビルドし、パッケージ配布ファイルを作成しました。次のステップは、TestPyPIのアカウントをセットアップして、パッケージを公開できるようにすることです。" @@ -5250,8 +5235,8 @@ msgid "" "-r test` which publishes to TestPyPI." msgstr "" "もしあなたがPyPIに属していると確信しているパッケージを持っているなら、以下の手順はすべてあなたにも有効です。 Hatch " -"を使って公開する場合、TestPyPI に公開する `hatch publish -r test` ではなく、直接 PyPI に公開する `hatch" -" publish` を呼び出します。" +"を使って公開する場合、TestPyPI に公開する `hatch publish -r test` ではなく、直接 PyPI に公開する `hatch " +"publish` を呼び出します。" #: ../../tutorials/publish-pypi.md:208 msgid "" @@ -5264,9 +5249,8 @@ msgid "" "[Create an account](https://test.pypi.org/account/register/) if you don't " "already have one. Be sure to store your password in a safe place!" msgstr "" -"まだアカウントをお持ちでない方は、 " -"[アカウントを作成してください。](https://test.pypi.org/account/register/) " -"パスワードは必ず安全な場所に保管してください!" +"まだアカウントをお持ちでない方は、 [アカウントを作成してください。](https://test.pypi.org/account/register/)" +" パスワードは必ず安全な場所に保管してください!" #: ../../tutorials/publish-pypi.md:210 msgid "Once you have an account setup, login to it." @@ -5275,8 +5259,8 @@ msgstr "アカウントを設定したら、ログインしてください。" #: ../../tutorials/publish-pypi.md:211 msgid "" "Search on [https://test.pypi.org/](https://test.pypi.org/) (and also on " -"[https://pypi.org/](https://pypi.org/)) to ensure that the package name " -"that you have selected doesn't already exist. If you are using our test " +"[https://pypi.org/](https://pypi.org/)) to ensure that the package name that" +" you have selected doesn't already exist. If you are using our test " "pyosPackage, then we suggest that you add your name or GitHub username to " "the end of the package name to ensure it's unique." msgstr "" @@ -5343,17 +5327,19 @@ msgstr "GitHubリポジトリ名を新しいパッケージ名に合わせて更 msgid "" "Update your local project folder to match the new package name (e.g. " "`pyospackage_yourNameHere/src`)" -msgstr "ローカルのプロジェクトフォルダを新しいパッケージ名に合わせて更新します (例: `pyospackage_yourNameHere/src` )。" +msgstr "" +"ローカルのプロジェクトフォルダを新しいパッケージ名に合わせて更新します (例: `pyospackage_yourNameHere/src` )。" #: ../../tutorials/publish-pypi.md:231 -msgid "Update mentions of your repository name in other files (e.g. `README.md`)" +msgid "" +"Update mentions of your repository name in other files (e.g. `README.md`)" msgstr "他のファイル (例えば `README.md` ) のリポジトリ名の記述を更新します。" #: ../../tutorials/publish-pypi.md:235 msgid "" -"This is a screenshot of the TestPyPI website. At the top in the search bar," -" you can see the search for pyosPackage. The search return says there were " -"no results for pyosPackage Did you mean probpackage" +"This is a screenshot of the TestPyPI website. At the top in the search bar, " +"you can see the search for pyosPackage. The search return says there were no" +" results for pyosPackage Did you mean probpackage" msgstr "" "これはTestPyPIのウェブサイトのスクリーンショットです。 検索バーの一番上にpyosPackageの検索があります。pyosPackage " "の検索結果はありませんでした。 probpackageのことですか?" @@ -5361,9 +5347,10 @@ msgstr "" #: ../../tutorials/publish-pypi.md:237 msgid "" "Before you try to upload to TestPyPI, check to see if the name of your " -"package is already taken. You can do that using the search box at the top " -"of the TestPyPI website." -msgstr "TestPyPIにアップロードしようとする前に、あなたのパッケージの名前がすでに使われていないか確認してください。TestPyPIのウェブサイトの上部にある検索ボックスを使って検索することができます。" +"package is already taken. You can do that using the search box at the top of" +" the TestPyPI website." +msgstr "" +"TestPyPIにアップロードしようとする前に、あなたのパッケージの名前がすでに使われていないか確認してください。TestPyPIのウェブサイトの上部にある検索ボックスを使って検索することができます。" #: ../../tutorials/publish-pypi.md:241 msgid "Setup 2-factor (2FA) authentication" @@ -5373,24 +5360,25 @@ msgstr "2ファクタ (2FA) 認証の設定" msgid "" "2-factor authentication is a secure login process that allows you to use a " "backup device that only you can access to validate that the person logging " -"in is really you. It addresses the issue of password phishing where someone" -" else gains access to a password and can login to your account." -msgstr "2要素認証とは、自分だけがアクセスできるバックアップデバイスを使用して、ログインする人が本当に自分であることを確認できる安全なログインプロセスです。他人がパスワードにアクセスし、あなたのアカウントにログインできるようにするパスワードフィッシングの問題に対処します。" +"in is really you. It addresses the issue of password phishing where someone " +"else gains access to a password and can login to your account." +msgstr "" +"2要素認証とは、自分だけがアクセスできるバックアップデバイスを使用して、ログインする人が本当に自分であることを確認できる安全なログインプロセスです。他人がパスワードにアクセスし、あなたのアカウントにログインできるようにするパスワードフィッシングの問題に対処します。" #: ../../tutorials/publish-pypi.md:246 msgid "" -"This matters on PyPI because someone could login to your account and upload" -" a version of your package that has security issues. These issues will then" -" impact all of your users when they download and install that version of " -"the package." +"This matters on PyPI because someone could login to your account and upload " +"a version of your package that has security issues. These issues will then " +"impact all of your users when they download and install that version of the " +"package." msgstr "" "なぜなら、誰かがあなたのアカウントにログインして、セキュリティ上の問題があるバージョンのパッケージをアップロードする可能性があるからです。 " "これらの問題は、そのバージョンのパッケージをダウンロードしてインストールする際に、すべてのユーザーに影響を与えます。" #: ../../tutorials/publish-pypi.md:248 msgid "" -"2-factor authentication is required for PyPI authentication as of 1 January" -" 2024." +"2-factor authentication is required for PyPI authentication as of 1 January " +"2024." msgstr "2024年1月1日からPyPI認証に2要素認証が必要になりました。" #: ../../tutorials/publish-pypi.md:252 @@ -5401,8 +5389,8 @@ msgstr "ステップ4. パッケージアップロードトークンを作成す msgid "" "To upload your package to TestPyPI (or PyPI), you will need to create a " "token for your account first, and should then create a package-specific " -"token. (If you completed this step previously, you can reuse the tokens " -"when you upload your package again.)" +"token. (If you completed this step previously, you can reuse the tokens when" +" you upload your package again.)" msgstr "" "パッケージをTestPyPI (またはPyPI) にアップロードするには、まず自分のアカウントのトークンを作成する必要があります。 " "(以前にこのステップを完了した場合は、パッケージを再度アップロードするときにトークンを再利用できます。)" @@ -5414,10 +5402,10 @@ msgstr "なぜパッケージ固有のトークンを作るのか?" #: ../../tutorials/publish-pypi.md:258 msgid "" "It's ideal to create a package-specific token. When you create an account-" -"wide token this allows anyone with access to the account to then access all" -" of your TestPyPI (or PyPI) projects. By creating a package-specific token," -" you are limiting the scope of the token to only your specific package. " -"This is just a safe way to set things up for you particularly if you are " +"wide token this allows anyone with access to the account to then access all " +"of your TestPyPI (or PyPI) projects. By creating a package-specific token, " +"you are limiting the scope of the token to only your specific package. This " +"is just a safe way to set things up for you particularly if you are " "collaborating with others on package development." msgstr "" "パッケージ固有のトークンを作るのが理想的です。 アカウントワイドトークンを作成すると、そのアカウントにアクセスできる人なら誰でも、TestPyPI " @@ -5425,9 +5413,8 @@ msgstr "" "パッケージ固有のトークンを作成することで、トークンのスコープを特定のパッケージのみに限定することができます。これは、特にパッケージ開発で他の人と共同作業する場合に、安全な設定方法です。" #: ../../tutorials/publish-pypi.md:261 -#, fuzzy msgid "Follow the steps below to create your token" -msgstr "以下の手順に従ってトークンを作成してください。" +msgstr "以下の手順に従ってトークンを作成してください" #: ../../tutorials/publish-pypi.md:263 msgid "Login to TestPyPI and go to your account settings" @@ -5444,14 +5431,15 @@ msgstr "**APIトークンの追加** ボタンをクリックしてください" #: ../../tutorials/publish-pypi.md:266 msgid "" "If you are new to using TestPyPI and don't have any packages there yet, OR " -"if you have other packages on TestPyPI but are uploading a new package, you" -" will need to create an account-wide token." -msgstr "TestPyPIを使うのが初めてで、まだパッケージを持っていない場合、またはTestPyPIに他のパッケージを持っていて、新しいパッケージをアップロードする場合、アカウントワイドトークンを作成する必要があります。" +"if you have other packages on TestPyPI but are uploading a new package, you " +"will need to create an account-wide token." +msgstr "" +"TestPyPIを使うのが初めてで、まだパッケージを持っていない場合、またはTestPyPIに他のパッケージを持っていて、新しいパッケージをアップロードする場合、アカウントワイドトークンを作成する必要があります。" #: ../../tutorials/publish-pypi.md:267 msgid "" -"When you create your token, be sure to copy the token value and store it in" -" a secure place before closing that browser." +"When you create your token, be sure to copy the token value and store it in " +"a secure place before closing that browser." msgstr "トークンを作成したら、ブラウザを閉じる前に必ずトークンの値をコピーし、安全な場所に保管してください。" #: ../../tutorials/publish-pypi.md:269 @@ -5463,7 +5451,8 @@ msgid "`pypi-abunchofrandomcharactershere...`" msgstr "`pypi-abunchofrandomcharactershere...`" #: ../../tutorials/publish-pypi.md:273 -msgid "It should start with `pypi` followed by a dash and a bunch of characters." +msgid "" +"It should start with `pypi` followed by a dash and a bunch of characters." msgstr "`pypi` で始まり、ダッシュとたくさんの文字が続くはずです。" #: ../../tutorials/publish-pypi.md:275 @@ -5489,12 +5478,14 @@ msgstr "" #: ../../tutorials/publish-pypi.md:284 msgid "" -"Add the word `__token__` for your username. This tells TestPyPI that you " -"are using a token value rather than a username." -msgstr "ユーザー名には `__token__` を追加してください。これはTestPyPIに、ユーザ名ではなくトークンの値を使用していることを伝えます。" +"Add the word `__token__` for your username. This tells TestPyPI that you are" +" using a token value rather than a username." +msgstr "" +"ユーザー名には `__token__` を追加してください。これはTestPyPIに、ユーザ名ではなくトークンの値を使用していることを伝えます。" #: ../../tutorials/publish-pypi.md:285 -msgid "Paste your TestPyPI token value in at the `Enter your credentials` prompt:" +msgid "" +"Paste your TestPyPI token value in at the `Enter your credentials` prompt:" msgstr "`Enter your credentials` プロンプトで TestPyPI トークンの値を貼り付けます:" #: ../../tutorials/publish-pypi.md:296 @@ -5518,16 +5509,17 @@ msgstr "TestPyPIからパッケージをインストールする" #: ../../tutorials/publish-pypi.md:305 msgid "" -"Once your package upload is complete, you can install it from TestPyPI. You" -" can find the installation instructions on the TestPyPI landing page for " -"your newly uploaded package." -msgstr "パッケージのアップロードが完了したら、TestPyPIからインストールできます。新しくアップロードしたパッケージのTestPyPIランディングページにインストール手順があります。" +"Once your package upload is complete, you can install it from TestPyPI. You " +"can find the installation instructions on the TestPyPI landing page for your" +" newly uploaded package." +msgstr "" +"パッケージのアップロードが完了したら、TestPyPIからインストールできます。新しくアップロードしたパッケージのTestPyPIランディングページにインストール手順があります。" #: ../../tutorials/publish-pypi.md:310 msgid "" -"A screenshot of the TestPyPI page for pyosPackage. It says pyosPackage " -"0.1.0 at the top with the pip install instructions below. The landing page " -"of the package has information from the package's README file." +"A screenshot of the TestPyPI page for pyosPackage. It says pyosPackage 0.1.0" +" at the top with the pip install instructions below. The landing page of the" +" package has information from the package's README file." msgstr "" "pyosPackageのTestPyPIページのスクリーンショット。 一番上にpyosPackage " "0.1.0と書いてあり、その下にpipのインストール方法が書いてあります。 " @@ -5535,10 +5527,10 @@ msgstr "" #: ../../tutorials/publish-pypi.md:312 msgid "" -"This is an example landing page for the pyosPackage that was just uploaded." -" Notice at the top of the page there are instructions for how to install " -"the package from TestPyPI. You can simply copy that code and use it to " -"install your package from TestPyPI locally." +"This is an example landing page for the pyosPackage that was just uploaded. " +"Notice at the top of the page there are instructions for how to install the " +"package from TestPyPI. You can simply copy that code and use it to install " +"your package from TestPyPI locally." msgstr "" "これはアップロードされたばかりのpyosPackageのランディングページの例です。 " "ページの一番上に、TestPyPIからパッケージをインストールする方法の説明があります。 " @@ -5547,8 +5539,8 @@ msgstr "" #: ../../tutorials/publish-pypi.md:315 msgid "" "As an example, [check out our pyOpenSci pyosPackage landing page on " -"TestPyPI](https://test.pypi.org/project/pyosPackage/). Notice that the page" -" has information about the current package version and also installation " +"TestPyPI](https://test.pypi.org/project/pyosPackage/). Notice that the page " +"has information about the current package version and also installation " "instructions as follows:" msgstr "" "例として、 [TestPyPIのpyOpenSci " @@ -5561,13 +5553,13 @@ msgstr "`python -m pip install -i https://test.pypi.org/simple/ pyosPackage`" #: ../../tutorials/publish-pypi.md:322 msgid "" -"Publishing to TestPyPI vs PyPI While you can install from TestPyPI it's not" -" recommended that you publish to TestPyPI as a permanent way to install " -"your package. In fact, you cannot, because TestPyPI may delete accounts " -"after a time. TestPyPI is a perfect place to learn how to publish your " -"package and test the installation process. But your end goal should be to " -"publish to PyPI once you have figured out your workflow and your package is" -" ready to deploy." +"Publishing to TestPyPI vs PyPI While you can install from TestPyPI it's not " +"recommended that you publish to TestPyPI as a permanent way to install your " +"package. In fact, you cannot, because TestPyPI may delete accounts after a " +"time. TestPyPI is a perfect place to learn how to publish your package and " +"test the installation process. But your end goal should be to publish to " +"PyPI once you have figured out your workflow and your package is ready to " +"deploy." msgstr "" "TestPyPIへの公開 vs PyPI " "TestPyPIからインストールすることはできますが、パッケージをインストールする恒久的な方法としてTestPyPIに公開することはお勧めしません。なぜなら、TestPyPIは時間が経つとアカウントを削除するかもしれないからです。TestPyPIは、パッケージを公開し、インストールプロセスをテストする方法を学ぶのに最適な場所です。しかし、最終的なゴールは、ワークフローを把握し、パッケージがデプロイできる状態になったら、PyPIに公開することです。" @@ -5606,8 +5598,8 @@ msgid "" "tools.md)" msgstr "" "このレッスンでは Hatch と hatchling を使って Python パッケージを作成、ビルド、公開します。 " -"[エコシステム内の他のパッケージングツールについては、こちらをクリックしてください。](../package-structure-code" -"/python-package-build-tools.md)" +"[エコシステム内の他のパッケージングツールについては、こちらをクリックしてください。](../package-structure-" +"code/python-package-build-tools.md)" #: ../../tutorials/publish-pypi.md:359 msgid "" @@ -5649,11 +5641,11 @@ msgstr "" #: ../../tutorials/publish-pypi.md:371 msgid "" -"You can also create an automated publication workflow on GitHub using " -"GitHub Actions. This is a great way to make the publication process easier " -"and it also supports a growing maintainer team. In this case we suggest you" -" don't worry about the token and instead setup a specific GitHub Actions " -"that publishes your package when you make a release. You can then create a " +"You can also create an automated publication workflow on GitHub using GitHub" +" Actions. This is a great way to make the publication process easier and it " +"also supports a growing maintainer team. In this case we suggest you don't " +"worry about the token and instead setup a specific GitHub Actions that " +"publishes your package when you make a release. You can then create a " "\"trusted publisher\" workflow on PyPI." msgstr "" "GitHub Actionsを使って、GitHub上で自動公開ワークフローを作成することもできます。 " @@ -5662,9 +5654,8 @@ msgstr "" "\"trusted publisher\" ワークフローを作成することができます。" #: ../../tutorials/publish-pypi.md:373 -#, fuzzy msgid "Trusted Publishing" -msgstr "パッケージパブリッシング" +msgstr "Trusted Publishing" #: ../../tutorials/publish-pypi.md:376 msgid "" @@ -5677,8 +5668,8 @@ msgstr "" #: ../../tutorials/publish-pypi.md:378 msgid "" -"On the usability front, when Trusted Publishing is enabled, users no longer" -" need to manually create API tokens on PyPI and store them in the GitHub " +"On the usability front, when Trusted Publishing is enabled, users no longer " +"need to manually create API tokens on PyPI and store them in the GitHub " "release workflow." msgstr "" "ユーザビリティの面では、Trusted " @@ -5686,12 +5677,12 @@ msgstr "" #: ../../tutorials/publish-pypi.md:380 msgid "" -"On the security front, Trusted Publishing reduces a risk related to the API" -" token being long lived: with API tokens, as soon as an attacker gets " -"access to it, they can publish many packages and versions in your name " -"(depending on the scope of the token), until you discover the token " -"compromise and rotate the credential. Trusted Publishing avoids this " -"problem by minting very short lived tokens which expire automatically." +"On the security front, Trusted Publishing reduces a risk related to the API " +"token being long lived: with API tokens, as soon as an attacker gets access " +"to it, they can publish many packages and versions in your name (depending " +"on the scope of the token), until you discover the token compromise and " +"rotate the credential. Trusted Publishing avoids this problem by minting " +"very short lived tokens which expire automatically." msgstr "トークンベースの出版ではなく信頼できる出版" #: ../../tutorials/publish-pypi.md:382 @@ -5713,9 +5704,10 @@ msgstr "オプション: 手動トークンベースの発行ワークフロー #: ../../tutorials/publish-pypi.md:389 msgid "" "If you plan to use your token regularly to publish to PyPI, we strongly " -"recommend going through the above steps again to create a token specific to" -" your new package." -msgstr "トークンを定期的に使ってPyPIに公開する予定がある場合、新しいパッケージに固有のトークンを作成するために、上記の手順をもう一度行うことを強くお勧めします。" +"recommend going through the above steps again to create a token specific to " +"your new package." +msgstr "" +"トークンを定期的に使ってPyPIに公開する予定がある場合、新しいパッケージに固有のトークンを作成するために、上記の手順をもう一度行うことを強くお勧めします。" #: ../../tutorials/publish-pypi.md:392 msgid "To do this:" @@ -5730,7 +5722,8 @@ msgid "Navigate to the \"Your Projects\" section of your account" msgstr "アカウントの \"Your Projects\" セクションに移動します" #: ../../tutorials/publish-pypi.md:395 -msgid "Click on the manage button for the project that you wish to add a token for" +msgid "" +"Click on the manage button for the project that you wish to add a token for" msgstr "トークンを追加したいプロジェクトの管理ボタンをクリックします" #: ../../tutorials/publish-pypi.md:396 @@ -5757,8 +5750,8 @@ msgstr "トークンベースのパブリケーションではなく、信頼で #: ../../tutorials/publish-pypi.md:405 msgid "" -"Trusted Publishing will generate short lived tokens, scoped to the project," -" on demand, only when a specific release workflows gets triggered. This " +"Trusted Publishing will generate short lived tokens, scoped to the project, " +"on demand, only when a specific release workflows gets triggered. This " "solves all the security and usability issues associated with storing " "credentials in files/GitHub secrets." msgstr "" @@ -5772,17 +5765,17 @@ msgstr "あなたはTestPyPIにパッケージを公開しました!" #: ../../tutorials/publish-pypi.md:413 msgid "" "Congratulations. You have now successfully published your package to " -"TestPyPI. If you have a package that is ready for real-world use on the " -"real PyPI, then you can follow the same steps (with the differences noted " -"above) to publish it on PyPI." +"TestPyPI. If you have a package that is ready for real-world use on the real" +" PyPI, then you can follow the same steps (with the differences noted above)" +" to publish it on PyPI." msgstr "" -"おめでとうございます。これで、TestPyPIへのパッケージの公開が成功しました。実際のPyPIで利用できる準備が整ったパッケージがあれば、同じ手順で" -" (上記の違いはありますが) PyPIに公開することができます。" +"おめでとうございます。これで、TestPyPIへのパッケージの公開が成功しました。実際のPyPIで利用できる準備が整ったパッケージがあれば、同じ手順で " +"(上記の違いはありますが) PyPIに公開することができます。" #: ../../tutorials/publish-pypi.md:415 msgid "" -"Once you publish on PyPI, you can then easily add your package to the " -"conda-forge ecosystem using the [grayskull](https://conda-" +"Once you publish on PyPI, you can then easily add your package to the conda-" +"forge ecosystem using the [grayskull](https://conda-" "forge.org/blog/posts/2020-03-05-grayskull/) tool." msgstr "" "PyPIで公開したら、 [grayskull](https://conda-" @@ -5802,16 +5795,15 @@ msgid "Make your Python package PyPI ready - pyproject.toml" msgstr "PythonパッケージをPyPIに対応させる - pyproject.toml" #: ../../tutorials/pyproject-toml.md:8 -#, fuzzy msgid "" -"In [the installable code lesson](create-python-package), you learned how to" -" add the bare minimum information to a `pyproject.toml` file to make it " -"installable. You then learned how to publish a bare minimum version of your" -" package to [PyPI](publish-pypi)." +"In [the installable code lesson](create-python-package), you learned how to " +"add the bare minimum information to a `pyproject.toml` file to make it " +"installable. You then learned how to publish a bare minimum version of your " +"package to [PyPI](publish-pypi)." msgstr "" -"[インストール可能なコードのレッスン](create-python-package) では、 `pyproject.toml` " -"ファイルに最低限の情報を追加してインストール可能にする方法を学びました。その後、 [PyPIにパッケージの最小限のバージョンを公開する" -"](publish-pypi.md) 方法を学びました。" +"[インストール可能なコードのレッスン](create-python-package) では、インストール可能にするために " +"`pyproject.toml` ファイルに最低限の情報を追加する方法を学びました。その後、パッケージの最低限のバージョンを " +"[PyPI](publish-pypi) に公開する方法を学びました。" #: ../../tutorials/pyproject-toml.md:13 msgid "Following that you learned how to add a:" @@ -5849,18 +5841,19 @@ msgstr "" msgid "" "More about the `pyproject.toml` file and how it's used to store different " "types of metadata about your package" -msgstr "`pyproject.toml` ファイルの詳細と、パッケージに関するさまざまな種類のメタデータを格納するためにどのように使用されるかについて" +msgstr "" +"`pyproject.toml` ファイルの詳細と、パッケージに関するさまざまな種類のメタデータを格納するためにどのように使用されるかについて" #: ../../tutorials/pyproject-toml.md:33 msgid "" -"How to declare information (metadata) about your project to help users find" -" and understand it on PyPI." +"How to declare information (metadata) about your project to help users find " +"and understand it on PyPI." msgstr "ユーザーがPyPIでプロジェクトを見つけ、理解しやすくするために、プロジェクトに関する情報 (メタデータ) を宣言する方法。" #: ../../tutorials/pyproject-toml.md:35 msgid "" -"If you wish to learn more about the `pyproject.toml` format, [check out " -"this page. ](../package-structure-code/pyproject-toml-python-package-" +"If you wish to learn more about the `pyproject.toml` format, [check out this" +" page. ](../package-structure-code/pyproject-toml-python-package-" "metadata.md)" msgstr "" "`pyproject.toml` フォーマットについて詳しく知りたい方は、 [こちらのページをご覧ください。](../package-" @@ -5925,17 +5918,17 @@ msgstr "" #: ../../tutorials/pyproject-toml.md:52 msgid "" -"There is no specific order for tables in the `pyproject.toml` file. " -"However, fields need to be placed within the correct tables. For example " -"`requires =` always need to be in the **[build-system]** table." +"There is no specific order for tables in the `pyproject.toml` file. However," +" fields need to be placed within the correct tables. For example `requires " +"=` always need to be in the **[build-system]** table." msgstr "" -"`pyproject.toml` ファイル内のテーブルには特定の順番はありません。 しかし、フィールドは正しいテーブルに配置する必要があります。 " -"例えば `requires =` は常に **[build-system]** テーブルにある必要があります。" +"`pyproject.toml` ファイル内のテーブルには特定の順番はありません。 しかし、フィールドは正しいテーブルに配置する必要があります。 例えば" +" `requires =` は常に **[build-system]** テーブルにある必要があります。" #: ../../tutorials/pyproject-toml.md:53 msgid "" -"We suggest that you include your **[build-system]** table at the top of " -"your `pyproject.toml` file." +"We suggest that you include your **[build-system]** table at the top of your" +" `pyproject.toml` file." msgstr "**[build-system]** テーブルを `pyproject.toml` ファイルの先頭に含めることをお勧めします。" #: ../../tutorials/pyproject-toml.md:58 @@ -5955,17 +5948,16 @@ msgid "About the .toml format" msgstr ".toml フォーマットについて" #: ../../tutorials/pyproject-toml.md:69 -#, fuzzy, python-brace-format +#, python-brace-format msgid "" "The **pyproject.toml** file is written in {term}`TOML` format. TOML is an " -"easy-to-read structure that is based on key/value pairs. Each section in " -"the **pyproject.toml** file contains a `[table identifier]`. The TOML " -"format can be compared to other structured formats such as `.json`." +"easy-to-read structure that is based on key/value pairs. Each section in the" +" **pyproject.toml** file contains a `[table identifier]`. The TOML format " +"can be compared to other structured formats such as `.json`." msgstr "" -"**pyproject.toml** ファイルは [TOML (Tom's Obvious, Minimal Language) " -"format](https://toml.io/en/) で書かれています。TOMLは、キーと値のペアに基づいた読みやすい構造です。 " -"**pyproject.toml** ファイルの各セクションには `[table identifier]` が含まれています。TOMLフォーマットは、" -" `.json` などの他の構造化フォーマットと比較することができます。しかし、TOMLフォーマットは人間が読みやすいように設計されています。" +"**pyproject.toml** ファイルは {term}`TOML` 形式で書かれています。TOML " +"はキーと値のペアに基づいた読みやすい構造です。**pyproject.toml** ファイルの各セクションには `[テーブル識別子]` " +"が含まれています。TOML 形式は `.json` などの他の構造化形式と比較できます。" #: ../../tutorials/pyproject-toml.md:74 msgid "" @@ -5978,8 +5970,8 @@ msgid "" "`requires =` is the key and the value is `[\"hatchling\"]` within the " "`[build-system]` array specified by square brackets `[]`." msgstr "" -"`requires =` がキーで、値は角括弧 `[]` で指定された `[build-system]` 配列内の `[\"hatchling\"]`" -" です。" +"`requires =` がキーで、値は角括弧 `[]` で指定された `[build-system]` 配列内の `[\"hatchling\"]` " +"です。" #: ../../tutorials/pyproject-toml.md:87 msgid "What is the pyproject.toml used for?" @@ -5990,14 +5982,15 @@ msgid "The pyproject.toml file tells your build tool:" msgstr "pyproject.tomlファイルは、ビルドツールに次のように指示します:" #: ../../tutorials/pyproject-toml.md:91 -#, fuzzy, python-brace-format +#, python-brace-format msgid "" "What {term}`Build backend` to use to build your package (we are using " "{term}`Hatchling` in this tutorial but there are [many others to choose " "from](/package-structure-code/python-package-build-tools))." msgstr "" -"パッケージのビルドに使用するビルドバックエンド (このチュートリアルでは `hatchling` を使用していますが、 [他にも多くの選択肢" -"](/package-structure-code/python-package-build-tools) があります)。" +"パッケージのビルドにどの {term}`ビルドバックエンド` を使うか(このチュートリアルでは {term}`Hatchling` " +"を使っていますが、[他にも多くの選択肢](/package-structure-code/python-package-build-tools) " +"があります)。" #: ../../tutorials/pyproject-toml.md:94 msgid "How and where to retrieve your package's version:" @@ -6009,23 +6002,24 @@ msgstr "**静的** ここで、バージョン `version = \"0.1.0\"` または" #: ../../tutorials/pyproject-toml.md:96 msgid "" -"**dynamically** where the tool looks to the most recent tag in your history" -" to determine the current version." +"**dynamically** where the tool looks to the most recent tag in your history " +"to determine the current version." msgstr "**動的** このツールは、現在のバージョンを決定するために、履歴の最新のタグを検索します。" #: ../../tutorials/pyproject-toml.md:97 -#, fuzzy, python-brace-format +#, python-brace-format msgid "What {term}`Dependencies` your package needs" -msgstr "パッケージが必要とする依存関係" +msgstr "パッケージにどの {term}`依存関係` が必要か" #: ../../tutorials/pyproject-toml.md:98 -msgid "What versions of Python your package supports (important for your users)." +msgid "" +"What versions of Python your package supports (important for your users)." msgstr "パッケージがサポートするPythonのバージョン (ユーザーにとって重要)。" #: ../../tutorials/pyproject-toml.md:100 msgid "" -"The `pyproject.toml` file also makes it easy for anyone browsing your " -"GitHub repository to quickly understand your package's structure such as:" +"The `pyproject.toml` file also makes it easy for anyone browsing your GitHub" +" repository to quickly understand your package's structure such as:" msgstr "" "また、 `pyproject.toml` ファイルを使うことで、GitHub " "リポジトリを閲覧している人が次のようなパッケージの構造をすぐに理解できるようになります:" @@ -6048,9 +6042,9 @@ msgstr "誰がメンテナンスするのか" #: ../../tutorials/pyproject-toml.md:108 msgid "" -"Finally, the pyproject.toml file is also often used to configure tools such" -" as static type checkers (e.g. mypy) and code formatters/linters (e.g. " -"black, ruff)." +"Finally, the pyproject.toml file is also often used to configure tools such " +"as static type checkers (e.g. mypy) and code formatters/linters (e.g. black," +" ruff)." msgstr "" "最後に、pyproject.tomlファイルは、静的タイプチェッカー (mypyなど) やコードフォーマッタ/リンタ (blackやruffなど) " "のようなツールを設定するためにもよく使われます。" @@ -6069,9 +6063,9 @@ msgstr "" #: ../../tutorials/pyproject-toml.md:113 msgid "" "Note that some build tools may deviate in how they store project metadata. " -"As such you may want to refer to their documentation if you decide to use a" -" tool other than Hatch and hatchling. We have selected hatchling and hatch " -"as our tool of choice for this tutorial as it adheres to PyPA rules and " +"As such you may want to refer to their documentation if you decide to use a " +"tool other than Hatch and hatchling. We have selected hatchling and hatch as" +" our tool of choice for this tutorial as it adheres to PyPA rules and " "guidelines." msgstr "" "ビルドツールによっては、プロジェクトのメタデータを保存する方法が異なる場合があります。そのため、Hatch " @@ -6083,8 +6077,8 @@ msgstr "pyproject.tomlのメタデータはどのように使用されますか #: ../../tutorials/pyproject-toml.md:119 msgid "" -"The pyproject.toml file is the file that your build tool uses to populate a" -" `METADATA` that is included in your Python distribution files that get " +"The pyproject.toml file is the file that your build tool uses to populate a " +"`METADATA` that is included in your Python distribution files that get " "published to PyPI. This `METADATA` file is then used by PyPI to populate " "your package's PyPI landing page and help users filter through the tens of " "thousands of packages published there." @@ -6097,8 +6091,8 @@ msgstr "" msgid "" "Image showing the left side bar of PyPI for the package xclim. The section " "at the top says Classifier. Below there is a list of items including " -"Development status, intended audience, License, natural language, operating" -" system, programming language and topic. Below each of those sections are " +"Development status, intended audience, License, natural language, operating " +"system, programming language and topic. Below each of those sections are " "various classifier options.\" width=\"300px\">" msgstr "" "xclimパッケージのPyPI左サイドバーの画像です。一番上のセクションにはClassifierとあります。その下に、開発状況、対象読者、ライセンス、自然言語、オペレーティングシステム、プログラミング言語、トピックなどの項目があります。" @@ -6106,11 +6100,11 @@ msgstr "" #: ../../tutorials/pyproject-toml.md:127 msgid "" -"When you add the classifier section to your pyproject.toml and your package" -" is built, the build tool organizes the metadata into a format that PyPI " -"can understand and represent on your PyPI landing page. These classifiers " -"also allow users to sort through packages by version of python they " -"support, categories and more." +"When you add the classifier section to your pyproject.toml and your package " +"is built, the build tool organizes the metadata into a format that PyPI can " +"understand and represent on your PyPI landing page. These classifiers also " +"allow users to sort through packages by version of python they support, " +"categories and more." msgstr "" "pyproject.tomlにclassifierセクションを追加してパッケージがビルドされると、ビルドツールはメタデータをPyPIが理解できる形式に整理し、PyPIのランディングページに表示します。" " これらの分類子により、ユーザはサポートするpythonのバージョンやカテゴリなどでパッケージをソートすることもできます。" @@ -6139,8 +6133,8 @@ msgstr "最後のレッスンでは、パッケージのビルドに必要なコ #: ../../tutorials/pyproject-toml.md:144 msgid "" -"A `[build-system]` table where you defined your project's backend build " -"tool (`hatchling`)" +"A `[build-system]` table where you defined your project's backend build tool" +" (`hatchling`)" msgstr "プロジェクトのバックエンドビルドツールを定義した `[build-system]` テーブル (`hatchling`)" #: ../../tutorials/pyproject-toml.md:145 @@ -6154,9 +6148,9 @@ msgstr "あなたが作成した `pyproject.toml` ファイルは次のような #: ../../tutorials/pyproject-toml.md:159 msgid "" "Your next step is to add additional recommended metadata fields that will " -"both help users find your package on PyPI and also better describe the " -"scope of your package. Once you add this metadata, you don't have to do it " -"again. These metadata fields will only be updated periodically when you do " +"both help users find your package on PyPI and also better describe the scope" +" of your package. Once you add this metadata, you don't have to do it again." +" These metadata fields will only be updated periodically when you do " "something such as:" msgstr "" "次のステップでは、PyPI " @@ -6190,9 +6184,9 @@ msgstr "ステップ1: 作者、メンテナ、プロジェクトの説明を追 #: ../../tutorials/pyproject-toml.md:173 msgid "" -"After completing the [installable code tutorial](create-python-package), " -"you should have a pyproject.toml file with a project name and a version in " -"the `[project]` table." +"After completing the [installable code tutorial](create-python-package), you" +" should have a pyproject.toml file with a project name and a version in the " +"`[project]` table." msgstr "" "[インストール可能なコードのチュートリアル](create-python-package) を完了すると、 `[project]` " "テーブルにプロジェクト名とバージョンを持つpyproject.tomlファイルができるはずです。" @@ -6222,8 +6216,8 @@ msgstr "`description` は、設定した他の値と同じように単なる文 #: ../../tutorials/pyproject-toml.md:198 msgid "" -"When you add authors and maintainers you need to use a format that will " -"look like a Python list with a dictionary within it:" +"When you add authors and maintainers you need to use a format that will look" +" like a Python list with a dictionary within it:" msgstr "作者とメンテナを追加するときは、Pythonのリストに辞書を追加したような書式を使う必要があります:" #: ../../tutorials/pyproject-toml.md:212 @@ -6232,17 +6226,17 @@ msgstr "著者名とEメール" #: ../../tutorials/pyproject-toml.md:216 msgid "" -"There is a quirk with PyPI for authors that have names but not emails in " -"the pyproject.toml. If you are missing the email for one or more authors or" -" maintainers, like this:" +"There is a quirk with PyPI for authors that have names but not emails in the" +" pyproject.toml. If you are missing the email for one or more authors or " +"maintainers, like this:" msgstr "" "PyPIには、pyproject.tomlに名前があってもメールがない作者のための癖があります。 " "もし、1人以上の作者やメンテナのEメールが見つからない場合は、次のようにしてください:" #: ../../tutorials/pyproject-toml.md:225 msgid "" -"Then we suggest that you only provide names in your list of names to ensure" -" that everything renders properly on your PyPI page - like this:" +"Then we suggest that you only provide names in your list of names to ensure " +"that everything renders properly on your PyPI page - like this:" msgstr "PyPIページですべてが正しく表示されるようにするために、名前のリストには名前のみを入力することをお勧めします - このように:" #: ../../tutorials/pyproject-toml.md:234 @@ -6251,8 +6245,8 @@ msgstr "全員のEメールを持っていない場合は、名前だけを追 #: ../../tutorials/pyproject-toml.md:237 msgid "" -"Your `pyproject.toml` file now should look like the example below. It is OK" -" if you only have 1 author and the same author is also maintainer of your " +"Your `pyproject.toml` file now should look like the example below. It is OK " +"if you only have 1 author and the same author is also maintainer of your " "package:" msgstr "" "これで `pyproject.toml` ファイルは以下の例のようになるはずです。 " @@ -6297,13 +6291,15 @@ msgid "" "package where an initial author developed it and then stepped down as a " "maintainer to move on to other things. This person may continue to be " "considered an author but no longer actively maintains the package." -msgstr "リストが分岐する可能性のある良い例としては、最初の作者が開発したパッケージが、他のことに移るためにメンテナを降りる場合があります。この人物は引き続き作者とみなされるかもしれないが、もはやそのパッケージを積極的に保守することはありません。" +msgstr "" +"リストが分岐する可能性のある良い例としては、最初の作者が開発したパッケージが、他のことに移るためにメンテナを降りる場合があります。この人物は引き続き作者とみなされるかもしれないが、もはやそのパッケージを積極的に保守することはありません。" #: ../../tutorials/pyproject-toml.md:275 msgid "" "It is important to note that there are many ways to define author vs " "maintainer and we don't prescribe a single approach in this tutorial." -msgstr "重要なのは、作者とメンテナを定義する方法はたくさんあるということです、そして、このチュートリアルでは、単一のアプローチを推奨するものではありません。" +msgstr "" +"重要なのは、作者とメンテナを定義する方法はたくさんあるということです、そして、このチュートリアルでは、単一のアプローチを推奨するものではありません。" #: ../../tutorials/pyproject-toml.md:277 msgid "" @@ -6317,25 +6313,25 @@ msgid "Step 2: Add README and license" msgstr "ステップ2: READMEとライセンスの追加" #: ../../tutorials/pyproject-toml.md:283 -#, fuzzy msgid "" -"In the previous lessons, you added both a [README.md](add-readme) file and " -"a [LICENSE](add-license-coc) to your package repository. Once you have " -"those files, you can refer to the README from your pyproject.toml file, and" -" add a short code indicating your choice of LICENSE following the example " -"below." +"In the previous lessons, you added both a [README.md](add-readme) file and a" +" [LICENSE](add-license-coc) to your package repository. Once you have those " +"files, you can refer to the README from your pyproject.toml file, and add a " +"short code indicating your choice of LICENSE following the example below." msgstr "" -"前のレッスンでは、 [README.md](add-readme) ファイルと [LICENSE](add-license-coc) " -"の両方をパッケージリポジトリーに追加しました。これらのファイルを手に入れたら、以下の例に従ってpyproject.tomlファイルにリンクとして追加します。" +"前のレッスンでは、パッケージリポジトリに [README.md](add-readme) ファイルと [LICENSE](add-license-" +"coc) の両方を追加しました。これらのファイルがあれば、pyproject.toml ファイルから README を参照したり、以下の例に従って " +"LICENSE の選択を示す短いコードを追加したりできます。" #: ../../tutorials/pyproject-toml.md:312 msgid "" "The license entry in your pyproject.toml file must use the [license " -"expression syntax](https://packaging.python.org/en/latest/specifications" -"/license-expression/). Often this is a short name (with no spaces) for the " -"license, such as \"MIT\", \"BSD-3-Clause\" or \"Apache-2.0\". More " -"precisely, it must be a valid SPDX license expression, as documented in the" -" [SPDX specification](https://spdx.github.io/spdx-spec/v2.2.2/SPDX-license-" +"expression " +"syntax](https://packaging.python.org/en/latest/specifications/license-" +"expression/). Often this is a short name (with no spaces) for the license, " +"such as \"MIT\", \"BSD-3-Clause\" or \"Apache-2.0\". More precisely, it must" +" be a valid SPDX license expression, as documented in the [SPDX " +"specification](https://spdx.github.io/spdx-spec/v2.2.2/SPDX-license-" "expressions/), either version 2.2 or a later compatible version." msgstr "" "Pyproject.tomlファイルのライセンスエントリは、[ライセンス式構文]( " @@ -6359,8 +6355,8 @@ msgid "" "toml/#license-files) entry, but this is not required." msgstr "" "ライセンスファイル、または法的情報を含むその他のファイルをパッケージに配布する場合は、[' license - files ']( " -"https://packaging.python.org/en/latest/guides/writing-pyproject-toml" -"/#license-files )エントリを使用してこれらを含めることができますが、これは必須ではありません。" +"https://packaging.python.org/en/latest/guides/writing-pyproject-" +"toml/#license-files )エントリを使用してこれらを含めることができますが、これは必須ではありません。" #: ../../tutorials/pyproject-toml.md:318 msgid "Step 3: Specify Python version with `requires-python`" @@ -6368,8 +6364,8 @@ msgstr "ステップ 3: `requires-python` でPythonのバージョンを指定 #: ../../tutorials/pyproject-toml.md:320 msgid "" -"Add the `requires-python` field to your `pyproject.toml` `[project]` table." -" The `requires-python` field helps pip identify which Python versions that " +"Add the `requires-python` field to your `pyproject.toml` `[project]` table. " +"The `requires-python` field helps pip identify which Python versions that " "your package supports. It is set to a single value. The [packaging " "specification](https://packaging.python.org/en/latest/specifications/core-" "metadata/#core-metadata-requires-python) defines`requires-python` as a " @@ -6386,16 +6382,15 @@ msgstr "" "をバージョン指定の文字列として定義している。ほとんどのプロジェクトは、そのパッケージがサポートする最も古いPythonのバージョンを指定します。いくつかの高度なケースでは、どの将来のPythonバージョンがサポートされるかを示す上限が設定されます。" #: ../../tutorials/pyproject-toml.md:325 -#, fuzzy msgid "But how do I figure out which Python versions I should support?" -msgstr "パッケージがサポートしているPythonのバージョンを変更します。" +msgstr "では、どの Python バージョンをサポートすべきかはどう判断すればよいのでしょうか?" #: ../../tutorials/pyproject-toml.md:327 msgid "" "Good question. The Python developer guide provides a [status " "page](https://devguide.python.org/versions/) (and a handy visualization) " -"that explains the status of each Python release. Python releases go through" -" several different phases that are explained in [PEP " +"that explains the status of each Python release. Python releases go through " +"several different phases that are explained in [PEP " "602](https://peps.python.org/pep-0602/)." msgstr "" "良い質問です。Python開発者ガイドには、各Pythonリリースのステータスを説明する[ステータスページ]( " @@ -6405,16 +6400,17 @@ msgstr "" #: ../../tutorials/pyproject-toml.md:329 msgid "" -"We recommend that you use the latest Python release in the **bugfix** " -"phase. If your Python release is in the **security** phase, we recommend " -"migrating to a newer version of Python." -msgstr "**バグ修正**フェーズでは、最新のPythonリリースを使用することをお勧めします。Pythonリリースが**セキュリティ**フェーズにある場合は、新しいバージョンのPythonに移行することをお勧めします。" +"We recommend that you use the latest Python release in the **bugfix** phase." +" If your Python release is in the **security** phase, we recommend migrating" +" to a newer version of Python." +msgstr "" +"**バグ修正**フェーズでは、最新のPythonリリースを使用することをお勧めします。Pythonリリースが**セキュリティ**フェーズにある場合は、新しいバージョンのPythonに移行することをお勧めします。" #: ../../tutorials/pyproject-toml.md:331 msgid "" "[SPEC 0](https://scientific-python.org/specs/spec-0000/) of the Scientific " -"Python project suggests a common schedule for dependencies, including " -"Python release versions, and is also worth considering for your project." +"Python project suggests a common schedule for dependencies, including Python" +" release versions, and is also worth considering for your project." msgstr "" "Scientific Pythonプロジェクトの[SPEC 0 ]( https://scientific-" "python.org/specs/spec-0000/ " @@ -6426,29 +6422,29 @@ msgstr "ステップ4: 依存関係の指定" #: ../../tutorials/pyproject-toml.md:362 msgid "" -"Next add your dependencies table to the project table. The `dependencies =`" -" section contains a list (or array in the toml language) of the Python " -"packages that your package requires to run properly in a Python " -"environment. Similar to the requirements listed in the `[build-system]` " -"table above:" +"Next add your dependencies table to the project table. The `dependencies =` " +"section contains a list (or array in the toml language) of the Python " +"packages that your package requires to run properly in a Python environment." +" Similar to the requirements listed in the `[build-system]` table above:" msgstr "" "次に、依存関係テーブルをプロジェクトテーブルに追加します。 `dependencies =` " "セクションには、あなたのパッケージがPython環境で正しく動作するために必要なPythonパッケージのリスト(toml言語では配列)を記述します。 " "上記の `[build-system]` の表に記載されている要件と同様です:" #: ../../tutorials/pyproject-toml.md:370 -msgid "dependencies are added in an array (similar to a Python list) structure." +msgid "" +"dependencies are added in an array (similar to a Python list) structure." msgstr "依存関係は配列(Pythonのリストに似ている)構造で追加されます。" #: ../../tutorials/pyproject-toml.md:376 msgid "" "A dependency can be limited to specific versions using a **version " -"specifier.** If the dependency has no version specifier after the " -"dependency name, your package can use any version of the dependent package." -" Code changes over time, bugs are fixed, APIs change, and so it's good to " -"be clear about which version of the dependency you wrote your code to be " -"compatible with - a package you wrote this year probably isn't compatible " -"with numpy v0.0.1!" +"specifier.** If the dependency has no version specifier after the dependency" +" name, your package can use any version of the dependent package. Code " +"changes over time, bugs are fixed, APIs change, and so it's good to be clear" +" about which version of the dependency you wrote your code to be compatible " +"with - a package you wrote this year probably isn't compatible with numpy " +"v0.0.1!" msgstr "" "依存関係は、 **バージョン指定子** を使って特定のバージョンに限定することができます。 " "依存関係の名前の後にバージョン指定子がない場合、あなたのパッケージは依存パッケージのどのバージョンでも使うことができます。 " @@ -6461,16 +6457,16 @@ msgid "" "here.](https://packaging.python.org/en/latest/specifications/version-" "specifiers/#id5)" msgstr "" -"[パッケージバージョンの範囲を指定する様々な方法については、こちらをご覧ください。](https://packaging.python.org/en/latest/specifications" -"/version-specifiers/#id5)" +"[パッケージバージョンの範囲を指定する様々な方法については、こちらをご覧ください。](https://packaging.python.org/en/latest/specifications/version-" +"specifiers/#id5)" #: ../../tutorials/pyproject-toml.md:382 msgid "" -"The most common version specifier is a **lower bound,** allowing any " -"version higher than the specified version. Ideally you should set this to " -"the lowest version that is still compatible with your package, but in " -"practice for new packages this is often set at the version that was current" -" at the time the package was written[^lowerbound]." +"The most common version specifier is a **lower bound,** allowing any version" +" higher than the specified version. Ideally you should set this to the " +"lowest version that is still compatible with your package, but in practice " +"for new packages this is often set at the version that was current at the " +"time the package was written[^lowerbound]." msgstr "" "最も一般的なバージョン指定子は **lower bound** " "で、指定されたバージョンより上位のバージョンを許可します。理想的には、あなたのパッケージとまだ互換性のある最も低いバージョンに設定すべきですが、実際には新しいパッケージの場合、パッケージが書かれた時点での最新バージョンに設定されることがよくあります" @@ -6497,7 +6493,8 @@ msgid "Pin dependencies with caution" msgstr "依存関係のピン止めは慎重に" #: ../../tutorials/pyproject-toml.md:435 -msgid "\"Pinning\" a dependency means setting it to a specific version, like this:" +msgid "" +"\"Pinning\" a dependency means setting it to a specific version, like this:" msgstr "依存関係を \"Pinning\" することは、次のように特定のバージョンに設定することを意味します:" #: ../../tutorials/pyproject-toml.md:437 @@ -6508,11 +6505,11 @@ msgstr "`numpy == 1.0` 。" msgid "" "If you are building a library package that other developers will depend " "upon, you must be cautious before pinning to a precise dependency version. " -"Applications, such as production websites, will often pin their " -"dependencies since other packages will not depend on their project. This is" -" because users will be installing your package into various environments. A" -" dependency pinned to a single specific version can make resolving a Python" -" environment more challenging. As such only pin dependencies to a specific " +"Applications, such as production websites, will often pin their dependencies" +" since other packages will not depend on their project. This is because " +"users will be installing your package into various environments. A " +"dependency pinned to a single specific version can make resolving a Python " +"environment more challenging. As such only pin dependencies to a specific " "version if you absolutely need to do so." msgstr "" "他の開発者が依存するライブラリパッケージを構築する場合、正確な依存バージョンに固定する前に慎重にならなければなりません。 " @@ -6544,8 +6541,8 @@ msgid "" "Next you will add classifiers to your `pyproject.toml` file. The value for " "each classifier that you add to your `pyproject.toml` file must come from " "the list of [PyPI accepted classifier values found " -"here](https://PyPI.org/classifiers/). Any deviations in spelling and format" -" will cause issues when you publish to PyPI." +"here](https://PyPI.org/classifiers/). Any deviations in spelling and format " +"will cause issues when you publish to PyPI." msgstr "" "次に、`pyproject.toml`ファイルに分類子を追加します。 `pyproject.toml` ファイルに追加する各分類子の値は、 " "[ここにあるPyPIで認められている分類子](https://PyPI.org/classifiers/) " @@ -6558,9 +6555,9 @@ msgstr "間違った分類子を使うとどうなりますか?" #: ../../tutorials/pyproject-toml.md:465 msgid "" "If you do not [use standard classifier " -"values](https://PyPI.org/classifiers/), when you try to publish your " -"package on PyPI it will be rejected. 😔 Don't worry if PyPI rejects you on " -"your first try! It has happened to all of us." +"values](https://PyPI.org/classifiers/), when you try to publish your package" +" on PyPI it will be rejected. 😔 Don't worry if PyPI rejects you on your " +"first try! It has happened to all of us." msgstr "" "もし [標準的な分類器の値を使う](https://PyPI.org/classifiers/) のでなければ、 " "PyPIでパッケージを公開しようとすると拒否されます。 最初のトライでPyPIに拒否されても心配しないでください! " @@ -6593,26 +6590,24 @@ msgid "" msgstr "classifierのキーは、下の例のようになるはずです。 いくつか注意点があります:" #: ../../tutorials/pyproject-toml.md:477 -#, fuzzy msgid "" "Your classifier values might be different depending upon your intended " "audience, development status of your package and the Python versions that " "you support" -msgstr "" -"分類器の値は、パッケージに選択したライセンスによって異なる場合があります、 あなたの意図する読者、パッケージの開発状況とサポートしている Python" -" のバージョンです。" +msgstr "classifier の値は、想定する読者、パッケージの開発状況、サポートする Python バージョンによって異なる場合があります" #: ../../tutorials/pyproject-toml.md:478 msgid "" "You can add as many classifiers as you wish as long as you use the " "[designated PyPI classifier values](https://PyPI.org/classifiers/)." -msgstr "[指定されたPyPIの分類子の値](https://PyPI.org/classifiers/) を使う限り、好きなだけ分類子を追加できます。" +msgstr "" +"[指定されたPyPIの分類子の値](https://PyPI.org/classifiers/) を使う限り、好きなだけ分類子を追加できます。" #: ../../tutorials/pyproject-toml.md:517 msgid "" -"Note that while classifiers are not required in your `pyproject.toml` file," -" they will help users find your package. As such we strongly recommend that" -" you add them." +"Note that while classifiers are not required in your `pyproject.toml` file, " +"they will help users find your package. As such we strongly recommend that " +"you add them." msgstr "" "分類子は `pyproject.toml` " "ファイルでは必須ではありませんが、ユーザーがあなたのパッケージを見つけるのに役立つことに注意してください。そのため、追加することを強くお勧めします。" @@ -6627,25 +6622,24 @@ msgstr "最後に、pyproject.tomlファイルにproject.urlsテーブルを追 #: ../../tutorials/pyproject-toml.md:523 msgid "" -"`project.urls` contains links that are relevant for your project. You might" -" want to include:" +"`project.urls` contains links that are relevant for your project. You might " +"want to include:" msgstr "`project.urls` には、プロジェクトに関連するリンクが含まれています。以下を含めるとよいでしょう:" #: ../../tutorials/pyproject-toml.md:525 msgid "" "**Homepage:** A link to your published documentation for your project. If " -"you are working through this tutorial, then you may not have this link yet." -" That's ok, you can skip it for the time being." +"you are working through this tutorial, then you may not have this link yet. " +"That's ok, you can skip it for the time being." msgstr "" "**ホームページ:** プロジェクトの公開ドキュメントへのリンク。 " "このチュートリアルを進めているのであれば、このリンクはまだ持っていないかもしれません。 大丈夫、当分は飛ばしてもいいです。" #: ../../tutorials/pyproject-toml.md:526 -#, fuzzy msgid "" "**Bug reports:** a link to your issues/discussions or wherever you want " "users to report bugs." -msgstr "**バグ報告:** 課題 / ディスカッションへのリンク、またはユーザーがバグを報告できる場所です。" +msgstr "**バグ報告:** issue やディスカッションへのリンク、またはユーザーにバグを報告してほしい場所へのリンクです。" #: ../../tutorials/pyproject-toml.md:527 msgid "**Source:** the GitHub / GitLab link for your project." @@ -6653,11 +6647,12 @@ msgstr "**ソース:** プロジェクトのGitHub / GitLabリンク。" #: ../../tutorials/pyproject-toml.md:572 msgid "" -"There are many other urls that you can add here. Check out the [README file" -" here for an overview](https://github.com/patrick91/links-demo)." +"There are many other urls that you can add here. Check out the [README file " +"here for an overview](https://github.com/patrick91/links-demo)." msgstr "" -"ここに追加できるURLは他にもたくさんある。 [概要についてはこちらのREADMEファイル](https://github.com/patrick91" -"/links-demo) をチェックしてください。" +"ここに追加できるURLは他にもたくさんある。 " +"[概要についてはこちらのREADMEファイル](https://github.com/patrick91/links-demo) " +"をチェックしてください。" #: ../../tutorials/pyproject-toml.md:575 msgid "Putting it all together - your completed pyproject.toml file" @@ -6693,14 +6688,16 @@ msgstr "以下は、scientificとpyOpenSciエコシステムの様々なパッ msgid "" "[PyPA's fully documented example pyproject.toml " "file](https://github.com/pypa/sampleproject/blob/main/pyproject.toml)" -msgstr "[PyPAの完全に文書化されたサンプルpyproject.tomlファイル](https://github.com/pypa/sampleproject/blob/main/pyproject.toml)" +msgstr "" +"[PyPAの完全に文書化されたサンプルpyproject.tomlファイル](https://github.com/pypa/sampleproject/blob/main/pyproject.toml)" #: ../../tutorials/pyproject-toml.md:696 msgid "" "[taxpasta has a nicely organized pyproject.toml file and is a pyOpenSci " "approved " "package](https://github.com/taxprofiler/taxpasta/blob/f9f6eea2ae7dd08bb60a53dd49ad77e4cf143573/pyproject.toml)" -msgstr "[taxpastaはきれいに整理されたpyproject.tomlファイルを持っており、pyOpenSci承認パッケージです](https://github.com/taxprofiler/taxpasta/blob/f9f6eea2ae7dd08bb60a53dd49ad77e4cf143573/pyproject.toml)" +msgstr "" +"[taxpastaはきれいに整理されたpyproject.tomlファイルを持っており、pyOpenSci承認パッケージです](https://github.com/taxprofiler/taxpasta/blob/f9f6eea2ae7dd08bb60a53dd49ad77e4cf143573/pyproject.toml)" #: ../../tutorials/pyproject-toml.md:702 msgid "At this point you've created:" @@ -6716,14 +6713,15 @@ msgstr "ユーザーコミュニティをサポートする [CODE_OF_CONDUCT.md] #: ../../tutorials/pyproject-toml.md:706 msgid "" -"And a [LICENSE](add-license-coc) file which provides legal boundaries " -"around how people can and can't use your software" +"And a [LICENSE](add-license-coc) file which provides legal boundaries around" +" how people can and can't use your software" msgstr "" "[LICENSE](add-license-coc) " "ファイルは、人々があなたのソフトウェアをどのように使用できるか、また使用できないかに関する法的な境界線を提供します。" #: ../../tutorials/pyproject-toml.md:708 -msgid "You also learned [how to publish your package to (test)PyPI](publish-pypi)." +msgid "" +"You also learned [how to publish your package to (test)PyPI](publish-pypi)." msgstr "また、 [パッケージを(test)PyPIに公開する方法](publish-pypi) も学びました。" #: ../../tutorials/pyproject-toml.md:710 @@ -6732,9 +6730,9 @@ msgstr "新しいバージョンのパッケージをPyPIに公開する" #: ../../tutorials/pyproject-toml.md:712 msgid "" -"You are now ready to publish a new version of your Python package to (test)" -" PyPI. When you do this you will see that the landing page for your package" -" now contains a lot more information." +"You are now ready to publish a new version of your Python package to (test) " +"PyPI. When you do this you will see that the landing page for your package " +"now contains a lot more information." msgstr "" "これで、Pythonパッケージの新しいバージョンを(test)PyPIに公開する準備ができました。 " "そうすると、パッケージのランディングページに、より多くの情報が掲載されていることがわかります。" @@ -6745,12 +6743,14 @@ msgstr "今すぐ再公開を試みます。" #: ../../tutorials/pyproject-toml.md:716 msgid "" -"First, update the version of your package in your pyproject toml file. " -"Below version is updated from `0.1` to `0.1.1`." -msgstr "まず、pyprojectのtomlファイルでパッケージのバージョンを更新します。以下のバージョンが `0.1` から `0.1.1` に更新されました。" +"First, update the version of your package in your pyproject toml file. Below" +" version is updated from `0.1` to `0.1.1`." +msgstr "" +"まず、pyprojectのtomlファイルでパッケージのバージョンを更新します。以下のバージョンが `0.1` から `0.1.1` に更新されました。" #: ../../tutorials/pyproject-toml.md:729 -msgid "Now use hatch to publish the new version of your package to test.PyPI.org." +msgid "" +"Now use hatch to publish the new version of your package to test.PyPI.org." msgstr "次に hatch を使って、新しいバージョンのパッケージを test.PyPI.org に公開します。" #: ../../tutorials/pyproject-toml.md:736 @@ -6765,16 +6765,17 @@ msgstr "これであなたのパッケージをPyPIに公開するために必 #: ../../tutorials/pyproject-toml.md:741 msgid "" -"If you also want to publish your package on conda-forge (which is a channel" -" within the conda ecosystem), you will learn how to do that in the next " +"If you also want to publish your package on conda-forge (which is a channel " +"within the conda ecosystem), you will learn how to do that in the next " "lesson." -msgstr "あなたのパッケージを(condaエコシステム内のチャンネルである)conda-forgeで公開したい場合 、 その方法は次のレッスンで学びます。" +msgstr "" +"あなたのパッケージを(condaエコシステム内のチャンネルである)conda-forgeで公開したい場合 、 その方法は次のレッスンで学びます。" #: ../../tutorials/pyproject-toml.md:745 msgid "" "Really good resources from jeremiah " -"https://daniel.feldroy.com/posts/2023-08-pypi-project-urls-cheatsheet " -"useful (and the linked links-demo even more so)" +"https://daniel.feldroy.com/posts/2023-08-pypi-project-urls-cheatsheet useful" +" (and the linked links-demo even more so)" msgstr "" "jeremiah からの本当に良い情報源 https://daniel.feldroy.com/posts/2023-08-pypi-project-" "urls-cheatsheet が役に立ちます (リンク先のデモはなおさら)。" @@ -6785,18 +6786,18 @@ msgid "" "their cli interface. For example [`poetry add`](https://python-" "poetry.org/docs/cli/#add) will add the most recent version with a `^` " "specifier, and [`pdm add`](https://pdm-" -"project.org/latest/reference/cli/#add) will add the most recent version " -"with `>=`." +"project.org/latest/reference/cli/#add) will add the most recent version with" +" `>=`." msgstr "" "パッケージングツールの中には、cliインターフェイスを使って依存関係を追加するときに、これをやってくれるものもあります。 例えば、 [`poetry " -"add`](https://python-poetry.org/docs/cli/#add) は `^` 指定子で最新バージョンを追加し、 [`pdm" -" add`](https://pdm-project.org/latest/reference/cli/#add) は `>=` " +"add`](https://python-poetry.org/docs/cli/#add) は `^` 指定子で最新バージョンを追加し、 [`pdm " +"add`](https://pdm-project.org/latest/reference/cli/#add) は `>=` " "指定子で最新バージョンを追加します。" #: ../../tutorials/run-python-scripts-hatch.md:10 msgid "" -"Python supports inline metadata for scripts (a feature added in 2024). This" -" makes it possible to run standalone scripts with dependencies and Python " +"Python supports inline metadata for scripts (a feature added in 2024). This " +"makes it possible to run standalone scripts with dependencies and Python " "versions managed automatically." msgstr "" "Pythonは、スクリプトのインラインメタデータをサポートしています( " @@ -6805,28 +6806,28 @@ msgstr "" #: ../../tutorials/run-python-scripts-hatch.md:14 #, python-brace-format msgid "" -"Many tools support this workflow, including PDM, [Hatch](get-to-know-" -"hatch), and {term}`uv`. In this tutorial, we focus on Hatch and UV. The " -"same metadata format can also be used with other tools." +"Many tools support this workflow, including PDM, [Hatch](get-to-know-hatch)," +" and {term}`uv`. In this tutorial, we focus on Hatch and UV. The same " +"metadata format can also be used with other tools." msgstr "" "PDM、[Hatch ]( get - to - know - hatch )、{term} " "`uv`など、多くのツールがこのワークフローをサポートしています。このチュートリアルでは、HatchとUVに焦点を当てます。同じメタデータ形式を他のツールで使用することもできます。" #: ../../tutorials/run-python-scripts-hatch.md:22 msgid "" -"[Hatch: How to run Python scripts](https://hatch.pypa.io/latest/how-to/run" -"/python-scripts/)" +"[Hatch: How to run Python scripts](https://hatch.pypa.io/latest/how-" +"to/run/python-scripts/)" msgstr "" "[Hatch: Pythonスクリプトの実行方法]( https://hatch.pypa.io/latest/how-to/run/python-" "scripts/)" #: ../../tutorials/run-python-scripts-hatch.md:23 msgid "" -"[uv: Running scripts](https://docs.astral.sh/uv/guides/scripts/#creating-a" -"-python-script)" +"[uv: Running scripts](https://docs.astral.sh/uv/guides/scripts/#creating-a-" +"python-script)" msgstr "" -"[uv:実行中のスクリプト]( https://docs.astral.sh/uv/guides/scripts/#creating-a" -"-python-script)" +"[uv:実行中のスクリプト]( https://docs.astral.sh/uv/guides/scripts/#creating-a-python-" +"script)" #: ../../tutorials/run-python-scripts-hatch.md:26 msgid "How to create a reproducible script" @@ -6836,25 +6837,26 @@ msgstr "再現可能なスクリプトの作成方法" #, python-brace-format msgid "" "Sometimes you want to share or run a single script without creating a full " -"{term}`Python package`. To do this, you can use inline script metadata. " -"This format lets you specify dependencies and Python versions at the top of" -" your script in a comment block." -msgstr "完全な{term}「Pythonパッケージ」を作成せずに単一のスクリプトを共有または実行したい場合があります。これを行うには、インラインスクリプトメタデータを使用できます。この形式では、コメントブロック内のスクリプトの上部に依存関係とPythonのバージョンを指定できます。" +"{term}`Python package`. To do this, you can use inline script metadata. This" +" format lets you specify dependencies and Python versions at the top of your" +" script in a comment block." +msgstr "" +"完全な{term}「Pythonパッケージ」を作成せずに単一のスクリプトを共有または実行したい場合があります。これを行うには、インラインスクリプトメタデータを使用できます。この形式では、コメントブロック内のスクリプトの上部に依存関係とPythonのバージョンを指定できます。" #: ../../tutorials/run-python-scripts-hatch.md:34 msgid "" -"When you add metadata at the top of a script, Hatch (or PDM or uv) will use" -" that metadata to:" +"When you add metadata at the top of a script, Hatch (or PDM or uv) will use " +"that metadata to:" msgstr "スクリプトの上部にメタデータを追加すると、Hatch (またはPDMまたはUV )はそのメタデータを使用して次のことを行います。" #: ../../tutorials/run-python-scripts-hatch.md:37 -#, fuzzy msgid "Create an isolated virtual Python environment for that script." -msgstr "使用したいPython環境をアクティブにします。" +msgstr "そのスクリプト用に隔離された仮想 Python 環境を作成します。" #: ../../tutorials/run-python-scripts-hatch.md:38 #, python-brace-format -msgid "Install the {term}`Dependencies` listed in the script into that environment." +msgid "" +"Install the {term}`Dependencies` listed in the script into that environment." msgstr "スクリプトに記載されている{term} `依存関係`をその環境にインストールします。" #: ../../tutorials/run-python-scripts-hatch.md:39 @@ -6868,17 +6870,17 @@ msgid "" msgstr "このアプローチは、再現可能にしたいが、完全なPythonパッケージになる必要のないワークフローに役立ちます。" #: ../../tutorials/run-python-scripts-hatch.md:44 -#, fuzzy msgid "Why use Hatch for scripts?" -msgstr "Hatchスクリプト" +msgstr "なぜスクリプトに Hatch を使うのか?" #: ../../tutorials/run-python-scripts-hatch.md:46 msgid "" "Inline metadata helps you make scripts reproducible. Anyone can run your " "script without manually creating a new environment or guessing which " -"dependencies it needs. Hatch takes care of installing dependencies and " -"using the correct Python version." -msgstr "インラインメタデータは、スクリプトを再現可能にするのに役立ちます。新しい環境を手動で作成したり、必要な依存関係を推測したりすることなく、誰でもスクリプトを実行できます。Hatchは、依存関係のインストールと正しいPythonバージョンの使用を担当します。" +"dependencies it needs. Hatch takes care of installing dependencies and using" +" the correct Python version." +msgstr "" +"インラインメタデータは、スクリプトを再現可能にするのに役立ちます。新しい環境を手動で作成したり、必要な依存関係を推測したりすることなく、誰でもスクリプトを実行できます。Hatchは、依存関係のインストールと正しいPythonバージョンの使用を担当します。" #: ../../tutorials/run-python-scripts-hatch.md:51 msgid "How to add inline metadata to your script" @@ -6886,15 +6888,15 @@ msgstr "スクリプトにインラインメタデータを追加する方法" #: ../../tutorials/run-python-scripts-hatch.md:53 msgid "" -"You will use Hatch in this example, but you can also use uv if that is your" -" preferred tool." +"You will use Hatch in this example, but you can also use uv if that is your " +"preferred tool." msgstr "この例ではHatchを使用しますが、好みのツールであればUVを使用することもできます。" #: ../../tutorials/run-python-scripts-hatch.md:56 #, python-brace-format msgid "" -"First, create a new file named `script.py` with the block below at the top." -" The metadata block starts with `# /// script` and ends with `# ///`. " +"First, create a new file named `script.py` with the block below at the top. " +"The metadata block starts with `# /// script` and ends with `# ///`. " "Everything in between must be {term}`TOML` metadata written as comments." msgstr "" "まず、上部に以下のブロックを持つ「script.py」という名前の新しいファイルを作成します。メタデータブロックは'#/// script " @@ -6902,8 +6904,8 @@ msgstr "" #: ../../tutorials/run-python-scripts-hatch.md:60 msgid "" -"In the example below, the script requires Python 3.11 or newer, and NumPy " -"is declared as a dependency." +"In the example below, the script requires Python 3.11 or newer, and NumPy is" +" declared as a dependency." msgstr "以下の例では、スクリプトにはPython 3.11以降が必要であり、NumPyは依存関係として宣言されています。" #: ../../tutorials/run-python-scripts-hatch.md:81 @@ -6912,20 +6914,21 @@ msgstr "Hatchでスクリプトを実行する" #: ../../tutorials/run-python-scripts-hatch.md:83 msgid "" -"Open your terminal and change to the directory where `script.py` lives. " -"Then run:" +"Open your terminal and change to the directory where `script.py` lives. Then" +" run:" msgstr "ターミナルを開き、`script.py`が存在するディレクトリに変更します。次に次を実行します。" #: ../../tutorials/run-python-scripts-hatch.md:90 msgid "" -"On first run, Hatch will create an environment and install dependencies. On" -" later runs, Hatch will reuse that environment so startup is faster." -msgstr "最初の実行時に、Hatchは環境を作成し、依存関係をインストールします。後で実行すると、Hatchはその環境を再利用するため、起動が速くなります。" +"On first run, Hatch will create an environment and install dependencies. On " +"later runs, Hatch will reuse that environment so startup is faster." +msgstr "" +"最初の実行時に、Hatchは環境を作成し、依存関係をインストールします。後で実行すると、Hatchはその環境を再利用するため、起動が速くなります。" #: ../../tutorials/run-python-scripts-hatch.md:94 msgid "" -"The environment name is based on the script path. If you move the script to" -" a new location, Hatch will treat it as a new script environment." +"The environment name is based on the script path. If you move the script to " +"a new location, Hatch will treat it as a new script environment." msgstr "環境名は、スクリプトパスに基づいています。スクリプトを新しい場所に移動すると、Hatchは新しいスクリプト環境として扱います。" #: ../../tutorials/run-python-scripts-hatch.md:98 @@ -6936,7 +6939,8 @@ msgstr "オプション:スクリプト環境の動作を構成する" msgid "" "You can control script-specific Hatch behavior in the same metadata block. " "For example, to use `pip` instead of `uv` as the installer:" -msgstr "同じメタデータブロック内のスクリプト固有のハッチ動作を制御できます。たとえば、インストーラとして'uv'の代わりに`pip`を使用するには、次のようにします。" +msgstr "" +"同じメタデータブロック内のスクリプト固有のハッチ動作を制御できます。たとえば、インストーラとして'uv'の代わりに`pip`を使用するには、次のようにします。" #: ../../tutorials/run-python-scripts-hatch.md:113 msgid "Run the same script with uv" @@ -6976,7 +6980,8 @@ msgid "This depends on your use case. Scripts are often useful when:" msgstr "これはユースケースによって異なります。スクリプトは、次のような場合に役立つことがよくあります。" #: ../../tutorials/run-python-scripts-hatch.md:134 -msgid "You have one small task, or a specific workflow that is not generalizable." +msgid "" +"You have one small task, or a specific workflow that is not generalizable." msgstr "小さなタスクが1つある、または一般化できない特定のワークフローがある。" #: ../../tutorials/run-python-scripts-hatch.md:135 @@ -6994,9 +6999,8 @@ msgid "You are sharing a single file with collaborators." msgstr "コラボレーターと1つのファイルを共有しています。" #: ../../tutorials/run-python-scripts-hatch.md:140 -#, fuzzy msgid "Create a full package when:" -msgstr "なぜPythonパッケージを作るのか?" +msgstr "次のような場合に完全なパッケージを作成します:" #: ../../tutorials/run-python-scripts-hatch.md:142 msgid "You are building reusable modules for multiple projects." @@ -7011,51 +7015,47 @@ msgid "Your codebase is growing beyond one or two scripts." msgstr "コードベースは、1つまたは2つのスクリプトを超えて拡大しています。" #: ../../tutorials/run-python-scripts-hatch.md:148 -#, fuzzy msgid "[Get to know Hatch](get-to-know-hatch.md)" -msgstr "詳しくは [Hatch](get-to-know-hatch.md) を知るをご覧ください。" +msgstr "[Hatch を知る](get-to-know-hatch.md)" #: ../../tutorials/run-python-scripts-hatch.md:149 -#, fuzzy msgid "[Create a Python package](create-python-package.md)" -msgstr "[コードをインストール可能にする](create-python-package)" +msgstr "[Python パッケージの作成](create-python-package.md)" #: ../../tutorials/run-python-scripts-hatch.md:150 -#, fuzzy msgid "[Command line reference guide](command-line-reference.md)" -msgstr "コマンドラインリファレンスガイド" +msgstr "[コマンドラインリファレンスガイド](command-line-reference.md)" #: ../../tutorials/setup-py-to-pyproject-toml.md:7 msgid "Using Hatch to Migrate setup.py to a pyproject.toml" msgstr "Hatchを使ってsetup.pyをpyproject.tomlに移行する" #: ../../tutorials/setup-py-to-pyproject-toml.md:9 -#, fuzzy msgid "" "[Hatch](get-to-know-hatch) can be useful for generating your project's " "[pyproject.toml](pyproject-toml) file if your project already has a " "`setup.py` file." -msgstr "プロジェクトに既に `setup.py` がある場合、Hatchはプロジェクトの `pyproject.toml` を生成するのに便利です。" +msgstr "" +"[Hatch](get-to-know-hatch) は、プロジェクトに既に `setup.py` ファイルがある場合に、プロジェクトの " +"[pyproject.toml](pyproject-toml) ファイルを生成するのに便利です。" #: ../../tutorials/setup-py-to-pyproject-toml.md:13 msgid "Note" msgstr "注釈" #: ../../tutorials/setup-py-to-pyproject-toml.md:16 -#, fuzzy msgid "" -"This step is not necessary and is only helpful if your project already has " -"a `setup.py` file defined." +"This step is not necessary and is only helpful if your project already has a" +" `setup.py` file defined." msgstr "このステップは必要なく、プロジェクトに既に `setup.py` ファイルが定義されている場合にのみ有用です。" #: ../../tutorials/setup-py-to-pyproject-toml.md:17 -#, fuzzy msgid "" "If your project does not already define a `setup.py` see [Make your Python " "code installable](create-python-package)" msgstr "" -"プロジェクトで `setup.py` が定義されていない場合は、 [Python コードをインストール可能にする](installable-" -"code.md) を参照してください。" +"プロジェクトで `setup.py` が定義されていない場合は、[Python コードをインストール可能にする](create-python-" +"package) を参照してください" #: ../../tutorials/setup-py-to-pyproject-toml.md:25 msgid "" @@ -7070,7 +7070,7 @@ msgid "What is Hatch?" msgstr "Hatchとは何か?" #: ../../tutorials/setup-py-to-pyproject-toml.md:30 -#, fuzzy, python-brace-format +#, python-brace-format msgid "" "Hatch is a Python package manager designed to streamline the process of " "creating, managing, and distributing Python packages. It provides a " @@ -7078,14 +7078,14 @@ msgid "" "projects, managing {term}`Dependencies`, building distributions, and " "publishing packages to repositories like [PyPI](publish-pypi)." msgstr "" -"HatchはPythonパッケージマネージャで、Pythonパッケージの作成、管理、配布のプロセスを効率化するように設計されています。 " -"新しいプロジェクトの作成、依存関係の管理、ディストリビューションのビルド、PyPI のようなリポジトリへのパッケージの公開といったタスクのための便利な" -" CLI (Command-Line Interface) を提供します。" +"Hatch は Python パッケージマネージャで、Python " +"パッケージの作成、管理、配布のプロセスを効率化するように設計されています。新しいプロジェクトの作成、{term}`依存関係` " +"の管理、ディストリビューションのビルド、[PyPI](publish-pypi) のようなリポジトリへのパッケージの公開といったタスクのための便利な " +"CLI (Command-Line Interface) を提供します。" #: ../../tutorials/setup-py-to-pyproject-toml.md:40 -#, fuzzy msgid "See [Get to know Hatch](get-to-know-hatch) for more information." -msgstr "詳しくは [Hatch](get-to-know-hatch.md) を知るをご覧ください。" +msgstr "詳しくは [Hatch を知る](get-to-know-hatch) を参照してください。" #: ../../tutorials/setup-py-to-pyproject-toml.md:43 msgid "Prerequisites" @@ -7129,53 +7129,51 @@ msgstr "ステップバイステップガイド" #: ../../tutorials/setup-py-to-pyproject-toml.md:93 msgid "" -"Now, let's walk through the steps to use Hatch to create a `pyproject.toml`" -" file for your project." +"Now, let's walk through the steps to use Hatch to create a `pyproject.toml` " +"file for your project." msgstr "では、Hatchを使ってプロジェクトの `pyproject.toml` ファイルを作成する手順を説明しましょう。" #: ../../tutorials/setup-py-to-pyproject-toml.md:95 msgid "" -"**Navigate to Your Project Directory**: Open your terminal or command " -"prompt and navigate to the directory where your Python project is located." -msgstr "**プロジェクトディレクトリに移動する**: ターミナルかコマンドプロンプトを開き、Pythonプロジェクトがあるディレクトリに移動します。" +"**Navigate to Your Project Directory**: Open your terminal or command prompt" +" and navigate to the directory where your Python project is located." +msgstr "" +"**プロジェクトディレクトリに移動する**: ターミナルかコマンドプロンプトを開き、Pythonプロジェクトがあるディレクトリに移動します。" #: ../../tutorials/setup-py-to-pyproject-toml.md:97 msgid "" -"**Initialize Hatch**: Run the following command to initialize Hatch in your" -" project directory:" +"**Initialize Hatch**: Run the following command to initialize Hatch in your " +"project directory:" msgstr "**Hatchの初期化**: 以下のコマンドを実行し、プロジェクトディレクトリのHatchを初期化します:" #: ../../tutorials/setup-py-to-pyproject-toml.md:103 -#, fuzzy msgid "" "**Review and Customize**: After running the previous command, Hatch will " "automatically generate a `pyproject.toml` file based on your existing " "project configuration. Take some time to review the contents of the " -"generated `pyproject.toml` file. You may want to customize certain settings" -" or dependencies based on your project's requirements (see [pyproject.toml " +"generated `pyproject.toml` file. You may want to customize certain settings " +"or dependencies based on your project's requirements (see [pyproject.toml " "tutorial](pyproject-toml) for more information about the `pyproject.toml`)." msgstr "" -"**レビューとカスタマイズ**: 先ほどのコマンドを実行すると、Hatchは既存のプロジェクト構成に基づいて `pyproject.toml` " -"ファイルを自動的に生成します。 生成された `pyproject.toml` " -"ファイルの内容を確認するのに時間をかけてください。プロジェクトの要件に応じて、特定の設定や依存関係をカスタマイズしたいかもしれません( " -"`pyproject.toml` の詳細については [pyproject.toml](pyproject-toml.md) " -"チュートリアルを参照してください)。" +"**レビューとカスタマイズ**: 先ほどのコマンドを実行すると、Hatch は既存のプロジェクト構成に基づいて `pyproject.toml` " +"ファイルを自動的に生成します。生成された `pyproject.toml` " +"ファイルの内容を確認するのに時間をかけてください。プロジェクトの要件に応じて、特定の設定や依存関係をカスタマイズしたいかもしれません(`pyproject.toml`" +" の詳細については [pyproject.toml チュートリアル](pyproject-toml) を参照してください)。" #: ../../tutorials/setup-py-to-pyproject-toml.md:105 -#, fuzzy msgid "" "**Verify**: Verify that the `pyproject.toml` file accurately reflects your " -"project configuration and dependencies. You can manually edit the file, but" -" be cautious and ensure that the syntax is correct." +"project configuration and dependencies. You can manually edit the file, but " +"be cautious and ensure that the syntax is correct." msgstr "" -"**検証**: `pyproject.toml` ファイルがプロジェクト構成と依存関係を正確に反映していることを確認します。 " -"必要であればファイルを手動で編集することもできますが、慎重を期して構文が正しいことを確認してください。" +"**検証**: `pyproject.toml` " +"ファイルがプロジェクトの構成と依存関係を正確に反映していることを確認します。ファイルを手動で編集することもできますが、慎重に構文が正しいことを確認してください。" #: ../../tutorials/setup-py-to-pyproject-toml.md:107 msgid "" "**Delete setup.py**: Since we're migrating to using `pyproject.toml` " -"exclusively, the `setup.py` file becomes unnecessary. You can safely delete" -" it from your project directory." +"exclusively, the `setup.py` file becomes unnecessary. You can safely delete " +"it from your project directory." msgstr "" "**setup.py を削除する**: `pyproject.toml` のみを使用するように移行するので、 `setup.py` " "ファイルは不要になります。 プロジェクトディレクトリから安全に削除できます。" @@ -7186,14 +7184,14 @@ msgid "" "your project builds successfully using only the `pyproject.toml` file. Run " "the following command to build your project:" msgstr "" -"**テストビルド**: 先に進む前に、 `pyproject.toml` " -"ファイルだけを使ってプロジェクトが正常にビルドされることを確認する必要がある。 以下のコマンドを実行してプロジェクトをビルドします:" +"**テストビルド**: 先に進む前に、 `pyproject.toml` ファイルだけを使ってプロジェクトが正常にビルドされることを確認する必要がある。" +" 以下のコマンドを実行してプロジェクトをビルドします:" #: ../../tutorials/setup-py-to-pyproject-toml.md:115 msgid "" "This command will build your project based on the specifications in the " -"`pyproject.toml` file. Make sure to check for any errors or warnings during" -" the build process." +"`pyproject.toml` file. Make sure to check for any errors or warnings during " +"the build process." msgstr "" "このコマンドは `pyproject.toml` ファイルの仕様に基づいてプロジェクトをビルドします。 " "ビルドの過程でエラーや警告がないか、必ず確認してください。" @@ -7215,24 +7213,20 @@ msgid "" msgstr "GitHubアクションを介した安全で自動化された発行のための信頼された発行の設定" #: ../../tutorials/trusted-publishing.md:8 -#, fuzzy msgid "In the previous Python packaging lessons, you learned:" -msgstr "これまでのPythonパッケージングレッスンで、あなたは次のことを学びました:" +msgstr "これまでの Python パッケージングのレッスンで学んだこと:" #: ../../tutorials/trusted-publishing.md:10 -#, fuzzy msgid "[How to create a Python package](create-python-package)" -msgstr "[コードをインストール可能にする](create-python-package)" +msgstr "[Python パッケージの作成方法](create-python-package)" #: ../../tutorials/trusted-publishing.md:11 -#, fuzzy msgid "" "How to publish the code to [PyPI](publish-pypi) and [Conda](publish-conda-" "forge)" -msgstr "[パッケージをconda-forgeに公開する方法](publish-conda-forge.md)" +msgstr "コードを [PyPI](publish-pypi) と [Conda](publish-conda-forge) に公開する方法" #: ../../tutorials/trusted-publishing.md:16 -#, fuzzy msgid "In this lesson, you will learn how to:" msgstr "このレッスンで学ぶこと:" @@ -7255,7 +7249,8 @@ msgstr "ワークフローファイル内のGitHubアクションハッシュと msgid "" "This tutorial assumes that your project is hosted on GitHub and that you " "want to publish a package from your project to PyPI." -msgstr "このチュートリアルでは、プロジェクトがGitHubでホストされており、プロジェクトからPyPIにパッケージを公開することを前提としています。" +msgstr "" +"このチュートリアルでは、プロジェクトがGitHubでホストされており、プロジェクトからPyPIにパッケージを公開することを前提としています。" #: ../../tutorials/trusted-publishing.md:26 msgid "Configure a release job on GitHub Actions" @@ -7264,12 +7259,12 @@ msgstr "GitHubアクションでリリースジョブを構成する" #: ../../tutorials/trusted-publishing.md:28 msgid "" "GitHub Actions[^gha] is an infrastructure provided by GitHub to automate " -"software workflows, straight from the GitHub repository of the project. You" -" can configure automated testing for every pull request, automate " -"publishing of documentation, automate creation of web pages for the " -"project, and even automate the release process. For this lesson, we will " -"focus on using actions to release and publish your Python package securely " -"to [PyPI](publish-pypi)." +"software workflows, straight from the GitHub repository of the project. You " +"can configure automated testing for every pull request, automate publishing " +"of documentation, automate creation of web pages for the project, and even " +"automate the release process. For this lesson, we will focus on using " +"actions to release and publish your Python package securely to " +"[PyPI](publish-pypi)." msgstr "" "GitHubアクション[^ " "gha]は、プロジェクトのGitHubリポジトリから直接、ソフトウェアワークフローを自動化するためにGitHubが提供するインフラストラクチャです。プルリクエストごとに自動テストを構成したり、ドキュメントの公開を自動化したり、プロジェクトのWebページの作成を自動化したり、リリースプロセスを自動化したりできます。このレッスンでは、Pythonパッケージを[PyPI" @@ -7281,8 +7276,8 @@ msgstr "信頼できる出版が重要な理由" #: ../../tutorials/trusted-publishing.md:38 msgid "" -"If you are wondering why trusted publishing is so important, [check out " -"this blog post:](https://www.pyopensci.org/blog/python-packaging-security-" +"If you are wondering why trusted publishing is so important, [check out this" +" blog post:](https://www.pyopensci.org/blog/python-packaging-security-" "publish-pypi.html) that dives deeper into what can happen when you don't " "lock down your publishing workflows." msgstr "" @@ -7291,17 +7286,16 @@ msgstr "" "pypi.html)をご覧ください。この記事では、パブリッシングワークフローをロックしないと何が起こるかについて詳しく説明します。" #: ../../tutorials/trusted-publishing.md:41 -#, fuzzy msgid "Step 0: Create a release workflow" -msgstr "ステップ0: READMEファイルの作成" +msgstr "ステップ 0: リリースワークフローを作成する" #: ../../tutorials/trusted-publishing.md:43 msgid "" "To get started, create a file named `release.yaml` under the " "`.github/workflows` directory of your project. If the `.github/workflows` " -"directory does not exist, you can create it. It is GitHub's convention that" -" all GitHub Actions are configured via YAML files in the " -"`.github/workflows` directory." +"directory does not exist, you can create it. It is GitHub's convention that " +"all GitHub Actions are configured via YAML files in the `.github/workflows` " +"directory." msgstr "" "開始するには、プロジェクトの'.github/workflows `ディレクトリの下に` release.yaml " "'という名前のファイルを作成します。'.github/workflows`ディレクトリが存在しない場合は、作成できます。すべてのGitHubアクションは、'.github/workflows" @@ -7313,46 +7307,48 @@ msgstr "ワークフローファイルに名前を付ける" #: ../../tutorials/trusted-publishing.md:51 msgid "" -"You can name the workflow file whatever you wish. We suggest using " -"something simple and expressive like `release.yaml` so you, your future " -"self, and contributors who work on your project know exactly what the " -"workflow does." -msgstr "ワークフローファイルには任意の名前を付けることができます。「release.yaml」のようなシンプルで表現力豊かなものを使用することをおすすめします。そうすれば、あなた自身、あなたの将来の自分、そしてあなたのプロジェクトに取り組むコントリビューターは、ワークフローが何をしているのかを正確に知ることができます。" +"You can name the workflow file whatever you wish. We suggest using something" +" simple and expressive like `release.yaml` so you, your future self, and " +"contributors who work on your project know exactly what the workflow does." +msgstr "" +"ワークフローファイルには任意の名前を付けることができます。「release.yaml」のようなシンプルで表現力豊かなものを使用することをおすすめします。そうすれば、あなた自身、あなたの将来の自分、そしてあなたのプロジェクトに取り組むコントリビューターは、ワークフローが何をしているのかを正確に知ることができます。" #: ../../tutorials/trusted-publishing.md:56 msgid "Step 1: Name the workflow" msgstr "ステップ1 :ワークフローに名前を付ける" #: ../../tutorials/trusted-publishing.md:58 -#, fuzzy msgid "At the top of the `release.yaml` file, type the following:" -msgstr "`README.md` ファイルの先頭に、パッケージ名を追加します。" +msgstr "`release.yaml` ファイルの先頭に、次のように入力します:" #: ../../tutorials/trusted-publishing.md:64 msgid "" "This provides a name to the workflow that you can use to quickly find all " "runs of this GitHub Action on the \"Actions\" tab in the GitHub repository." -msgstr "これにより、GitHubリポジトリの[アクション]タブでこのGitHubアクションのすべての実行をすばやく見つけるために使用できるワークフローの名前が提供されます。" +msgstr "" +"これにより、GitHubリポジトリの[アクション]タブでこのGitHubアクションのすべての実行をすばやく見つけるために使用できるワークフローの名前が提供されます。" #: ../../tutorials/trusted-publishing.md:68 msgid "" -"Graphic showing an example of a configured workflow for the release. On the" -" top, in the red box labeled \"1\" you see the \"Actions\" tab of the " -"GitHub repository. On the left, in the red box labeled \"2\" you can see " -"the name of the workflow, \"Release,\" as configured in this step. Finally," -" in the center, in the red box labeled \"3\" you can see several runs of " -"the workflow, for the \"1.0\" and \"1.0.1\" releases of the package." -msgstr "リリース用に構成されたワークフローの例を示す図。上部の「1」という赤いボックスには、GitHubリポジトリの「アクション」タブが表示されます。左側の「2」という赤いボックスには、この手順で設定したワークフローの名前「Release」が表示されます。最後に、中央の「3」という赤いボックスには、パッケージの「1.0」および「1.0.1」リリースのワークフローのいくつかの実行が表示されます。" +"Graphic showing an example of a configured workflow for the release. On the " +"top, in the red box labeled \"1\" you see the \"Actions\" tab of the GitHub " +"repository. On the left, in the red box labeled \"2\" you can see the name " +"of the workflow, \"Release,\" as configured in this step. Finally, in the " +"center, in the red box labeled \"3\" you can see several runs of the " +"workflow, for the \"1.0\" and \"1.0.1\" releases of the package." +msgstr "" +"リリース用に構成されたワークフローの例を示す図。上部の「1」という赤いボックスには、GitHubリポジトリの「アクション」タブが表示されます。左側の「2」という赤いボックスには、この手順で設定したワークフローの名前「Release」が表示されます。最後に、中央の「3」という赤いボックスには、パッケージの「1.0」および「1.0.1」リリースのワークフローのいくつかの実行が表示されます。" #: ../../tutorials/trusted-publishing.md:70 msgid "" -"This image shows an example of a configured workflow for the release. On " -"the top, in the red box labeled \"1\" you see the \"Actions\" tab of the " -"GitHub repository. On the left, in the red box labeled \"2\" you can see " -"the name of the workflow, as configured in this step. Finally, in the " -"center, in the red box labeled \"3\" you can see several runs of the " -"workflow, for the \"1.0\" and \"1.0.1\" releases of the package." -msgstr "この画像は、リリース用に構成されたワークフローの例を示しています。上部の「1」という赤いボックスには、GitHubリポジトリの「アクション」タブが表示されます。左側の「2」という赤いボックスには、この手順で設定したワークフローの名前が表示されます。最後に、中央の「3」という赤いボックスには、パッケージの「1.0」および「1.0.1」リリースのワークフローのいくつかの実行が表示されます。" +"This image shows an example of a configured workflow for the release. On the" +" top, in the red box labeled \"1\" you see the \"Actions\" tab of the GitHub" +" repository. On the left, in the red box labeled \"2\" you can see the name " +"of the workflow, as configured in this step. Finally, in the center, in the " +"red box labeled \"3\" you can see several runs of the workflow, for the " +"\"1.0\" and \"1.0.1\" releases of the package." +msgstr "" +"この画像は、リリース用に構成されたワークフローの例を示しています。上部の「1」という赤いボックスには、GitHubリポジトリの「アクション」タブが表示されます。左側の「2」という赤いボックスには、この手順で設定したワークフローの名前が表示されます。最後に、中央の「3」という赤いボックスには、パッケージの「1.0」および「1.0.1」リリースのワークフローのいくつかの実行が表示されます。" #: ../../tutorials/trusted-publishing.md:73 msgid "Step 2: Add triggers to the workflow" @@ -7362,19 +7358,19 @@ msgstr "ステップ2 :ワークフローにトリガーを追加する" msgid "" "Every GitHub Actions workflow runs when [certain " "conditions](https://docs.github.com/en/actions/reference/events-that-" -"trigger-workflows) are met. In this case, we assume that a release workflow" -" should only run when the repository owner creates a new " +"trigger-workflows) are met. In this case, we assume that a release workflow " +"should only run when the repository owner creates a new " "[release](https://docs.github.com/en/repositories/releasing-projects-on-" -"github/managing-releases-in-a-repository) for the package. Add the " -"following to the `release.yaml` file to ensure it runs when you create and " -"publish a release:" +"github/managing-releases-in-a-repository) for the package. Add the following" +" to the `release.yaml` file to ensure it runs when you create and publish a " +"release:" msgstr "" "すべてのGitHubアクションワークフローは、[特定の条件]( " "https://docs.github.com/en/actions/reference/events-that-trigger-" "workflows)が満たされたときに実行されます。この場合、リリースワークフローは、リポジトリの所有者がパッケージの新しい[リリース]( " -"https://docs.github.com/en/repositories/releasing-projects-on-github" -"/managing-releases-" -"in-a-repository)を作成したときにのみ実行する必要があると想定しています。リリースを作成して公開するときに実行されることを確認するために、`release.yaml`ファイルに次のものを追加します。" +"https://docs.github.com/en/repositories/releasing-projects-on-" +"github/managing-releases-in-a-" +"repository)を作成したときにのみ実行する必要があると想定しています。リリースを作成して公開するときに実行されることを確認するために、`release.yaml`ファイルに次のものを追加します。" #: ../../tutorials/trusted-publishing.md:87 msgid "Step 3: Configure the jobs in the workflow" @@ -7383,10 +7379,11 @@ msgstr "ステップ3 :ワークフローのジョブを構成する" #: ../../tutorials/trusted-publishing.md:89 msgid "" "A GitHub Actions *workflow* file can contain multiple *jobs* that run " -"independently; each job can also have multiple *steps.* When triggered, the" -" GitHub Action runs all the jobs in a workflow (excluding any steps that " -"have conditional requirements)." -msgstr "GitHubアクション*ワークフロー*ファイルには、独立して実行される複数の*ジョブ*を含めることができます。各ジョブには複数の*ステップを含めることもできます。*トリガーされると、GitHubアクションはワークフロー内のすべてのジョブを実行します(条件付き要件を持つステップを除く)。" +"independently; each job can also have multiple *steps.* When triggered, the " +"GitHub Action runs all the jobs in a workflow (excluding any steps that have" +" conditional requirements)." +msgstr "" +"GitHubアクション*ワークフロー*ファイルには、独立して実行される複数の*ジョブ*を含めることができます。各ジョブには複数の*ステップを含めることもできます。*トリガーされると、GitHubアクションはワークフロー内のすべてのジョブを実行します(条件付き要件を持つステップを除く)。" #: ../../tutorials/trusted-publishing.md:93 msgid "" @@ -7394,8 +7391,8 @@ msgid "" "logic](https://docs.github.com/en/actions/reference/workflow-syntax-for-" "github-actions#jobsjob_idif) that allows them only to run if specific " "criteria exist. For instance, you may want only to have a job step to " -"publish to PyPI if a release was made for the package. But you might want " -"to test building the package every time you merge a new pull request." +"publish to PyPI if a release was made for the package. But you might want to" +" test building the package every time you merge a new pull request." msgstr "" "ジョブとステップは、特定の基準が存在する場合にのみ実行できる[条件付きロジック]( " "https://docs.github.com/en/actions/reference/workflow-syntax-for-github-" @@ -7412,8 +7409,8 @@ msgstr "" #: ../../tutorials/trusted-publishing.md:101 msgid "" -"You also need to make sure to set up Hatch on the machine GitHub is using " -"to run the workflow." +"You also need to make sure to set up Hatch on the machine GitHub is using to" +" run the workflow." msgstr "また、ワークフローを実行するためにGitHubが使用しているマシンでHatchを設定する必要があります。" #: ../../tutorials/trusted-publishing.md:104 @@ -7424,8 +7421,8 @@ msgstr "最小限のジョブ定義は次のようになります。" msgid "" "Notice that above, you provide a version for each action step. " "`action/checkout@v5` tells GitHub to use version 5 of the checkout action. " -"The checkout action checks out the code from your repository. In this case," -" the code will be used to build your package." +"The checkout action checks out the code from your repository. In this case, " +"the code will be used to build your package." msgstr "" "上記では、各アクションステップのバージョンを指定しています。`action/checkout @ v " "5`は、GitHubにチェックアウトアクションのバージョン5を使用するように指示します。チェックアウトアクションは、リポジトリからコードをチェックアウトします。この場合、コードはパッケージのビルドに使用されます。" @@ -7452,21 +7449,21 @@ msgid "" "readability of the logs generated during the workflow run. This can be " "achieved using `name: ` lines." msgstr "" -"まず、ワークフロー実行中に生成されたログの読みやすさを高めるために、プロセスの関連ステップに名前を付けることができます。これは、`name :'行を使用して達成できます。" +"まず、ワークフロー実行中に生成されたログの読みやすさを高めるために、プロセスの関連ステップに名前を付けることができます。これは、`name :'行を使用して達成できます。" #: ../../tutorials/trusted-publishing.md:137 msgid "" "More importantly, each time you use an existing action (via `uses`) you " -"should pin that action to a commit hash. Pinning your action ensures that " -"if a malicious user takes over the action, they won't be able to impact " -"your repository (an example of a supply chain attack due to GitHub Actions " -"is the recent `tj-actions/changed-files` attack[^changed-files-supply-" -"chain-attack])." +"should pin that action to a commit hash. Pinning your action ensures that if" +" a malicious user takes over the action, they won't be able to impact your " +"repository (an example of a supply chain attack due to GitHub Actions is the" +" recent `tj-actions/changed-files` attack[^changed-files-supply-chain-" +"attack])." msgstr "" "さらに重要なことに、既存のアクションを使用するたびに(「使用」を介して)、そのアクションをコミットハッシュにピン留めする必要があります。アクションを固定すると、悪意のあるユーザーがアクションを引き継いだ場合、リポジトリに影響を与えることはできません(" -" GitHubアクションによるサプライチェーン攻撃の例は、最近の「tj - actions/changed - files」攻撃[^ changed " -"- files - supply - chain - attack]です)。" +" GitHubアクションによるサプライチェーン攻撃の例は、最近の「tj - actions/changed - files」攻撃[^ changed -" +" files - supply - chain - attack]です)。" #: ../../tutorials/trusted-publishing.md:144 msgid "" @@ -7485,15 +7482,17 @@ msgstr "したがって、使用すべきワークフローは次のようにす msgid "" "Now, you can commit the `.github/workflows/release.yaml` file to the " "repository and push to GitHub." -msgstr "これで、'.github/workflows/release.yaml `ファイルをリポジトリにコミットし、GitHubにプッシュできます。" +msgstr "" +"これで、'.github/workflows/release.yaml `ファイルをリポジトリにコミットし、GitHubにプッシュできます。" #: ../../tutorials/trusted-publishing.md:159 msgid "" "At this point, if you create a new release for your project on GitHub, the " -"configured workflow should run and build a wheel for you. Unfortunately, " -"the wheel is only available on the runner and will be deleted at the end of" -" the workflow run." -msgstr "この時点で、GitHubでプロジェクトの新しいリリースを作成すると、構成されたワークフローが実行され、ホイールが構築されます。残念ながら、ホイールはランナーでのみ使用でき、ワークフロー実行の最後に削除されます。" +"configured workflow should run and build a wheel for you. Unfortunately, the" +" wheel is only available on the runner and will be deleted at the end of the" +" workflow run." +msgstr "" +"この時点で、GitHubでプロジェクトの新しいリリースを作成すると、構成されたワークフローが実行され、ホイールが構築されます。残念ながら、ホイールはランナーでのみ使用でき、ワークフロー実行の最後に削除されます。" #: ../../tutorials/trusted-publishing.md:163 msgid "Step 5: Upload the built artifact to GitHub Artifacts" @@ -7501,8 +7500,8 @@ msgstr "ステップ5 :構築されたアーティファクトをGitHubアー #: ../../tutorials/trusted-publishing.md:165 msgid "" -"You need to add one more step to the job definition to be able to access " -"the wheel. You will upload it to the artifacts temporary area[^github-" +"You need to add one more step to the job definition to be able to access the" +" wheel. You will upload it to the artifacts temporary area[^github-" "artifacts]. Add the following to the `release.yaml` file:" msgstr "" "ホイールにアクセスできるようにするには、ジョブ定義にもう1つステップを追加する必要があります。アーティファクト一時エリア[^ github - " @@ -7515,9 +7514,10 @@ msgstr "アーティファクトパラメータのアップロード" #: ../../tutorials/trusted-publishing.md:178 msgid "" "Above, you have configured the artifact to be deleted after 1 day. The " -"artifacts storage on GitHub actions is temporary; users should not download" -" your package from the GitHub artifacts." -msgstr "上記では、1日後に削除されるようにアーティファクトを設定しました。GitHubアクション上のアーティファクトストレージは一時的なものです。ユーザーはGitHubアーティファクトからパッケージをダウンロードしないでください。" +"artifacts storage on GitHub actions is temporary; users should not download " +"your package from the GitHub artifacts." +msgstr "" +"上記では、1日後に削除されるようにアーティファクトを設定しました。GitHubアクション上のアーティファクトストレージは一時的なものです。ユーザーはGitHubアーティファクトからパッケージをダウンロードしないでください。" #: ../../tutorials/trusted-publishing.md:181 msgid "" @@ -7532,7 +7532,8 @@ msgstr "" msgid "" "At this point, if you push the `release.yaml` to GitHub and create a new " "release, the GitHub Actions job will:" -msgstr "この時点で、'release.yaml`をGitHubにプッシュして新しいリリースを作成すると、GitHubアクションジョブは次のようになります。" +msgstr "" +"この時点で、'release.yaml`をGitHubにプッシュして新しいリリースを作成すると、GitHubアクションジョブは次のようになります。" #: ../../tutorials/trusted-publishing.md:189 msgid "run," @@ -7543,14 +7544,12 @@ msgid "clone your repository," msgstr "リポジトリのクローンを作成し、" #: ../../tutorials/trusted-publishing.md:191 -#, fuzzy msgid "install and set up Hatch," -msgstr "Hatchのインストール" +msgstr "Hatch をインストールしてセットアップし、" #: ../../tutorials/trusted-publishing.md:192 -#, fuzzy msgid "build your package and" -msgstr "パッケージをビルドするには `hatch build` を実行します:" +msgstr "パッケージをビルドし、" #: ../../tutorials/trusted-publishing.md:193 msgid "upload your package as an archive to the artifacts storage." @@ -7573,27 +7572,30 @@ msgstr "この図は、実行が完了したばかりのリリースワークフ #: ../../tutorials/trusted-publishing.md:201 msgid "" "At the bottom of the workflow run page on GitHub, you should see a section " -"for the artifacts produced during runtime and uploaded to this storage " -"area:" -msgstr "GitHubのワークフロー実行ページの下部に、実行時に生成され、このストレージ領域にアップロードされたアーティファクトのセクションが表示されます。" +"for the artifacts produced during runtime and uploaded to this storage area:" +msgstr "" +"GitHubのワークフロー実行ページの下部に、実行時に生成され、このストレージ領域にアップロードされたアーティファクトのセクションが表示されます。" #: ../../tutorials/trusted-publishing.md:205 -msgid "Graphic showing an example of an artifact produced by the release workflow." +msgid "" +"Graphic showing an example of an artifact produced by the release workflow." msgstr "リリースワークフローによって生成されたアーティファクトの例を示す図。" #: ../../tutorials/trusted-publishing.md:207 msgid "" -"This figure shows the artifact produced by the above release workflow. It " -"is now marked as expired since the workflow ran more than a day ago." -msgstr "この図は、上記のリリースワークフローによって生成されたアーティファクトを示しています。1日以上前にワークフローが実行されたため、期限切れとしてマークされました。" +"This figure shows the artifact produced by the above release workflow. It is" +" now marked as expired since the workflow ran more than a day ago." +msgstr "" +"この図は、上記のリリースワークフローによって生成されたアーティファクトを示しています。1日以上前にワークフローが実行されたため、期限切れとしてマークされました。" #: ../../tutorials/trusted-publishing.md:210 msgid "" -"You can download the artifact (before it expires), unzip it, and install " -"the wheel contained within. However, this should only be done if you want " -"to test the built wheel. Next, you will configure uploading to PyPI using " +"You can download the artifact (before it expires), unzip it, and install the" +" wheel contained within. However, this should only be done if you want to " +"test the built wheel. Next, you will configure uploading to PyPI using " "trusted publishing." -msgstr "アーティファクトを(期限が切れる前に)ダウンロードし、解凍して、中に入っているホイールを取り付けることができます。ただし、これは、構築されたホイールをテストする場合にのみ行う必要があります。次に、信頼できる発行を使用してPyPIへのアップロードを設定します。" +msgstr "" +"アーティファクトを(期限が切れる前に)ダウンロードし、解凍して、中に入っているホイールを取り付けることができます。ただし、これは、構築されたホイールをテストする場合にのみ行う必要があります。次に、信頼できる発行を使用してPyPIへのアップロードを設定します。" #: ../../tutorials/trusted-publishing.md:215 msgid "Configure automatic publishing to PyPI" @@ -7601,11 +7603,11 @@ msgstr "PyPIへの自動発行を設定する" #: ../../tutorials/trusted-publishing.md:217 msgid "" -"The job you configured above using GitHub Actions builds your package using" -" your code. You still need to upload it to PyPI. You could upload the " -"package from the same job, but it is better to create a separate one to " -"maintain a separation of tasks. This is why, in the previous section, we " -"uploaded the artifact to the temporary storage." +"The job you configured above using GitHub Actions builds your package using " +"your code. You still need to upload it to PyPI. You could upload the package" +" from the same job, but it is better to create a separate one to maintain a " +"separation of tasks. This is why, in the previous section, we uploaded the " +"artifact to the temporary storage." msgstr "" "GitHub " "Actionsを使用して上記で構成したジョブは、コードを使用してパッケージをビルドします。まだPyPIにアップロードする必要があります。同じジョブからパッケージをアップロードすることもできますが、タスクの分離を維持するために別のものを作成することをお勧めします。これが、前のセクションでアーティファクトを一時ストレージにアップロードした理由です。" @@ -7613,9 +7615,10 @@ msgstr "" #: ../../tutorials/trusted-publishing.md:223 msgid "" "In the new job, you will download the package from there and upload it to " -"PyPI. Since the `build` job does nothing else, there is no possibility that" -" the package could get compromised before the release." -msgstr "新しいジョブでは、そこからパッケージをダウンロードし、PyPIにアップロードします。「ビルド」ジョブは他に何もしないので、リリース前にパッケージが危険にさらされる可能性はありません。" +"PyPI. Since the `build` job does nothing else, there is no possibility that " +"the package could get compromised before the release." +msgstr "" +"新しいジョブでは、そこからパッケージをダウンロードし、PyPIにアップロードします。「ビルド」ジョブは他に何もしないので、リリース前にパッケージが危険にさらされる可能性はありません。" #: ../../tutorials/trusted-publishing.md:227 msgid "Step 1: Add the upload job" @@ -7623,8 +7626,8 @@ msgstr "ステップ1 :アップロードジョブを追加する" #: ../../tutorials/trusted-publishing.md:229 msgid "" -"In the `release.yaml` file, add the following new job, after the job " -"defined in the previous section:" +"In the `release.yaml` file, add the following new job, after the job defined" +" in the previous section:" msgstr "'release.yaml`ファイルで、前のセクションで定義したジョブの後に次の新しいジョブを追加します。" #: ../../tutorials/trusted-publishing.md:238 @@ -7632,7 +7635,8 @@ msgid "Make sure to change the URL" msgstr "必ずURLを変更してください" #: ../../tutorials/trusted-publishing.md:240 -msgid "Remember to change the `url:` value to the URL for your package on PyPI!" +msgid "" +"Remember to change the `url:` value to the URL for your package on PyPI!" msgstr "PyPI上のパッケージのURLに`url :'値を変更することを忘れないでください!" #: ../../tutorials/trusted-publishing.md:243 @@ -7641,8 +7645,8 @@ msgstr "このジョブには2つのステップがあります。" #: ../../tutorials/trusted-publishing.md:245 msgid "" -"It uses `download-artifact` to download the artifacts built in the previous" -" job" +"It uses `download-artifact` to download the artifacts built in the previous " +"job" msgstr "「download - artifact」を使用して、前のジョブで構築されたアーティファクトをダウンロードします" #: ../../tutorials/trusted-publishing.md:247 @@ -7674,27 +7678,27 @@ msgid "" "Before trusted publishing was created, in order to upload to PyPI from " "GitHub actions you would have needed to add the username and password as " "arguments to the `gh-action-pypi-publish` step. While documentation " -"recommends using the GitHub's `secrets` environment for the password/token," -" in several cases, users were pasting the password directly into the " -"workflow file. Furthermore, accidental leakage of the password or token " -"could allow attackers to publish new packages using your account, until you" -" discover the compromise and revoke the leaked credentials." +"recommends using the GitHub's `secrets` environment for the password/token, " +"in several cases, users were pasting the password directly into the workflow" +" file. Furthermore, accidental leakage of the password or token could allow " +"attackers to publish new packages using your account, until you discover the" +" compromise and revoke the leaked credentials." msgstr "" "信頼された公開が作成される前は、GitHub Actions から PyPI にアップロードするためには、`gh-action-pypi-" -"publish` ステップにユーザー名とパスワードを引数として追加する必要がありました。 While documentation recommends" -" using the GitHub's `secrets` environment for the password/token, in " -"several cases, users were pasting the password directly into the workflow " -"file. Furthermore, accidental leakage of the password or token could allow " -"attackers to publish new packages using your account, until you discover " -"the compromise and revoke the leaked credentials." +"publish` ステップにユーザー名とパスワードを引数として追加する必要がありました。 While documentation recommends " +"using the GitHub's `secrets` environment for the password/token, in several " +"cases, users were pasting the password directly into the workflow file. " +"Furthermore, accidental leakage of the password or token could allow " +"attackers to publish new packages using your account, until you discover the" +" compromise and revoke the leaked credentials." #: ../../tutorials/trusted-publishing.md:269 msgid "" "To prevent these incidents and improve supply chain security, developers " "created [Trusted Publishing](https://docs.pypi.org/trusted-publishers/). " -"Trusted publishing allows you to register a publishing workflow on PyPI and" -" then map that workflow to an automation workflow (e.g., GitHub Actions) " -"that is allowed to publish the package." +"Trusted publishing allows you to register a publishing workflow on PyPI and " +"then map that workflow to an automation workflow (e.g., GitHub Actions) that" +" is allowed to publish the package." msgstr "" "これらの事故を防ぎ、サプライチェーンのセキュリティを向上させるために、開発者は[Trusted " "Publishing](https://docs.pypi.org/trusted-publishers/)を作成しました。Trusted " @@ -7726,12 +7730,12 @@ msgstr "" #: ../../tutorials/trusted-publishing.md:286 msgid "" "For this lesson, we will focus on configuring a trusted publisher for a " -"project that already exists on PyPI. If you completed the [lesson about " -"PyPI publishing](create-python-package), you should have this project " -"already created." +"project that already exists on PyPI. If you completed the [lesson about PyPI" +" publishing](create-python-package), you should have this project already " +"created." msgstr "" -"このレッスンでは、すでにPyPIに存在するプロジェクトのために信頼できる公開者を設定することに焦点を当てます。[PyPI公開に関するレッスン" -"](create-python-package)を完了していれば、このプロジェクトはすでに作成済みのはずです。" +"このレッスンでは、すでにPyPIに存在するプロジェクトのために信頼できる公開者を設定することに焦点を当てます。[PyPI公開に関するレッスン](create-" +"python-package)を完了していれば、このプロジェクトはすでに作成済みのはずです。" #: ../../tutorials/trusted-publishing.md:288 msgid "" @@ -7739,25 +7743,27 @@ msgid "" "releases will only run the GitHub Actions workflow we are configuring in " "`release.yaml`." msgstr "" -"このセットアップ手順は、プロジェクトに対して一度だけ実行する必要があります。今後のリリースでは、`release.yaml`で設定しているGitHub" -" Actionsのワークフローのみが実行されます。" +"このセットアップ手順は、プロジェクトに対して一度だけ実行する必要があります。今後のリリースでは、`release.yaml`で設定しているGitHub " +"Actionsのワークフローのみが実行されます。" #: ../../tutorials/trusted-publishing.md:291 msgid "" -"On the [\"Your projects\" page on PyPI](https://pypi.org/manage/projects/)," -" click \"Manage\" on any project you want to configure." -msgstr "PyPIの[「あなたのプロジェクト」ページ](https://pypi.org/manage/projects/)で、設定したいプロジェクトの「管理」をクリックしてください。" +"On the [\"Your projects\" page on PyPI](https://pypi.org/manage/projects/), " +"click \"Manage\" on any project you want to configure." +msgstr "" +"PyPIの[「あなたのプロジェクト」ページ](https://pypi.org/manage/projects/)で、設定したいプロジェクトの「管理」をクリックしてください。" #: ../../tutorials/trusted-publishing.md:295 msgid "" "Graphic showing a screenshot of the \"Your projects\" page on PyPI. The " "\"Manage\" button for one of the projects is highlighted." -msgstr "PyPI の「Your projects」ページのスクリーンショットを示すグラフィック。あるプロジェクトの「Manage」ボタンが強調表示されている。" +msgstr "" +"PyPI の「Your projects」ページのスクリーンショットを示すグラフィック。あるプロジェクトの「Manage」ボタンが強調表示されている。" #: ../../tutorials/trusted-publishing.md:297 msgid "" -"This image shows several projects. The \"Manage\" button is highlighted for" -" one of the projects, the one we want to configure trusted publishing for." +"This image shows several projects. The \"Manage\" button is highlighted for " +"one of the projects, the one we want to configure trusted publishing for." msgstr "この画像にはいくつかのプロジェクトが表示されています。信頼された公開の設定を行いたいプロジェクトの「管理」ボタンが強調表示されています。" #: ../../tutorials/trusted-publishing.md:300 @@ -7766,22 +7772,23 @@ msgstr "次に、プロジェクトのサイドバーで「公開」をクリッ #: ../../tutorials/trusted-publishing.md:303 msgid "" -"Graphic showing the management page for one project. The \"Publishing\" " -"link in the sidebar is highlighted." +"Graphic showing the management page for one project. The \"Publishing\" link" +" in the sidebar is highlighted." msgstr "1つのプロジェクトの管理ページを示すグラフィック。サイドバーの「公開」リンクが強調表示されている。" #: ../../tutorials/trusted-publishing.md:305 msgid "" -"Once clicking on the \"Manage\" button we got to the project's page. In the" -" sidebar, we have the \"publishing\" option, as highlighted here." +"Once clicking on the \"Manage\" button we got to the project's page. In the " +"sidebar, we have the \"publishing\" option, as highlighted here." msgstr "「管理」ボタンをクリックすると、プロジェクトのページに移動します。サイドバーには、「公開」オプションがあり、ここで強調表示されています。" #: ../../tutorials/trusted-publishing.md:309 msgid "" "This will take you to the publisher configuration page for the project. " -"Trusted publishers can be configured via the forms here. Fill in the GitHub" -" form with the following information:" -msgstr "これにより、プロジェクトのパブリッシャー設定ページに移動します。信頼されたパブリッシャーは、ここでのフォームを通じて設定できます。次の情報を使用してGitHubフォームに記入してください:" +"Trusted publishers can be configured via the forms here. Fill in the GitHub " +"form with the following information:" +msgstr "" +"これにより、プロジェクトのパブリッシャー設定ページに移動します。信頼されたパブリッシャーは、ここでのフォームを通じて設定できます。次の情報を使用してGitHubフォームに記入してください:" #: ../../tutorials/trusted-publishing.md:313 msgid "" @@ -7810,8 +7817,8 @@ msgstr "環境名: `release.yaml`で設定したので、`pypi`であるべき #: ../../tutorials/trusted-publishing.md:321 msgid "" -"Once you fill in this form and click \"Add\" the publisher is configured " -"and can be used to publish new releases of your package." +"Once you fill in this form and click \"Add\" the publisher is configured and" +" can be used to publish new releases of your package." msgstr "このフォームに入力して「追加」をクリックすると、パブリッシャーが設定され、パッケージの新しいリリースの公開に使用できるようになります。" #: ../../tutorials/trusted-publishing.md:324 @@ -7822,8 +7829,8 @@ msgstr "完全に強化されたGitHub Actionsリリースワークフロー" msgid "" "For better security, it is also recommended to control the permissions of " "the GitHub token used within each job of the workflow. The permissions " -"should be scoped at job level and be as minimal as possible. A workflow " -"that configures trusted publishing and also does this is the following:" +"should be scoped at job level and be as minimal as possible. A workflow that" +" configures trusted publishing and also does this is the following:" msgstr "" "より良いセキュリティのために、ワークフロー内の各ジョブで使用される GitHub " "トークンの権限を制御することも推奨されます。権限はジョブレベルでスコープされ、可能な限り最小限にするべきです。信頼された公開を設定し、これも行うワークフローは次のとおりです。" @@ -7832,14 +7839,16 @@ msgstr "" msgid "" "You can copy the above into your `release.yaml` file. You only need to " "update the `url:` field and configure trusted publishing on PyPI." -msgstr "上記を `release.yaml` ファイルにコピーできます。`url:` フィールドを更新し、PyPI で信頼できる公開設定を行うだけで済みます。" +msgstr "" +"上記を `release.yaml` ファイルにコピーできます。`url:` フィールドを更新し、PyPI で信頼できる公開設定を行うだけで済みます。" #: ../../tutorials/trusted-publishing.md:340 msgid "" -"The workflow above should be up to date with the current versions of GitHub" -" actions. However, it's good to turn on Dependabot to update the action " +"The workflow above should be up to date with the current versions of GitHub " +"actions. However, it's good to turn on Dependabot to update the action " "versions in the future." -msgstr "上記のワークフローは、現在のGitHubアクションのバージョンに合わせて最新であるはずです。ただし、将来的にアクションのバージョンを更新するためにDependabotを有効にしておくと良いでしょう。" +msgstr "" +"上記のワークフローは、現在のGitHubアクションのバージョンに合わせて最新であるはずです。ただし、将来的にアクションのバージョンを更新するためにDependabotを有効にしておくと良いでしょう。" #: ../../tutorials/trusted-publishing.md:343 msgid "You have enabled trusted publishing for your project" @@ -7847,14 +7856,14 @@ msgstr "あなたはプロジェクトに対して信頼できる公開を有効 #: ../../tutorials/trusted-publishing.md:345 msgid "" -"Congratulations!! You have now configured your project to do secure " -"releases when a new version is being tagged on GitHub. The workflow we have" -" configured builds the package from the exact version of code that we are " -"tagging. This provides a guarantee for your users that the package that you" -" have released does precisely what the code states it does. There is little" -" to no potential for supply chain related vulnerabilities arising from your" -" package! If you have a package that is ready for real-world use on the " -"real PyPI, then you can follow the same steps to publish it securely." +"Congratulations!! You have now configured your project to do secure releases" +" when a new version is being tagged on GitHub. The workflow we have " +"configured builds the package from the exact version of code that we are " +"tagging. This provides a guarantee for your users that the package that you " +"have released does precisely what the code states it does. There is little " +"to no potential for supply chain related vulnerabilities arising from your " +"package! If you have a package that is ready for real-world use on the real " +"PyPI, then you can follow the same steps to publish it securely." msgstr "" "おめでとうございます!!これで、新しいバージョンがGitHubでタグ付けされたときに、プロジェクトが安全にリリースできるように設定されました。 " "私たちが設定したワークフローは、タグを付けている正確なバージョンのコードからパッケージをビルドします。 " @@ -7892,65 +7901,52 @@ msgstr "" #~ msgstr "以前取り上げたレッスン" #~ msgid "" -#~ "[In the previous lesson](intro), you " -#~ "learned about what a Python package " -#~ "is. You also learned about the " -#~ "[benefits of creating a Python package" -#~ "](package-benefits)." +#~ "[In the previous lesson](intro), you learned about what a Python package is." +#~ " You also learned about the [benefits of creating a Python package](package-" +#~ "benefits)." #~ msgstr "" -#~ "[前のレッスンで](intro) 、Pythonパッケージとは何かについて学びました。また、 " -#~ "[Pythonパッケージを作成する利点](package-benefits) についても学びました。" +#~ "[前のレッスンで](intro) 、Pythonパッケージとは何かについて学びました。また、 [Pythonパッケージを作成する利点](package-" +#~ "benefits) についても学びました。" #~ msgid "" -#~ "Your next step in our packaging " -#~ "tutorial series is to create a " -#~ "Python package that is installable both" -#~ " locally and remotely from a website" -#~ " such as GitHub (or GitLab). The " -#~ "package that you create in this " -#~ "lesson will have the bare minimum " -#~ "elements needed to be installable into " -#~ "a Python environment." +#~ "Your next step in our packaging tutorial series is to create a Python " +#~ "package that is installable both locally and remotely from a website such as" +#~ " GitHub (or GitLab). The package that you create in this lesson will have " +#~ "the bare minimum elements needed to be installable into a Python " +#~ "environment." #~ msgstr "" -#~ "パッケージングチュートリアルシリーズの次のステップは、ローカルでも GitHub (または GitLab)" -#~ " などのウェブサイトからリモートでもインストール可能な Python " +#~ "パッケージングチュートリアルシリーズの次のステップは、ローカルでも GitHub (または GitLab) " +#~ "などのウェブサイトからリモートでもインストール可能な Python " #~ "パッケージを作成することです。このレッスンで作成するパッケージは、Python環境にインストールするために必要な最低限の要素しか持っていません。" #~ msgid "" -#~ "Making your code installable is an " -#~ "important steps towards creating a full" -#~ " Python package that is directly " -#~ "installable from PyPI." -#~ msgstr "あなたのコードをインストール可能にすることは、PyPIから直接インストール可能な完全なPythonパッケージを作成するための重要なステップです。" +#~ "Making your code installable is an important steps towards creating a full " +#~ "Python package that is directly installable from PyPI." +#~ msgstr "" +#~ "あなたのコードをインストール可能にすることは、PyPIから直接インストール可能な完全なPythonパッケージを作成するための重要なステップです。" #~ msgid "Does this lesson run as expected on windows and mac?" #~ msgstr "このレッスンは、windowsやmacで期待通りに動きますか?" #~ msgid "" -#~ "A basic installable package needs a " -#~ "few things: code, a [specific package " -#~ "file structure](https://www.pyopensci.org/python-package-" -#~ "guide/package-structure-code/python-package-" -#~ "structure.html) and a `pyproject.toml` " -#~ "containing your package's name and " -#~ "version. Once you have these items " -#~ "in the correct directory structure, you" -#~ " can pip install your package into " -#~ "any environment on your computer. You " -#~ "will learn how to create a basic " +#~ "A basic installable package needs a few things: code, a [specific package " +#~ "file structure](https://www.pyopensci.org/python-package-guide/package-" +#~ "structure-code/python-package-structure.html) and a `pyproject.toml` " +#~ "containing your package's name and version. Once you have these items in the" +#~ " correct directory structure, you can pip install your package into any " +#~ "environment on your computer. You will learn how to create a basic " #~ "installable package in this lesson." #~ msgstr "" #~ "基本的なインストール可能パッケージには、以下のものが必要です: コード、 " -#~ "[特定のパッケージファイル構造](https://www.pyopensci.org/python-package-" -#~ "guide/package-structure-code/python-package-" -#~ "structure.html) 、パッケージの名前とバージョンを含む `pyproject.toml` " +#~ "[特定のパッケージファイル構造](https://www.pyopensci.org/python-package-guide/package-" +#~ "structure-code/python-package-structure.html) 、パッケージの名前とバージョンを含む " +#~ "`pyproject.toml` " #~ "が必要です。これらのアイテムが正しいディレクトリ構造になっていれば、pipであなたのコンピュータのどの環境にもパッケージをインストールすることができます。このレッスンでは、基本的なインストール可能パッケージの作成方法を学びます。" #~ msgid "" -#~ "How to create a basic `pyproject.toml` " -#~ "file that includes package dependencies " -#~ "and metadata. This file is required " -#~ "to make your package installable." +#~ "How to create a basic `pyproject.toml` file that includes package " +#~ "dependencies and metadata. This file is required to make your package " +#~ "installable." #~ msgstr "" #~ "パッケージの依存関係とメタデータを含む基本的な `pyproject.toml` " #~ "ファイルの作成方法。このファイルは、パッケージをインストール可能にするために必要です。" @@ -7968,34 +7964,26 @@ msgstr "" #~ msgstr "コミュニティの利用をサポートするために、パッケージに README ファイルを追加してください。" #~ msgid "" -#~ "Add additional project metadata to your" -#~ " package to support PyPI publication" +#~ "Add additional project metadata to your package to support PyPI publication" #~ msgstr "PyPI公開をサポートするために、パッケージにプロジェクトのメタデータを追加します" #~ msgid "Note about `setup.py`" #~ msgstr "`setup.py` についてのメモ" #~ msgid "" -#~ "Now that you understand the basics " -#~ "of the Python package directory structure," -#~ " and associated key files (`__init__.py` " -#~ "and `pyproject.toml`), it's time to create" -#~ " your Python package! Below you will" -#~ " create a directory structure similar " -#~ "to the structure described above using " -#~ "Hatch." +#~ "Now that you understand the basics of the Python package directory " +#~ "structure, and associated key files (`__init__.py` and `pyproject.toml`), " +#~ "it's time to create your Python package! Below you will create a directory " +#~ "structure similar to the structure described above using Hatch." #~ msgstr "" -#~ "Python パッケージのディレクトリ構造の基本を理解し、関連するキーファイル (`__init__.py` " -#~ "と `pyproject.toml`) を理解したところで、いよいよ Python " -#~ "パッケージを作成します! 以下では、Hatchを使って、上で説明したようなディレクトリ構造を作成します。" +#~ "Python パッケージのディレクトリ構造の基本を理解し、関連するキーファイル (`__init__.py` と `pyproject.toml`) " +#~ "を理解したところで、いよいよ Python パッケージを作成します! 以下では、Hatchを使って、上で説明したようなディレクトリ構造を作成します。" #~ msgid "Hatch and project names" #~ msgstr "Hatchとプロジェクト名" #~ msgid "" -#~ "Hatch makes some decisions for your " -#~ "project's name when you run `hatch " -#~ "new`" +#~ "Hatch makes some decisions for your project's name when you run `hatch new`" #~ msgstr "`hatch new` を実行したとき、 Hatch は、あなたのプロジェクトの名前を決定します。" #~ msgid "These include using:" @@ -8014,92 +8002,69 @@ msgstr "" #~ msgstr "アンダースコア付きの名前を使っても、Hatchは同じものを返します:" #~ msgid "" -#~ "In both of the examples above the" -#~ " project name in the pyproject.toml " -#~ "file that hatch creates is `pyos-" -#~ "package`." +#~ "In both of the examples above the project name in the pyproject.toml file " +#~ "that hatch creates is `pyos-package`." #~ msgstr "上記のどちらの例でも、hatchが作成するpyproject.tomlファイルのプロジェクト名は `pyos-package` です。" #~ msgid "Next run:" #~ msgstr "次に実行するのは:" #~ msgid "" -#~ "If you don't have code already and" -#~ " are just learning how to create " -#~ "a Python package, then create an " -#~ "empty `add_numbers.py` file. You will " -#~ "populate the `add_numbers.py` file with " -#~ "code provided below." +#~ "If you don't have code already and are just learning how to create a Python " +#~ "package, then create an empty `add_numbers.py` file. You will populate the " +#~ "`add_numbers.py` file with code provided below." #~ msgstr "" -#~ "もしまだコードを持っておらず、Python パッケージの作成方法を学んでいるところなら、空の " -#~ "`add_numbers.py` ファイルを作成してください。 この `add_numbers.py`" -#~ " ファイルに以下に示すコードを入力します。" +#~ "もしまだコードを持っておらず、Python パッケージの作成方法を学んでいるところなら、空の `add_numbers.py` " +#~ "ファイルを作成してください。 この `add_numbers.py` ファイルに以下に示すコードを入力します。" #~ msgid "" -#~ "If you are following along and " -#~ "making a Python package from scratch " -#~ "then you can add the code below " -#~ "to your `add_numbers.py` module. The " -#~ "function below adds two integers together" -#~ " and returns the result. Notice that" -#~ " the code below has a few " -#~ "features that we will review in " -#~ "future tutorials:" +#~ "If you are following along and making a Python package from scratch then you" +#~ " can add the code below to your `add_numbers.py` module. The function below " +#~ "adds two integers together and returns the result. Notice that the code " +#~ "below has a few features that we will review in future tutorials:" #~ msgstr "" -#~ "Python のパッケージをゼロから作るのであれば、以下のコードを `add_numbers.py` " -#~ "モジュールに追加してください。 " +#~ "Python のパッケージをゼロから作るのであれば、以下のコードを `add_numbers.py` モジュールに追加してください。 " #~ "以下の関数は2つの整数を加算して結果を返します。以下のコードには、今後のチュートリアルで確認するいくつかの機能があることに注目してください:" #~ msgid "" -#~ "If you aren't familiar with docstrings " -#~ "or typing yet, that is ok. You " -#~ "can review [this page in the " -#~ "pyOpenSci packaging guide](https://www.pyopensci.org" -#~ "/python-package-guide/documentation/write-user-" -#~ "documentation/document-your-code-api-" -#~ "docstrings.html) for an overview of both" -#~ " topics." +#~ "If you aren't familiar with docstrings or typing yet, that is ok. You can " +#~ "review [this page in the pyOpenSci packaging " +#~ "guide](https://www.pyopensci.org/python-package-guide/documentation/write-" +#~ "user-documentation/document-your-code-api-docstrings.html) for an overview " +#~ "of both topics." #~ msgstr "" #~ "もしあなたがまだdocstringsやタイピングに慣れていなくても大丈夫です。 両方のトピックの概要については、 " -#~ "[pyOpenSciパッケージングガイドのこのページ](https://www.pyopensci.org/python-" -#~ "package-guide/documentation/write-user-documentation" -#~ "/document-your-code-api-docstrings.html) " -#~ "を参照してください。" +#~ "[pyOpenSciパッケージングガイドのこのページ](https://www.pyopensci.org/python-package-" +#~ "guide/documentation/write-user-documentation/document-your-code-api-" +#~ "docstrings.html) を参照してください。" #~ msgid "" -#~ "Next, you will modify some of the" -#~ " metadata (information) that Hatch adds " -#~ "to your `pyproject.toml` file. You are " -#~ "are welcome to copy the file we " -#~ "have in our [example pyospackage GitHub" -#~ " repository](https://github.com/pyOpenSci/pyosPackage)." +#~ "Next, you will modify some of the metadata (information) that Hatch adds to " +#~ "your `pyproject.toml` file. You are are welcome to copy the file we have in " +#~ "our [example pyospackage GitHub " +#~ "repository](https://github.com/pyOpenSci/pyosPackage)." #~ msgstr "" -#~ "次に、Hatchが `pyproject.toml` ファイルに追加するメタデータ (情報) " -#~ "の一部を変更します。私たちの [example pyospackage " -#~ "GitHubリポジトリ](https://github.com/pyOpenSci/pyosPackage) " +#~ "次に、Hatchが `pyproject.toml` ファイルに追加するメタデータ (情報) の一部を変更します。私たちの [example " +#~ "pyospackage GitHubリポジトリ](https://github.com/pyOpenSci/pyosPackage) " #~ "にあるファイルをコピーしてください。" #~ msgid "Edit the file as follows:" #~ msgstr "以下のようにファイルを編集します:" #~ msgid "" -#~ "Delete `dynamic = [\"version\"]`: This " -#~ "sets up dynamic versioning based on " -#~ "tags stored in your git commit " -#~ "history. We will walk through implementing" -#~ " this in a later lesson." +#~ "Delete `dynamic = [\"version\"]`: This sets up dynamic versioning based on " +#~ "tags stored in your git commit history. We will walk through implementing " +#~ "this in a later lesson." #~ msgstr "" #~ "`dynamic = [\"version\"]` を削除する: これは、git " #~ "のコミット履歴に保存されているタグに基づいて、動的なバージョン管理を設定します。後のレッスンでこの実装方法を説明します。" #~ msgid "" -#~ "Add `version = \"0.1\"` in the place" -#~ " of `dynamic = [\"version\"]` which " -#~ "you just deleted. This sets up " -#~ "manual versioning." +#~ "Add `version = \"0.1\"` in the place of `dynamic = [\"version\"]` which you" +#~ " just deleted. This sets up manual versioning." #~ msgstr "" -#~ "先ほど削除した `dynamic = [\"version\"]` の場所に " -#~ "`version = \"0.1\"` を追加します。これで手動バージョン管理が設定されます。" +#~ "先ほど削除した `dynamic = [\"version\"]` の場所に `version = \"0.1\"` " +#~ "を追加します。これで手動バージョン管理が設定されます。" #~ msgid "Fill in the description if it doesn't already exist." #~ msgstr "説明文がなければ記入してください。" @@ -8111,20 +8076,16 @@ msgstr "" #~ msgstr "オプション: プロジェクトの分類子を調整する" #~ msgid "" -#~ "Hatch by default provides a list of" -#~ " classifiers that define what Python " -#~ "versions your package supports. These " -#~ "classifiers do not in any way impact" -#~ " your package's build and are primarily" -#~ " intended to be used when you " -#~ "publish your package to PyPI." -#~ msgstr "Hatchはデフォルトで、パッケージがサポートするPythonのバージョンを定義する分類子のリストを提供します。これらの分類子はパッケージのビルドには一切影響を与えず、主にパッケージをPyPIに公開するときに使用することを目的としています。" +#~ "Hatch by default provides a list of classifiers that define what Python " +#~ "versions your package supports. These classifiers do not in any way impact " +#~ "your package's build and are primarily intended to be used when you publish " +#~ "your package to PyPI." +#~ msgstr "" +#~ "Hatchはデフォルトで、パッケージがサポートするPythonのバージョンを定義する分類子のリストを提供します。これらの分類子はパッケージのビルドには一切影響を与えず、主にパッケージをPyPIに公開するときに使用することを目的としています。" #~ msgid "" -#~ "If you don't plan on publishing to" -#~ " PyPI, you can skip this section. " -#~ "However, if you wish, you can clean" -#~ " it up a bit." +#~ "If you don't plan on publishing to PyPI, you can skip this section. However," +#~ " if you wish, you can clean it up a bit." #~ msgstr "PyPIに公開する予定がなければ、このセクションは飛ばして構いません。しかし、もし望むなら、少しきれいにすることもできます。" #~ msgid "To begin:" @@ -8134,18 +8095,15 @@ msgstr "" #~ msgstr "Python 3.8のサポートを削除" #~ msgid "" -#~ "Within the `[project]` table, update " -#~ "`requires-python = \">3.8\"` to `requires-" -#~ "python = \">3.9\"`" +#~ "Within the `[project]` table, update `requires-python = \">3.8\"` to " +#~ "`requires-python = \">3.9\"`" #~ msgstr "" -#~ "`[project]` テーブル内で、 `requires-python = " -#~ "\">3.8\"` を `requires-python = \">3.9\"`" -#~ " に更新します。" +#~ "`[project]` テーブル内で、 `requires-python = \">3.8\"` を `requires-python = " +#~ "\">3.9\"` に更新します。" #~ msgid "" -#~ "Since you are creating a pure Python" -#~ " package in this lesson, you can " -#~ "remove the following classifiers:" +#~ "Since you are creating a pure Python package in this lesson, you can remove " +#~ "the following classifiers:" #~ msgstr "このレッスンでは純粋な Python パッケージを作成するので、以下の分類子は削除してかまいません:" #~ msgid "Your new pyproject.toml file should now look something like this:" @@ -8158,8 +8116,7 @@ msgstr "" #~ msgstr "これからのレッスンではあなたは:" #~ msgid "" -#~ "Learn how to [build and publish your" -#~ " Python package to (test) PyPI](publish-" +#~ "Learn how to [build and publish your Python package to (test) PyPI](publish-" #~ "pypi)" #~ msgstr "[Python パッケージをビルドして (test) PyPI に公開する](publish-pypi) 方法を学びましょう。" @@ -8167,8 +8124,7 @@ msgstr "" #~ msgstr "READMEファイルとLICENSEをパッケージに追加する。" #~ msgid "" -#~ "Add more metadata to your `pyproject.toml`" -#~ " file to support PyPI publication." +#~ "Add more metadata to your `pyproject.toml` file to support PyPI publication." #~ msgstr "PyPI での公開をサポートするために `pyproject.toml` ファイルにメタデータを追加します。" #~ msgid "learn how to publish to **conda-forge** from **PyPI**." @@ -8184,109 +8140,77 @@ msgstr "" #~ msgstr "ライセンスと" #~ msgid "" -#~ "This lesson uses the pyOpenSci Python " -#~ "package copier template to create a " -#~ "Python package quickly. Your package will" -#~ " be installable both locally and " -#~ "remotely from a website such as " -#~ "GitHub (or GitLab) into a Python " +#~ "This lesson uses the pyOpenSci Python package copier template to create a " +#~ "Python package quickly. Your package will be installable both locally and " +#~ "remotely from a website such as GitHub (or GitLab) into a Python " #~ "environment." #~ msgstr "" #~ msgid "" -#~ "The template will then begin to copy" -#~ " files into the directory that used " -#~ "above. (`.` means current working " -#~ "directory" +#~ "The template will then begin to copy files into the directory that used " +#~ "above. (`.` means current working directory" #~ msgstr "" #~ msgid "" -#~ "If you use the \"bells and " -#~ "whistles\" default option when working " -#~ "through the template prompts, our template" -#~ " will create a complete package setup" -#~ " with GitHub CI actions, typing, tests," -#~ " environments , and more using Hatch." -#~ " If you customize the entire package," -#~ " then you can select what platform " -#~ "you wish to host it on (GitHub " -#~ "vs GitLab), whether you want typing, " -#~ "what documentation engine you want to " -#~ "use, and more." +#~ "If you use the \"bells and whistles\" default option when working through " +#~ "the template prompts, our template will create a complete package setup with" +#~ " GitHub CI actions, typing, tests, environments , and more using Hatch. If " +#~ "you customize the entire package, then you can select what platform you wish" +#~ " to host it on (GitHub vs GitLab), whether you want typing, what " +#~ "documentation engine you want to use, and more." #~ msgstr "" #~ msgid "" #~ "[Sphinx](https://www.pyopensci.org/python-package-" -#~ "guide/documentation/hosting-tools/sphinx-python-" -#~ "package-documentation-tools.html) with the " -#~ "pydata_sphinx_theme for documentation" +#~ "guide/documentation/hosting-tools/sphinx-python-package-documentation-" +#~ "tools.html) with the pydata_sphinx_theme for documentation" #~ msgstr "" #~ msgid "" -#~ "A `pyproject.toml` file stores metadata " -#~ "that provides instructions to various " -#~ "tools interacting with it, including " -#~ "Hatch, which will build your package. " -#~ "You can also specify metadata for " -#~ "your package." +#~ "A `pyproject.toml` file stores metadata that provides instructions to " +#~ "various tools interacting with it, including Hatch, which will build your " +#~ "package. You can also specify metadata for your package." #~ msgstr "" #~ msgid "" -#~ "The metadata in your generated " -#~ "pyproject.toml is already setup for you" -#~ " using the information you provided the" -#~ " copier template above." +#~ "The metadata in your generated pyproject.toml is already setup for you using" +#~ " the information you provided the copier template above." #~ msgstr "" #~ msgid "" -#~ "Welcome to your shiny new package! " -#~ "This page will help you get started" -#~ " with using Hatch to run tests, " -#~ "build and check your package, and " -#~ "build your documentation." +#~ "Welcome to your shiny new package! This page will help you get started with " +#~ "using Hatch to run tests, build and check your package, and build your " +#~ "documentation." #~ msgstr "" #~ msgid "" -#~ "To begin, have a look at the " -#~ "`pyproject.toml` file in your package " -#~ "directory. This file contains the " -#~ "configuration for your package. This file" -#~ " is written using a .toml format. " -#~ "[You can learn more about toml " -#~ "here.](https://www.pyopensci.org/python-package-guide" -#~ "/package-structure-code/pyproject-toml-python-" -#~ "package-metadata.html) Here's the TL&DR:" +#~ "To begin, have a look at the `pyproject.toml` file in your package " +#~ "directory. This file contains the configuration for your package. This file " +#~ "is written using a .toml format. [You can learn more about toml " +#~ "here.](https://www.pyopensci.org/python-package-guide/package-structure-" +#~ "code/pyproject-toml-python-package-metadata.html) Here's the TL&DR:" #~ msgstr "" #~ msgid "" -#~ "In the pyOpenSci Python package template," -#~ " we have set up Hatch environments. " -#~ "You will notice at the bottom of " -#~ "the file, a [hatch " -#~ "environment](https://hatch.pypa.io/1.13/environment/) section, " -#~ "that looks like this:" +#~ "In the pyOpenSci Python package template, we have set up Hatch environments." +#~ " You will notice at the bottom of the file, a [hatch " +#~ "environment](https://hatch.pypa.io/1.13/environment/) section, that looks " +#~ "like this:" #~ msgstr "" #~ msgid "" -#~ "Below is a Hatch environment definition" -#~ " that you will find in your [new" -#~ " project's pyproject.toml file](create-python-" -#~ "package). It is set up to [build " -#~ "your package's](build-package) distribution " -#~ "files ([source distribution](python-source-" -#~ "distribution) and [wheel](python-wheel))." +#~ "Below is a Hatch environment definition that you will find in your [new " +#~ "project's pyproject.toml file](create-python-package). It is set up to " +#~ "[build your package's](build-package) distribution files ([source " +#~ "distribution](python-source-distribution) and [wheel](python-wheel))." #~ msgstr "" #~ msgid "" -#~ "Notice that the environment definition " -#~ "declares two dependencies: `pip` and " -#~ "`twine`, which the environment needs to" -#~ " run successfully. This declaration is " -#~ "similar to declaring dependencies for your" -#~ " package at the top of your " -#~ "`pyproject.toml`. This section tells Hatch " -#~ "to create a new VENV with pip " -#~ "and twine installed." +#~ "Notice that the environment definition declares two dependencies: `pip` and " +#~ "`twine`, which the environment needs to run successfully. This declaration " +#~ "is similar to declaring dependencies for your package at the top of your " +#~ "`pyproject.toml`. This section tells Hatch to create a new VENV with pip and" +#~ " twine installed." #~ msgstr "" #~ msgid "Build your package's source (sdist) and wheel distributions" @@ -8296,25 +8220,16 @@ msgstr "" #~ msgstr "" #~ msgid "" -#~ "GitHub Actions[^gha] is an infrastructure " -#~ "provided by GitHub to automate software" -#~ " workflows, straight from the GitHub " -#~ "repository of the project. You can " -#~ "configure automated testing for every pull" -#~ " request, automate publishing of " -#~ "documentation, automate creation of web " -#~ "pages for the project, and even " -#~ "automate the release process. For this " -#~ "lesson, we will focus on using " -#~ "actions to release and publish your " -#~ "Python package securely to PyPI." +#~ "GitHub Actions[^gha] is an infrastructure provided by GitHub to automate " +#~ "software workflows, straight from the GitHub repository of the project. You " +#~ "can configure automated testing for every pull request, automate publishing " +#~ "of documentation, automate creation of web pages for the project, and even " +#~ "automate the release process. For this lesson, we will focus on using " +#~ "actions to release and publish your Python package securely to PyPI." #~ msgstr "" #~ msgid "" -#~ "For a release job, you need to " -#~ "clone or check out the repository. " -#~ "You can use the `actions/checkout` action" -#~ " to check out the code. You then" -#~ " install and use `hatch` to build " -#~ "your package." +#~ "For a release job, you need to clone or check out the repository. You can " +#~ "use the `actions/checkout` action to check out the code. You then install " +#~ "and use `hatch` to build your package." #~ msgstr "" From e27e618ad12296c93e828fcfac606aa9be5031ef Mon Sep 17 00:00:00 2001 From: Tetsuo Koyama Date: Sat, 10 Oct 2026 23:04:14 +0900 Subject: [PATCH 9/9] Potential fix for pull request finding 'Fix grammatical errors in revised translation' Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> --- locales/ja/LC_MESSAGES/tests.po | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/locales/ja/LC_MESSAGES/tests.po b/locales/ja/LC_MESSAGES/tests.po index a0fcdeef..84e7d757 100644 --- a/locales/ja/LC_MESSAGES/tests.po +++ b/locales/ja/LC_MESSAGES/tests.po @@ -1658,7 +1658,7 @@ msgid "" "understand and contribute to your project." msgstr "" "**より容易なコラボレーション:** " -"他の人と一緒に仕事をしていたり、外部の協力者がいる場合、テストは全員が同じ認識を保つののに役立ちます。テストはパッケージがどのように動作するはずかを説明するので、他の人が理解しやすくなり、プロジェクトに貢献しやすくなります。" +"他の人と一緒に仕事をしていたり、外部の協力者がいる場合、テストは全員が同じ認識を保つのに役立ちます。テストはパッケージがどのように動作するはずなのかを説明するので、他の人が理解しやすくなり、プロジェクトに貢献しやすくなります。" #: ../../tests/write-tests.md:27 msgid ""