@@ -52,7 +52,6 @@ msgstr ""
5252"`python` 実行可能ファイルの実行したり、 Python の REPL を使用したりする、コン"
5353"ソールも存在しません。"
5454
55- #: ../../using/android.rst:17
5655msgid ""
5756"As a result, the only way you can use Python on Android is in embedded mode "
5857"– that is, by writing a native Android application, embedding a Python "
@@ -61,12 +60,13 @@ msgid ""
6160"standard library, and all your Python code is then packaged into your app "
6261"for its own private use."
6362msgstr ""
64- "このため、 Python を Android 上で使うただ一つの方法は、埋め込みモード、つま"
65- "り、ネイティブ Android アプリケーションを書き、 ``libpython`` を使用して "
66- "Python インタープリタを埋め込み、そして :ref:`Python 埋め込み API "
67- "<embedding>` を使用して Python コードを呼び出すことです。 それにより、完全な "
68- "Python インタープリタ、標準ライブラリ、及び Python のコードが、アプリにパッ"
69- "ケージ化され、独自の私的用途に使用されます。"
63+ "このため、Android で Python を使うには埋め込みモードを使用するしかありませ"
64+ "ん。\n"
65+ "つまり、ネイティブの Android アプリケーションを作成し、``libpython`` を使っ"
66+ "て Python インタープリタを埋め込み、:ref:`Python 埋め込み API <embedding>` を"
67+ "使って Python コードを呼び出します。\n"
68+ "Python インタープリタ全体、標準ライブラリ、作成したすべての Python コードは、"
69+ "そのアプリ専用としてアプリにまとめてパッケージ化されます。"
7070
7171#: ../../using/android.rst:23
7272msgid ""
@@ -90,9 +90,8 @@ msgstr ""
9090"ほとんどのアプリ開発者は、次のツールの一つを使用するべきです。これにより、は"
9191"るかに簡単な体験が提供されます:"
9292
93- #: ../../using/android.rst:33
9493msgid "`Briefcase <https://briefcase.beeware.org>`__, from the BeeWare project"
95- msgstr ""
94+ msgstr "BeeWare プロジェクトの `Briefcase <https://briefcase.beeware.org>`__ "
9695
9796#: ../../using/android.rst:34
9897msgid "`Buildozer <https://buildozer.readthedocs.io>`__, from the Kivy project"
@@ -112,85 +111,95 @@ msgstr ""
112111msgid "`Termux <https://termux.dev/en/>`__"
113112msgstr "`Termux <https://termux.dev/en/>`__"
114113
115- #: ../../using/android.rst:39
116114msgid ""
117115"If you're sure you want to do all of this manually, read on. You can use "
118116"the :source:`testbed app <Platforms/Android/testbed>` as a guide; each step "
119117"below contains a link to the relevant file."
120118msgstr ""
119+ "これらの作業をすべて手動で行うと決めている場合は、続きを読んでください。\n"
120+ ":source:`テストベッドアプリ <Platforms/Android/testbed>` を参考にできます。\n"
121+ "以下の各手順には、対応するファイルへのリンクがあります。"
121122
122- #: ../../using/android.rst:43
123123msgid "First, acquire a build of Python for Android:"
124- msgstr ""
124+ msgstr "まず、Android 用にビルドされた Python を入手します: "
125125
126- #: ../../using/android.rst:45
127126msgid ""
128127"The easiest way is to download an Android release from `python.org <https://"
129128"www.python.org/downloads/android/>`__. The ``prefix`` directory mentioned "
130129"below is at the top level of the package."
131130msgstr ""
131+ "最も簡単な方法は、`python.org <https://www.python.org/downloads/android/>`__ "
132+ "から Android 向けリリースをダウンロードすることです。\n"
133+ "以下で説明する ``prefix`` ディレクトリは、パッケージの最上位にあります。"
132134
133- #: ../../using/android.rst:49
134135msgid ""
135136"Or if you want to build it yourself, follow the instructions in :source:"
136137"`Platforms/Android/README.md`. The ``prefix`` directory will be created "
137138"under :samp:`cross-build/{HOST}`."
138139msgstr ""
140+ "自分でビルドする場合は、:source:`Platforms/Android/README.md` の手順に従って"
141+ "ください。\n"
142+ "``prefix`` ディレクトリは :samp:`cross-build/{HOST}` の下に作成されます。"
139143
140- #: ../../using/android.rst:53
141144msgid ""
142145"Add code to your :source:`build.gradle <Platforms/Android/testbed/app/build."
143146"gradle.kts>` file to copy the following items into your project. All except "
144147"your own Python code can be copied from ``prefix/lib``:"
145148msgstr ""
149+ ":source:`build.gradle <Platforms/Android/testbed/app/build.gradle.kts>` ファ"
150+ "イルにコードを追加し、次の項目をプロジェクト内にコピーします。\n"
151+ "自分で作成した Python コード以外は、すべて ``prefix/lib`` からコピーできます:"
146152
147- #: ../../using/android.rst:57
148153msgid "In your JNI libraries:"
149- msgstr ""
154+ msgstr "JNI ライブラリにコピーするもの: "
150155
151- #: ../../using/android.rst:59
152156msgid "``libpython*.*.so``"
153- msgstr ""
157+ msgstr "``libpython*.*.so`` "
154158
155- #: ../../using/android.rst:60
156159msgid "``lib*_python.so`` (external libraries such as OpenSSL)"
157- msgstr ""
160+ msgstr "``lib*_python.so`` (OpenSSL などの外部ライブラリ) "
158161
159- #: ../../using/android.rst:62
160162msgid "In your assets:"
161- msgstr ""
163+ msgstr "アセットにコピーするもの: "
162164
163- #: ../../using/android.rst:64
164165msgid "``python*.*`` (the Python standard library)"
165- msgstr ""
166+ msgstr "``python*.*`` (Python 標準ライブラリ) "
166167
167- #: ../../using/android.rst:65
168168msgid "``python*.*/site-packages`` (your own Python code)"
169- msgstr ""
169+ msgstr "``python*.*/site-packages`` (自分で作成した Python コード) "
170170
171- #: ../../using/android.rst:67
172171msgid ""
173172"Add code to your app to :source:`extract the assets to the filesystem "
174173"<Platforms/Android/testbed/app/src/main/java/org/python/testbed/MainActivity."
175174"kt>`."
176175msgstr ""
176+ "アプリにコードを追加し、:source:`アセットをファイルシステムに展開 <Platforms/"
177+ "Android/testbed/app/src/main/java/org/python/testbed/MainActivity.kt>` しま"
178+ "す。"
177179
178- #: ../../using/android.rst:70
179180msgid ""
180181"Add code to your app to :source:`start Python in embedded mode <Platforms/"
181182"Android/testbed/app/src/main/c/main_activity.c>`. This will need to be C "
182183"code called via JNI."
183184msgstr ""
185+ "アプリにコードを追加し、:source:`Python を埋め込みモードで起動 <Platforms/"
186+ "Android/testbed/app/src/main/c/main_activity.c>` します。\n"
187+ "このコードは JNI 経由で呼び出す C コードでなければなりません。"
184188
185189#: ../../using/android.rst:75
186190msgid "Building a Python package for Android"
187191msgstr "Android 向けの Python パッケージをビルドする"
188192
189- #: ../../using/android.rst:77
190193msgid ""
191194"Python packages can be built for Android as wheels and released on PyPI. The "
192195"recommended tool for doing this is `cibuildwheel <https://cibuildwheel.pypa."
193196"io/en/stable/platforms/#android>`__, which automates all the details of "
194197"setting up a cross-compilation environment, building the wheel, and testing "
195198"it on an emulator."
196199msgstr ""
200+ "Python パッケージは Android 向けの wheel としてビルドし、PyPI で公開できま"
201+ "す。\n"
202+ "この作業には `cibuildwheel <https://cibuildwheel.pypa.io/en/stable/platforms/"
203+ "#android>`__ を使うことを推奨します。\n"
204+ "クロスコンパイル環境の準備から wheel のビルド、エミュレータでのテストまで、細"
205+ "かな作業をすべて自動化します。"
0 commit comments