8
8
msgstr ""
9
9
"Project-Id-Version :Python 2.7\n "
10
10
"Report-Msgid-Bugs-To :\n "
11
- "POT-Creation-Date :2019-01-01 15:21 +0900\n "
12
- "PO-Revision-Date :2017-09-22 17:56 +0000\n "
13
- "Last-Translator :秘湯 <xwhhsprings@gmail.com> \n "
11
+ "POT-Creation-Date :2019-06-30 16:55 +0900\n "
12
+ "PO-Revision-Date :2019-06-30 08:01 +0000\n "
13
+ "Last-Translator :tomo \n "
14
14
"Language-Team :Japanese (http://www.transifex.com/python-doc/python-27/language/ja/)\n "
15
15
"MIME-Version :1.0\n "
16
16
"Content-Type :text/plain; charset=UTF-8\n "
@@ -110,71 +110,77 @@ msgid ""
110
110
msgstr "タブとスペースはともにホワイトスペースとして扱われますが、同じではないことに注意してください: ``\" hello\" `` という行と ``\"\\ thello\" `` は、同じ先頭の空白文字をもっていないとみなされます。 (これは Python 2.5 からの新しい振る舞いです。以前のバージョンではこのモジュールは共通の先頭空白文字を探す前に、不正にタブを展開していました。)"
111
111
112
112
#: ../../library/textwrap.rst:69
113
+ msgid ""
114
+ "Lines containing only whitespace are ignored in the input and normalized to "
115
+ "a single newline character in the output."
116
+ msgstr ""
117
+
118
+ #: ../../library/textwrap.rst:72
113
119
msgid "For example::"
114
120
msgstr "例えば::"
115
121
116
- #: ../../library/textwrap.rst:83
122
+ #: ../../library/textwrap.rst:86
117
123
msgid ""
118
124
"The :class:`TextWrapper` constructor accepts a number of optional keyword "
119
125
"arguments. Each argument corresponds to one instance attribute, so for "
120
126
"example ::"
121
127
msgstr ":class:`TextWrapper` コンストラクタはたくさんのオプションのキーワード引数を受け取ります。それぞれのキーワード引数は一つのインスタンス属性に対応します。したがって、例えば ::"
122
128
123
- #: ../../library/textwrap.rst:89
129
+ #: ../../library/textwrap.rst:92
124
130
msgid "is the same as ::"
125
131
msgstr "はこれと同じです ::"
126
132
127
- #: ../../library/textwrap.rst:94
133
+ #: ../../library/textwrap.rst:97
128
134
msgid ""
129
135
"You can re-use the same :class:`TextWrapper` object many times, and you can "
130
136
"change any of its options through direct assignment to instance attributes "
131
137
"between uses."
132
138
msgstr "あなたは同じ :class:`TextWrapper` オブジェクトを何回も再利用できます。また、使用中にインスタンス属性へ代入することでそのオプションのどれでも変更できます。"
133
139
134
- #: ../../library/textwrap.rst:98
140
+ #: ../../library/textwrap.rst:101
135
141
msgid ""
136
142
"The :class:`TextWrapper` instance attributes (and keyword arguments to the "
137
143
"constructor) are as follows:"
138
144
msgstr ":class:`TextWrapper` インスタンス属性(とコンストラクタのキーワード引数)は以下の通りです:"
139
145
140
- #: ../../library/textwrap.rst:104
146
+ #: ../../library/textwrap.rst:107
141
147
msgid ""
142
148
"(default: ``70``) The maximum length of wrapped lines. As long as there are"
143
149
" no individual words in the input text longer than :attr:`width`, "
144
150
":class:`TextWrapper` guarantees that no output line will be longer than "
145
151
":attr:`width` characters."
146
152
msgstr "(デフォルト: ``70``) 折り返しが行われる行の最大の長さ。入力行に :attr:`width` より長い単一の語が無い限り、 :class:`TextWrapper` は :attr:`width` 文字より長い出力行が無いことを保証します。"
147
153
148
- #: ../../library/textwrap.rst:112
154
+ #: ../../library/textwrap.rst:115
149
155
msgid ""
150
156
"(default: ``True``) If true, then all tab characters in *text* will be "
151
157
"expanded to spaces using the :meth:`expandtabs` method of *text*."
152
158
msgstr "(デフォルト: ``True``) もし真ならば、そのときは *text* 内のすべてのタブ文字は *text* の :meth:`expandtabs` メソッドを用いて空白に展開されます。"
153
159
154
- #: ../../library/textwrap.rst:118
160
+ #: ../../library/textwrap.rst:121
155
161
msgid ""
156
162
"(default: ``True``) If true, after tab expansion but before wrapping, the "
157
163
":meth:`wrap` method will replace each whitespace character with a single "
158
164
"space. The whitespace characters replaced are as follows: tab, newline, "
159
165
"vertical tab, formfeed, and carriage return (``'\\ t\\ n\\ v\\ f\\ r'``)."
160
166
msgstr "(デフォルト: ``True``) 真の場合、 :meth:`wrap` メソッドはタブの展開の後、 wrap 処理の前に各種空白文字をスペース1文字に置換します。置換される空白文字は: TAB, 改行, 垂直TAB, FF, CR (``'\\ t\\ n\\ v\\ f\\ r'``) です。"
161
167
162
- #: ../../library/textwrap.rst:126
168
+ #: ../../library/textwrap.rst:129
163
169
msgid ""
164
170
"If :attr:`expand_tabs` is false and :attr:`replace_whitespace` is true, each"
165
171
" tab character will be replaced by a single space, which is *not* the same "
166
172
"as tab expansion."
167
173
msgstr ":attr:`expand_tabs` が偽で :attr:`replace_whitespace` が真ならば、各タブ文字は1つの空白に置き換えられます。それはタブ展開と同じでは *ありません* 。"
168
174
169
- #: ../../library/textwrap.rst:132
175
+ #: ../../library/textwrap.rst:135
170
176
msgid ""
171
177
"If :attr:`replace_whitespace` is false, newlines may appear in the middle of"
172
178
" a line and cause strange output. For this reason, text should be split into"
173
179
" paragraphs (using :meth:`str.splitlines` or similar) which are wrapped "
174
180
"separately."
175
181
msgstr ":attr:`replace_whitespace` が偽の場合、改行が行の途中で現れることで出力がおかしくなることがあります。このため、テキストを(:meth:`str.splitlines` などを使って)段落ごとに分けて別々に wrap する必要があります。"
176
182
177
- #: ../../library/textwrap.rst:140
183
+ #: ../../library/textwrap.rst:143
178
184
msgid ""
179
185
"(default: ``True``) If true, whitespace at the beginning and ending of every"
180
186
" line (after wrapping but before indenting) is dropped. Whitespace at the "
@@ -183,25 +189,25 @@ msgid ""
183
189
"line is dropped."
184
190
msgstr "(デフォルト: ``True``) 真の場合、(wrap 処理のあとインデント処理の前に) 各行の最初と最後の空白文字を削除します。ただし、段落の最初の空白については、次の文字が空白文字でない場合は削除されません。削除される空白文字が行全体に及ぶ場合は、行自体を削除します。"
185
191
186
- #: ../../library/textwrap.rst:146
192
+ #: ../../library/textwrap.rst:149
187
193
msgid "Whitespace was always dropped in earlier versions."
188
194
msgstr "過去のバージョンでは、空白は常に削除されていました。"
189
195
190
- #: ../../library/textwrap.rst:152
196
+ #: ../../library/textwrap.rst:155
191
197
msgid ""
192
198
"(default: ``''``) String that will be prepended to the first line of wrapped"
193
199
" output. Counts towards the length of the first line. The empty string is "
194
200
"not indented."
195
201
msgstr "(default: ``''``) wrap の出力の最初の行の先頭に付与する文字列。最初の行の長さに加算されます。空文字列の場合インデントされません。"
196
202
197
- #: ../../library/textwrap.rst:159
203
+ #: ../../library/textwrap.rst:162
198
204
msgid ""
199
205
"(default: ``''``) String that will be prepended to all lines of wrapped "
200
206
"output except the first. Counts towards the length of each line except the "
201
207
"first."
202
208
msgstr "(デフォルト: ``''``) 一行目以外の折り返しが行われる出力のすべての行の先頭に付けられる文字列。一行目以外の各行の折り返しまでの長さにカウントされます。"
203
209
204
- #: ../../library/textwrap.rst:166
210
+ #: ../../library/textwrap.rst:169
205
211
msgid ""
206
212
"(default: ``False``) If true, :class:`TextWrapper` attempts to detect "
207
213
"sentence endings and ensure that sentences are always separated by exactly "
@@ -213,23 +219,23 @@ msgid ""
213
219
"unable to detect the difference between\" Dr.\" in ::"
214
220
msgstr "(デフォルト: ``False``) もし真ならば、 :class:`TextWrapper` は文の終わりを見つけようとし、確実に文がちょうど二つの空白で常に区切られているようにします。これは一般的に固定スペースフォントのテキストに対して望ましいです。しかし、文の検出アルゴリズムは完全ではありません: 文の終わりには、後ろに空白がある ``'.'``, ``'!'`` または ``'?'`` の中の一つ、ことによると ``'\" '`` あるいは ``\" '\" `` が付随する小文字があると仮定しています。これに伴う一つの問題はアルゴリズムで下記の\" Dr.\" と ::"
215
221
216
- #: ../../library/textwrap.rst:177
222
+ #: ../../library/textwrap.rst:180
217
223
msgid "and\" Spot.\" in ::"
218
224
msgstr "下記の\" Spot.\" の間の差異を検出できないことです ::"
219
225
220
- #: ../../library/textwrap.rst:181
226
+ #: ../../library/textwrap.rst:184
221
227
msgid ":attr:`fix_sentence_endings` is false by default."
222
228
msgstr ":attr:`fix_sentence_endings` はデフォルトで偽です。"
223
229
224
- #: ../../library/textwrap.rst:183
230
+ #: ../../library/textwrap.rst:186
225
231
msgid ""
226
232
"Since the sentence detection algorithm relies on ``string.lowercase`` for "
227
233
"the definition of\" lowercase letter,\" and a convention of using two spaces"
228
234
" after a period to separate sentences on the same line, it is specific to "
229
235
"English-language texts."
230
236
msgstr "文検出アルゴリズムは\" 小文字\" の定義のために ``string.lowercase`` に依存し、同一行の文を区切るためにピリオドの後に二つの空白を使う慣習に依存しているため、英文テキストに限定されたものです。"
231
237
232
- #: ../../library/textwrap.rst:191
238
+ #: ../../library/textwrap.rst:194
233
239
msgid ""
234
240
"(default: ``True``) If true, then words longer than :attr:`width` will be "
235
241
"broken in order to ensure that no lines are longer than :attr:`width`. If "
@@ -238,7 +244,7 @@ msgid ""
238
244
"order to minimize the amount by which :attr:`width` is exceeded.)"
239
245
msgstr "(デフォルト: ``True``) もし真ならば、そのとき :attr:`width` より長い行が確実にないようにするために、 :attr:`width` より長い語は切られます。偽ならば、長い語は切られないでしょう。そして、 :attr:`width` より長い行があるかもしれません。 (:attr:`width` を超える分を最小にするために、長い語は単独で一行に置かれるでしょう。)"
240
246
241
- #: ../../library/textwrap.rst:200
247
+ #: ../../library/textwrap.rst:203
242
248
msgid ""
243
249
"(default: ``True``) If true, wrapping will occur preferably on whitespaces "
244
250
"and right after hyphens in compound words, as it is customary in English. If"
@@ -248,13 +254,13 @@ msgid ""
248
254
"always allow breaking hyphenated words."
249
255
msgstr "(デフォルト: ``True``) 真の場合、英語で一般的なように、ラップ処理は空白か合成語に含まれるハイフンの直後で行われます。偽の場合、空白だけが改行に適した位置として判断されます。ただし、本当に語の途中で改行が行われないようにするためには、 :attr:`break_long_words` 属性を真に設定する必要があります。過去のバージョンでのデフォルトの振る舞いは、常にハイフンの直後での改行を許していました。"
250
256
251
- #: ../../library/textwrap.rst:210
257
+ #: ../../library/textwrap.rst:213
252
258
msgid ""
253
259
":class:`TextWrapper` also provides two public methods, analogous to the "
254
260
"module-level convenience functions:"
255
261
msgstr ":class:`TextWrapper` はモジュールレベルの簡易関数に類似した二つの公開メソッドも提供します:"
256
262
257
- #: ../../library/textwrap.rst:215
263
+ #: ../../library/textwrap.rst:218
258
264
msgid ""
259
265
"Wraps the single paragraph in *text* (a string) so every line is at most "
260
266
":attr:`width` characters long. All wrapping options are taken from instance"
@@ -263,7 +269,7 @@ msgid ""
263
269
"returned list is empty."
264
270
msgstr "1段落の文字列 *text* を、各行が :attr:`width` 文字以下になるように wrap します。 wrap のすべてのオプションは :class:`TextWrapper` インスタンスの属性から取得します。結果の、行末に改行のない行のリストを返します。出力の内容が空になる場合は、返すリストも空になります。"
265
271
266
- #: ../../library/textwrap.rst:224
272
+ #: ../../library/textwrap.rst:227
267
273
msgid ""
268
274
"Wraps the single paragraph in *text*, and returns a single string containing"
269
275
" the wrapped paragraph."