-
-
Notifications
You must be signed in to change notification settings - Fork 224
Expand file tree
/
Copy pathbinascii.po
More file actions
245 lines (205 loc) · 8 KB
/
binascii.po
File metadata and controls
245 lines (205 loc) · 8 KB
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
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
# SOME DESCRIPTIVE TITLE.
# Copyright (C) 2001-2022, Python Software Foundation
# This file is distributed under the same license as the Python package.
#
# Translators:
msgid ""
msgstr ""
"Project-Id-Version: Python 3.12\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2023-05-09 00:15+0000\n"
"PO-Revision-Date: 2018-05-23 14:39+0000\n"
"Last-Translator: Adrian Liaw <adrianliaw2000@gmail.com>\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"
"Plural-Forms: nplurals=1; plural=0;\n"
#: ../../library/binascii.rst:2
msgid ":mod:`binascii` --- Convert between binary and ASCII"
msgstr ""
#: ../../library/binascii.rst:14
msgid ""
"The :mod:`binascii` module contains a number of methods to convert between "
"binary and various ASCII-encoded binary representations. Normally, you will "
"not use these functions directly but use wrapper modules like :mod:`uu` or :"
"mod:`base64` instead. The :mod:`binascii` module contains low-level "
"functions written in C for greater speed that are used by the higher-level "
"modules."
msgstr ""
#: ../../library/binascii.rst:23
msgid ""
"``a2b_*`` functions accept Unicode strings containing only ASCII characters. "
"Other functions only accept :term:`bytes-like objects <bytes-like object>` "
"(such as :class:`bytes`, :class:`bytearray` and other objects that support "
"the buffer protocol)."
msgstr ""
#: ../../library/binascii.rst:28
msgid "ASCII-only unicode strings are now accepted by the ``a2b_*`` functions."
msgstr ""
#: ../../library/binascii.rst:32
msgid "The :mod:`binascii` module defines the following functions:"
msgstr ""
#: ../../library/binascii.rst:37
msgid ""
"Convert a single line of uuencoded data back to binary and return the binary "
"data. Lines normally contain 45 (binary) bytes, except for the last line. "
"Line data may be followed by whitespace."
msgstr ""
#: ../../library/binascii.rst:44
msgid ""
"Convert binary data to a line of ASCII characters, the return value is the "
"converted line, including a newline char. The length of *data* should be at "
"most 45. If *backtick* is true, zeros are represented by ``'`'`` instead of "
"spaces."
msgstr ""
#: ../../library/binascii.rst:48
msgid "Added the *backtick* parameter."
msgstr "新增 *backtick* 參數。"
#: ../../library/binascii.rst:54
msgid ""
"Convert a block of base64 data back to binary and return the binary data. "
"More than one line may be passed at a time."
msgstr ""
#: ../../library/binascii.rst:57
msgid ""
"If *strict_mode* is true, only valid base64 data will be converted. Invalid "
"base64 data will raise :exc:`binascii.Error`."
msgstr ""
#: ../../library/binascii.rst:64
msgid "Valid base64:"
msgstr ""
#: ../../library/binascii.rst:61
msgid "Conforms to :rfc:`3548`."
msgstr ""
#: ../../library/binascii.rst:62
msgid "Contains only characters from the base64 alphabet."
msgstr ""
#: ../../library/binascii.rst:63
msgid ""
"Contains no excess data after padding (including excess padding, newlines, "
"etc.)."
msgstr ""
#: ../../library/binascii.rst:64
msgid "Does not start with a padding."
msgstr ""
#: ../../library/binascii.rst:66
msgid "Added the *strict_mode* parameter."
msgstr "新增 *strict_mode* 參數。"
#: ../../library/binascii.rst:72
msgid ""
"Convert binary data to a line of ASCII characters in base64 coding. The "
"return value is the converted line, including a newline char if *newline* is "
"true. The output of this function conforms to :rfc:`3548`."
msgstr ""
#: ../../library/binascii.rst:76
msgid "Added the *newline* parameter."
msgstr "新增 *newline* 參數。"
#: ../../library/binascii.rst:82
msgid ""
"Convert a block of quoted-printable data back to binary and return the "
"binary data. More than one line may be passed at a time. If the optional "
"argument *header* is present and true, underscores will be decoded as spaces."
msgstr ""
#: ../../library/binascii.rst:89
msgid ""
"Convert binary data to a line(s) of ASCII characters in quoted-printable "
"encoding. The return value is the converted line(s). If the optional "
"argument *quotetabs* is present and true, all tabs and spaces will be "
"encoded. If the optional argument *istext* is present and true, newlines "
"are not encoded but trailing whitespace will be encoded. If the optional "
"argument *header* is present and true, spaces will be encoded as underscores "
"per :rfc:`1522`. If the optional argument *header* is present and false, "
"newline characters will be encoded as well; otherwise linefeed conversion "
"might corrupt the binary data stream."
msgstr ""
#: ../../library/binascii.rst:102
msgid ""
"Compute a 16-bit CRC value of *data*, starting with *value* as the initial "
"CRC, and return the result. This uses the CRC-CCITT polynomial *x*:sup:`16` "
"+ *x*:sup:`12` + *x*:sup:`5` + 1, often represented as 0x1021. This CRC is "
"used in the binhex4 format."
msgstr ""
#: ../../library/binascii.rst:110
msgid ""
"Compute CRC-32, the unsigned 32-bit checksum of *data*, starting with an "
"initial CRC of *value*. The default initial CRC is zero. The algorithm is "
"consistent with the ZIP file checksum. Since the algorithm is designed for "
"use as a checksum algorithm, it is not suitable for use as a general hash "
"algorithm. Use as follows::"
msgstr ""
#: ../../library/binascii.rst:122
msgid "The result is always unsigned."
msgstr ""
#: ../../library/binascii.rst:128
msgid ""
"Return the hexadecimal representation of the binary *data*. Every byte of "
"*data* is converted into the corresponding 2-digit hex representation. The "
"returned bytes object is therefore twice as long as the length of *data*."
msgstr ""
#: ../../library/binascii.rst:132
msgid ""
"Similar functionality (but returning a text string) is also conveniently "
"accessible using the :meth:`bytes.hex` method."
msgstr ""
#: ../../library/binascii.rst:135
msgid ""
"If *sep* is specified, it must be a single character str or bytes object. It "
"will be inserted in the output after every *bytes_per_sep* input bytes. "
"Separator placement is counted from the right end of the output by default, "
"if you wish to count from the left, supply a negative *bytes_per_sep* value."
msgstr ""
#: ../../library/binascii.rst:150
msgid "The *sep* and *bytes_per_sep* parameters were added."
msgstr "新增 *sep* 與 *bytes_per_sep* 參數。"
#: ../../library/binascii.rst:156
msgid ""
"Return the binary data represented by the hexadecimal string *hexstr*. This "
"function is the inverse of :func:`b2a_hex`. *hexstr* must contain an even "
"number of hexadecimal digits (which can be upper or lower case), otherwise "
"an :exc:`Error` exception is raised."
msgstr ""
#: ../../library/binascii.rst:161
msgid ""
"Similar functionality (accepting only text string arguments, but more "
"liberal towards whitespace) is also accessible using the :meth:`bytes."
"fromhex` class method."
msgstr ""
#: ../../library/binascii.rst:167
msgid "Exception raised on errors. These are usually programming errors."
msgstr ""
#: ../../library/binascii.rst:172
msgid ""
"Exception raised on incomplete data. These are usually not programming "
"errors, but may be handled by reading a little more data and trying again."
msgstr ""
#: ../../library/binascii.rst:180
msgid "Module :mod:`base64`"
msgstr ":mod:`base64` 模組"
#: ../../library/binascii.rst:179
msgid ""
"Support for RFC compliant base64-style encoding in base 16, 32, 64, and 85."
msgstr ""
#: ../../library/binascii.rst:183
msgid "Module :mod:`uu`"
msgstr ":mod:`uu` 模組"
#: ../../library/binascii.rst:183
msgid "Support for UU encoding used on Unix."
msgstr ""
#: ../../library/binascii.rst:185
msgid "Module :mod:`quopri`"
msgstr ":mod:`quopri` 模組"
#: ../../library/binascii.rst:186
msgid "Support for quoted-printable encoding used in MIME email messages."
msgstr ""
#: ../../library/binascii.rst:8
msgid "module"
msgstr "module(模組)"
#: ../../library/binascii.rst:8
msgid "uu"
msgstr "uu"
#: ../../library/binascii.rst:8
msgid "base64"
msgstr "base64"