@@ -12,16 +12,16 @@ msgstr ""
12
12
"Project-Id-Version: Python Packaging User Guide\n"
13
13
"Report-Msgid-Bugs-To: \n"
14
14
"POT-Creation-Date: 2025-06-19 01:36+0000\n"
15
- "PO-Revision-Date: 2025-06-15 05:04 +0000\n"
15
+ "PO-Revision-Date: 2025-07-10 00:01 +0000\n"
16
16
"Last-Translator: moto kawasaki <
[email protected] >\n"
17
- "Language-Team: Japanese <https://hosted.weblate.org/projects/pypa/packaging- "
18
- "python-org/ja/>\n"
17
+ "Language-Team: Japanese <https://hosted.weblate.org/projects/pypa/"
18
+ "packaging- python-org/ja/>\n"
19
19
"Language: ja\n"
20
20
"MIME-Version: 1.0\n"
21
21
"Content-Type: text/plain; charset=UTF-8\n"
22
22
"Content-Transfer-Encoding: 8bit\n"
23
23
"Plural-Forms: nplurals=1; plural=0;\n"
24
- "X-Generator: Weblate 5.12 -dev\n"
24
+ "X-Generator: Weblate 5.13 -dev\n"
25
25
26
26
#: ../source/contribute.rst:5
27
27
msgid "Contribute to this guide"
@@ -6143,12 +6143,15 @@ msgid ""
6143
6143
"a certain hack could be placed in this file; read more at :ref:`running-cli-"
6144
6144
"from-source-src-layout`."
6145
6145
msgstr ""
6146
+ "例えば ``python src/greetings`` のように、:term:`ソースコードツリー <Project "
6147
+ "Source Tree>` "
6148
+ "から直接にコマンドラインインタフェースを呼び出すことができるようにするために"
6149
+ "は、このファイルの中にそれなりのハックが置かれていることでしょう; "
6150
+ "もっと読みたければ :ref:`running-cli-from-source-src-layout` をどうぞ。"
6146
6151
6147
6152
#: ../source/guides/creating-command-line-tools.rst:117
6148
- #, fuzzy
6149
- #| msgid "pyproject.toml"
6150
6153
msgid "``pyproject.toml``"
6151
- msgstr "pyproject.toml"
6154
+ msgstr "`` pyproject.toml`` "
6152
6155
6153
6156
#: ../source/guides/creating-command-line-tools.rst:119
6154
6157
msgid ""
@@ -6158,6 +6161,12 @@ msgid ""
6158
6161
"`writing-pyproject-toml`, adding a dependency on ``typer`` (this tutorial "
6159
6162
"uses version *0.12.3*)."
6160
6163
msgstr ""
6164
+ "プロジェクトの :term:`メタデータ <Pyproject Metadata>` は "
6165
+ ":term:`pyproject.toml` の中にあります。 ``typer`` ("
6166
+ "このチュートリアルではバージョン *0.1.2.3* を使います) "
6167
+ "への依存を追加しながら、 :ref:`writing-pyproject-toml` "
6168
+ "に記述されているように :term:`pyproject メタデータキー <Pyproject Metadata "
6169
+ "Key>` や ``[build-system]`` テーブルに値が埋め込まれます。"
6161
6170
6162
6171
#: ../source/guides/creating-command-line-tools.rst:122
6163
6172
msgid ""
@@ -6166,57 +6175,79 @@ msgid ""
6166
6175
"`console_scripts`) needs to be added as a :term:`subkey <Pyproject Metadata "
6167
6176
"Subkey>`:"
6168
6177
msgstr ""
6178
+ "コマンドラインツールとして認識されるプロジェクト向けには、さらに "
6179
+ "``console_scripts`` :ref:`エントリポイント <entry-point>` "
6180
+ "(:ref:`console_scripts`をご覧ください) が :term:`サブキー <Pyproject "
6181
+ "Metadata Subkey>` として追加されている必要があります:"
6169
6182
6170
6183
#: ../source/guides/creating-command-line-tools.rst:129
6171
6184
msgid ""
6172
6185
"Now, the project's source tree is ready to be transformed into a :term:"
6173
6186
"`distribution package <Distribution Package>`, which makes it installable."
6174
6187
msgstr ""
6188
+ "これで、プロジェクトのソースコードツリーが、インストールすることができる "
6189
+ ":term:`配布パッケージ <Distribution Package>` "
6190
+ "へと変換される準備ができました。"
6175
6191
6176
6192
#: ../source/guides/creating-command-line-tools.rst:134
6177
- #, fuzzy
6178
- #| msgid "Install packages using pip"
6179
6193
msgid "Installing the package with ``pipx``"
6180
- msgstr "pip を使ってパッケージをインストールする"
6194
+ msgstr "``pipx`` を使ってパッケージをインストールする"
6181
6195
6182
6196
#: ../source/guides/creating-command-line-tools.rst:136
6183
6197
msgid ""
6184
6198
"After installing ``pipx`` as described in :ref:`installing-stand-alone-"
6185
6199
"command-line-tools`, install your project:"
6186
6200
msgstr ""
6201
+ ":ref:`installing-stand-alone-command-line-tools` に記述されているように "
6202
+ "``pipx`` をインストールした後に、プロジェクトをインストールしましょう:"
6187
6203
6188
6204
#: ../source/guides/creating-command-line-tools.rst:143
6189
6205
msgid ""
6190
6206
"This will expose the executable script we defined as an entry point and make "
6191
6207
"the command ``greet`` available. Let's test it:"
6192
- msgstr ""
6208
+ msgstr "これによって、エントリポイントとして定義した実行可能なスクリプトを露出し、"
6209
+ "コマンド ``greet`` を利用可能にします。試してみましょう:"
6193
6210
6194
6211
#: ../source/guides/creating-command-line-tools.rst:155
6195
6212
msgid ""
6196
6213
"Since this example uses ``typer``, you could now also get an overview of the "
6197
6214
"program's usage by calling it with the ``--help`` option, or configure "
6198
6215
"completions via the ``--install-completion`` option."
6199
6216
msgstr ""
6217
+ "この例では ``typer`` を使っていますので、今や ``--help`` "
6218
+ "オプションをつけて呼び出すことでプログラムの使用方法の概要を得たり、 "
6219
+ "``--install-completion`` "
6220
+ "オプション経由でコマンドライン補完を得ることができるでしょう。"
6200
6221
6201
6222
#: ../source/guides/creating-command-line-tools.rst:158
6202
6223
msgid ""
6203
6224
"To just run the program without installing it permanently, use ``pipx run``, "
6204
6225
"which will create a temporary (but cached) virtual environment for it:"
6205
6226
msgstr ""
6227
+ "プログラムを永続的にインストールすることなしにただプログラムを走らせるために"
6228
+ "は、一時的な (しかしキャッシュされる) 仮想環境を作ってくれる ``pipx run`` "
6229
+ "を使いましょう。"
6206
6230
6207
6231
#: ../source/guides/creating-command-line-tools.rst:165
6208
6232
msgid ""
6209
6233
"This syntax is a bit impractical, however; as the name of the entry point we "
6210
6234
"defined above does not match the package name, we need to state explicitly "
6211
6235
"which executable script to run (even though there is only on in existence)."
6212
6236
msgstr ""
6237
+ "しかしながら、このシンタックスはちょっと実際的ではありません; "
6238
+ "上で定義したエントリポイントの名称がパッケージ名称と一致しないので、 "
6239
+ "(たとえひとつしか実行スクリプトがないとしても) "
6240
+ "明示的にどの実行スクリプトを走らせるのかを述べる必要があります。"
6213
6241
6214
6242
#: ../source/guides/creating-command-line-tools.rst:168
6215
6243
msgid ""
6216
6244
"There is, however, a more practical solution to this problem, in the form of "
6217
6245
"an entry point specific to ``pipx run``. The same can be defined as follows "
6218
6246
"in :file:`pyproject.toml`:"
6219
6247
msgstr ""
6248
+ "しかしながら、この問題に対するもっと実際的な解決法で、 ``pipx run`` "
6249
+ "でエントリポイントを指定する形式があります。以下に述べる "
6250
+ ":file:`pyproject.toml` 内で定義することで同様のことができるのです:"
6220
6251
6221
6252
#: ../source/guides/creating-command-line-tools.rst:177
6222
6253
msgid ""
0 commit comments