-
-
Notifications
You must be signed in to change notification settings - Fork 214
/
Copy pathandroid.po
145 lines (122 loc) · 4.94 KB
/
android.po
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
# Copyright (C) 2001-2024, Python Software Foundation
# This file is distributed under the same license as the Python package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: Python 3.13\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-09-24 07:20+0000\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
"tw)\n"
"Language: zh_TW\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#: ../../using/android.rst:5
msgid "Using Python on Android"
msgstr "在 Android 上使用 Python"
#: ../../using/android.rst:7
msgid ""
"Python on Android is unlike Python on desktop platforms. On a desktop "
"platform, Python is generally installed as a system resource that can be "
"used by any user of that computer. Users then interact with Python by "
"running a :program:`python` executable and entering commands at an "
"interactive prompt, or by running a Python script."
msgstr ""
#: ../../using/android.rst:13
msgid ""
"On Android, there is no concept of installing as a system resource. The only "
"unit of software distribution is an \"app\". There is also no console where "
"you could run a :program:`python` executable, or interact with a Python REPL."
msgstr ""
#: ../../using/android.rst:17
msgid ""
"As a result, the only way you can use Python on Android is in embedded mode "
"– that is, by writing a native Android application, embedding a Python "
"interpreter using ``libpython``, and invoking Python code using the :ref:"
"`Python embedding API <embedding>`. The full Python interpreter, the "
"standard library, and all your Python code is then packaged into your app "
"for its own private use."
msgstr ""
#: ../../using/android.rst:23
msgid ""
"The Python standard library has some notable omissions and restrictions on "
"Android. See the :ref:`API availability guide <mobile-availability>` for "
"details."
msgstr ""
#: ../../using/android.rst:28
msgid "Adding Python to an Android app"
msgstr "將 Python 加入 Android 應用程式"
#: ../../using/android.rst:30
msgid ""
"These instructions are only needed if you're planning to compile Python for "
"Android yourself. Most users should *not* need to do this. Instead, use one "
"of the following tools, which will provide a much easier experience:"
msgstr ""
#: ../../using/android.rst:34
msgid ""
"`Briefcase <https://briefcase.readthedocs.io>`__, from the BeeWare project"
msgstr "`Briefcase <https://briefcase.readthedocs.io>`__,由 BeeWare 專案提供"
#: ../../using/android.rst:35
msgid "`Buildozer <https://buildozer.readthedocs.io>`__, from the Kivy project"
msgstr "`Buildozer <https://buildozer.readthedocs.io>`__,由 Kivy 專案提供"
#: ../../using/android.rst:36
msgid "`Chaquopy <https://chaquo.com/chaquopy>`__"
msgstr "`Chaquopy <https://chaquo.com/chaquopy>`__"
#: ../../using/android.rst:37
msgid ""
"`pyqtdeploy <https://www.riverbankcomputing.com/static/Docs/pyqtdeploy/>`__"
msgstr ""
"`pyqtdeploy <https://www.riverbankcomputing.com/static/Docs/pyqtdeploy/>`__"
#: ../../using/android.rst:38
msgid "`Termux <https://termux.dev/en/>`__"
msgstr "`Termux <https://termux.dev/en/>`__"
#: ../../using/android.rst:40
msgid ""
"If you're sure you want to do all of this manually, read on. You can use "
"the :source:`testbed app <Android/testbed>` as a guide; each step below "
"contains a link to the relevant file."
msgstr ""
#: ../../using/android.rst:44
msgid ""
"Build Python by following the instructions in :source:`Android/README.md`."
msgstr ""
#: ../../using/android.rst:46
msgid ""
"Add code to your :source:`build.gradle <Android/testbed/app/build.gradle."
"kts>` file to copy the following items into your project. All except your "
"own Python code can be copied from ``cross-build/HOST/prefix/lib``:"
msgstr ""
#: ../../using/android.rst:50
msgid "In your JNI libraries:"
msgstr ""
#: ../../using/android.rst:52
msgid "``libpython*.*.so``"
msgstr "``libpython*.*.so``"
#: ../../using/android.rst:53
msgid "``lib*_python.so`` (external libraries such as OpenSSL)"
msgstr "``lib*_python.so``\\ (外部函式庫,例如 OpenSSL)"
#: ../../using/android.rst:55
msgid "In your assets:"
msgstr ""
#: ../../using/android.rst:57
msgid "``python*.*`` (the Python standard library)"
msgstr "``python*.*``\\ (Python 標準函式庫)"
#: ../../using/android.rst:58
msgid "``python*.*/site-packages`` (your own Python code)"
msgstr "``python*.*/site-packages``\\ (你自己的 Python 程式碼)"
#: ../../using/android.rst:60
msgid ""
"Add code to your app to :source:`extract the assets to the filesystem "
"<Android/testbed/app/src/main/java/org/python/testbed/MainActivity.kt>`."
msgstr ""
#: ../../using/android.rst:63
msgid ""
"Add code to your app to :source:`start Python in embedded mode <Android/"
"testbed/app/src/main/c/main_activity.c>`. This will need to be C code called "
"via JNI."
msgstr ""