Skip to content

Commit 848e9fc

Browse files
author
Autobuild bot on TravisCI
committed
[skip ci] Update .po files
1 parent c29d8dc commit 848e9fc

File tree

2 files changed

+53
-40
lines changed

2 files changed

+53
-40
lines changed

c-api/list.po

Lines changed: 20 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ msgid ""
88
msgstr ""
99
"Project-Id-Version: Python 2.7\n"
1010
"Report-Msgid-Bugs-To: \n"
11-
"POT-Creation-Date: 2019-07-07 17:00+0900\n"
12-
"PO-Revision-Date: 2019-07-28 07:53+0000\n"
11+
"POT-Creation-Date: 2019-10-27 17:55+0900\n"
12+
"PO-Revision-Date: 2019-10-27 08:58+0000\n"
1313
"Last-Translator: tomo\n"
1414
"Language-Team: Japanese (http://www.transifex.com/python-doc/python-27/language/ja/)\n"
1515
"MIME-Version: 1.0\n"
@@ -96,7 +96,7 @@ msgid ""
9696
"and set an :exc:`IndexError` exception."
9797
msgstr "*list* の指すリストオブジェクト内の、位置 *index* にあるオブジェクトを返します。\n位置は非負である必要があり、リスト終端からのインデックスはサポートされていません。\n*index* が範囲を超えている場合、 *NULL* を返して :exc:`IndexError` 例外をセットします。"
9898

99-
#: ../../c-api/list.rst:83 ../../c-api/list.rst:107 ../../c-api/list.rst:135
99+
#: ../../c-api/list.rst:83 ../../c-api/list.rst:108 ../../c-api/list.rst:136
100100
msgid ""
101101
"This function used an :c:type:`int` for *index*. This might require changes "
102102
"in your code for properly supporting 64-bit systems."
@@ -106,58 +106,59 @@ msgstr "この関数は以前は *index* の型に :c:type:`int` を利用して
106106
msgid "Macro form of :c:func:`PyList_GetItem` without error checking."
107107
msgstr "マクロ形式でできた :c:func:`PyList_GetItem` で、エラーチェックをしません。"
108108

109-
#: ../../c-api/list.rst:92 ../../c-api/list.rst:124
109+
#: ../../c-api/list.rst:92 ../../c-api/list.rst:125
110110
msgid ""
111111
"This macro used an :c:type:`int` for *i*. This might require changes in your"
112112
" code for properly supporting 64-bit systems."
113113
msgstr "このマクロは以前は *i* の型に :c:type:`int` を利用していました。この変更により、 64 bit システムを正しくサポートするには修正が必要になります。"
114114

115115
#: ../../c-api/list.rst:99
116116
msgid ""
117-
"Set the item at index *index* in list to *item*. Return ``0`` on success or"
118-
" ``-1`` on failure."
119-
msgstr "リストオブジェクト内の位置 *index* に、オブジェクト *item* を挿入します。成功した場合には ``0`` を返し、失敗すると ``-1`` を返します。"
117+
"Set the item at index *index* in list to *item*. Return ``0`` on success. "
118+
"If *index* is out of bounds, return ``-1`` and set an :exc:`IndexError` "
119+
"exception."
120+
msgstr ""
120121

121-
#: ../../c-api/list.rst:104
122+
#: ../../c-api/list.rst:105
122123
msgid ""
123124
"This function \"steals\" a reference to *item* and discards a reference to "
124125
"an item already in the list at the affected position."
125126
msgstr "この関数は *item* への参照を \"盗み取り\" ます。また、変更先のインデクスにすでに別の要素が入っている場合、その要素に対する参照を放棄します。"
126127

127-
#: ../../c-api/list.rst:114
128+
#: ../../c-api/list.rst:115
128129
msgid ""
129130
"Macro form of :c:func:`PyList_SetItem` without error checking. This is "
130131
"normally only used to fill in new lists where there is no previous content."
131132
msgstr ":c:func:`PyList_SetItem` をマクロによる実装で、エラーチェックを行いません。このマクロは、新たなリストのまだ要素を入れたことのない位置に要素を入れるときにのみ使います。"
132133

133-
#: ../../c-api/list.rst:119
134+
#: ../../c-api/list.rst:120
134135
msgid ""
135136
"This macro \"steals\" a reference to *item*, and, unlike "
136137
":c:func:`PyList_SetItem`, does *not* discard a reference to any item that it"
137138
" being replaced; any reference in *list* at position *i* will be leaked."
138139
msgstr "このマクロは *item* への参照を \"盗み取り\" ます。また、 :c:func:`PyList_SetItem` と違って、要素の置き換えが生じても置き換えられるオブジェクトへの参照を放棄 *しません* ; その結果、 *list* 中の位置 *i* で参照されていたオブジェクトがメモリリークを引き起こします。"
139140

140-
#: ../../c-api/list.rst:131
141+
#: ../../c-api/list.rst:132
141142
msgid ""
142143
"Insert the item *item* into list *list* in front of index *index*. Return "
143144
"``0`` if successful; return ``-1`` and set an exception if unsuccessful. "
144145
"Analogous to ``list.insert(index, item)``."
145146
msgstr "要素 *item* をリスト *list* のインデックス *index* の前に挿入します。成功すると ``0`` を返します。失敗すると ``-1`` を返し、例外をセットします。``list.insert(index, item)`` に類似した機能です。"
146147

147-
#: ../../c-api/list.rst:142
148+
#: ../../c-api/list.rst:143
148149
msgid ""
149150
"Append the object *item* at the end of list *list*. Return ``0`` if "
150151
"successful; return ``-1`` and set an exception if unsuccessful. Analogous "
151152
"to ``list.append(item)``."
152153
msgstr "オブジェクト *item* を *list* の末尾に追加します。成功すると ``0`` を返します; 失敗すると ``-1`` を返し、例外をセットします。``list.append(item)`` に類似した機能です。"
153154

154-
#: ../../c-api/list.rst:149
155+
#: ../../c-api/list.rst:150
155156
msgid ""
156157
"Return a list of the objects in *list* containing the objects *between* "
157158
"*low* and *high*. Return *NULL* and set an exception if unsuccessful. "
158-
"Analogous to ``list[low:high]``. Negative indices, as when slicing from "
159-
"Python, are not supported."
160-
msgstr "*list* 内の、*low* から *high* の *間の* オブジェクトからなるリストを返します。失敗すると *NULL* を返し、例外をセットします。``list[low:high]`` に類似した機能です。ただし、Python のスライスにある負のインデックスはサポートされていません。"
159+
"Analogous to ``list[low:high]``. Indexing from the end of the list is not "
160+
"supported."
161+
msgstr ""
161162

162163
#: ../../c-api/list.rst:154 ../../c-api/list.rst:167
163164
msgid ""
@@ -170,9 +171,9 @@ msgid ""
170171
"Set the slice of *list* between *low* and *high* to the contents of "
171172
"*itemlist*. Analogous to ``list[low:high] = itemlist``. The *itemlist* may "
172173
"be *NULL*, indicating the assignment of an empty list (slice deletion). "
173-
"Return ``0`` on success, ``-1`` on failure. Negative indices, as when "
174-
"slicing from Python, are not supported."
175-
msgstr "*list* 内の、*low* から *high* の間のオブジェクトを、*itemlist* の内容にします。``list[low:high] = itemlist`` と類似の機能です。*itemlist* は *NULL* でもよく、空リストの代入 (指定スライスの削除) になります。成功した場合には ``0`` を、失敗した場合には ``-1`` を返します。Python のスライスにある負のインデックスはサポートされていません。"
174+
"Return ``0`` on success, ``-1`` on failure. Indexing from the end of the "
175+
"list is not supported."
176+
msgstr ""
176177

177178
#: ../../c-api/list.rst:174
178179
msgid ""

c-api/tuple.po

Lines changed: 33 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ msgid ""
88
msgstr ""
99
"Project-Id-Version: Python 2.7\n"
1010
"Report-Msgid-Bugs-To: \n"
11-
"POT-Creation-Date: 2019-01-01 15:21+0900\n"
12-
"PO-Revision-Date: 2019-09-01 05:18+0000\n"
11+
"POT-Creation-Date: 2019-10-27 17:55+0900\n"
12+
"PO-Revision-Date: 2019-10-27 08:59+0000\n"
1313
"Last-Translator: tomo\n"
1414
"Language-Team: Japanese (http://www.transifex.com/python-doc/python-27/language/ja/)\n"
1515
"MIME-Version: 1.0\n"
@@ -92,12 +92,12 @@ msgstr "タプル *p* のサイズを返しますが、*p* は非 *NULL* でな
9292
#: ../../c-api/tuple.rst:84
9393
msgid ""
9494
"Return the object at position *pos* in the tuple pointed to by *p*. If "
95-
"*pos* is out of bounds, return *NULL* and sets an :exc:`IndexError` "
95+
"*pos* is out of bounds, return *NULL* and set an :exc:`IndexError` "
9696
"exception."
97-
msgstr "*p* の指すタプルオブジェクト内の、位置 *pos* にあるオブジェクトを返します。 *pos* が範囲を超えている場合、 *NULL* を返して :exc:`IndexError` 例外をセットします。"
97+
msgstr ""
9898

99-
#: ../../c-api/tuple.rst:87 ../../c-api/tuple.rst:96 ../../c-api/tuple.rst:120
100-
#: ../../c-api/tuple.rst:134
99+
#: ../../c-api/tuple.rst:87 ../../c-api/tuple.rst:96 ../../c-api/tuple.rst:123
100+
#: ../../c-api/tuple.rst:140
101101
msgid ""
102102
"This function used an :c:type:`int` type for *pos*. This might require "
103103
"changes in your code for properly supporting 64-bit systems."
@@ -109,33 +109,45 @@ msgstr ":c:func:`PyTuple_GetItem` に似ていますが、引数に対するエ
109109

110110
#: ../../c-api/tuple.rst:103
111111
msgid ""
112-
"Take a slice of the tuple pointed to by *p* from *low* to *high* and return "
113-
"it as a new tuple."
114-
msgstr "*p* の指すタプルオブジェクト内の、位置 *low* から *high* までのスライスを取り出して、タプルオブジェクトとして返します。"
112+
"Return the slice of the tuple pointed to by *p* between *low* and *high*, or"
113+
" *NULL* on failure. This is the equivalent of the Python expression "
114+
"``p[low:high]``. Indexing from the end of the list is not supported."
115+
msgstr ""
115116

116-
#: ../../c-api/tuple.rst:106
117+
#: ../../c-api/tuple.rst:107
117118
msgid ""
118119
"This function used an :c:type:`int` type for *low* and *high*. This might "
119120
"require changes in your code for properly supporting 64-bit systems."
120121
msgstr "この関数は以前は *low*, *high* の型に :c:type:`int` を利用していました。この変更により、 64bit システムを正しくサポートするには修正が必要になります。"
121122

122-
#: ../../c-api/tuple.rst:113
123+
#: ../../c-api/tuple.rst:114
123124
msgid ""
124125
"Insert a reference to object *o* at position *pos* of the tuple pointed to "
125-
"by *p*. Return ``0`` on success."
126-
msgstr "*p* の指すタプルオブジェクト内の位置 *pos* に、オブジェクト *o* への参照を挿入します。成功した場合には ``0`` を返します。"
126+
"by *p*. Return ``0`` on success. If *pos* is out of bounds, return ``-1`` "
127+
"and set an :exc:`IndexError` exception."
128+
msgstr ""
127129

128-
#: ../../c-api/tuple.rst:118 ../../c-api/tuple.rst:132
129-
msgid "This function \"steals\" a reference to *o*."
130-
msgstr "この関数は *o* への参照を \"盗み取り\" ます。"
130+
#: ../../c-api/tuple.rst:120
131+
msgid ""
132+
"This function \"steals\" a reference to *o* and discards a reference to an "
133+
"item already in the tuple at the affected position."
134+
msgstr ""
131135

132-
#: ../../c-api/tuple.rst:127
136+
#: ../../c-api/tuple.rst:130
133137
msgid ""
134138
"Like :c:func:`PyTuple_SetItem`, but does no error checking, and should "
135139
"*only* be used to fill in brand new tuples."
136140
msgstr ":c:func:`PyTuple_SetItem` に似ていますが、エラーチェックを行わず、新たなタプルに値を入れるとき *以外には使ってはなりません* 。"
137141

138-
#: ../../c-api/tuple.rst:141
142+
#: ../../c-api/tuple.rst:135
143+
msgid ""
144+
"This macro \"steals\" a reference to *o*, and, unlike "
145+
":c:func:`PyTuple_SetItem`, does *not* discard a reference to any item that "
146+
"is being replaced; any reference in the tuple at position *pos* will be "
147+
"leaked."
148+
msgstr ""
149+
150+
#: ../../c-api/tuple.rst:147
139151
msgid ""
140152
"Can be used to resize a tuple. *newsize* will be the new length of the "
141153
"tuple. Because tuples are *supposed* to be immutable, this should only be "
@@ -150,16 +162,16 @@ msgid ""
150162
":exc:`SystemError`."
151163
msgstr "タプルをリサイズする際に使えます。 *newsize* はタプルの新たな長さです。タプルは変更不能なオブジェクト *ということになっている* ので、この関数はこのオブジェクトに対してただ一つしか参照がない時以外には使ってはなりません。タプルがコード中の他の部分ですでに参照されている場合には、この関数を *使ってはなりません* 。タプルは常に指定サイズの末尾まで伸縮します。成功した場合には ``0`` を返します。クライアントコードは、 ``*p`` の値が呼び出し前と同じになると期待してはなりません。 ``*p`` が置き換えられた場合、オリジナルの ``*p`` は破壊されます。失敗すると ``-1`` を返し、 ``*p`` を *NULL* に設定して、 :exc:`MemoryError` または :exc:`SystemError` を送出します。"
152164

153-
#: ../../c-api/tuple.rst:152
165+
#: ../../c-api/tuple.rst:158
154166
msgid "Removed unused third parameter, *last_is_sticky*."
155167
msgstr "使われていなかった三つ目のパラメタ、 *last_is_sticky* を削除しました."
156168

157-
#: ../../c-api/tuple.rst:155
169+
#: ../../c-api/tuple.rst:161
158170
msgid ""
159171
"This function used an :c:type:`int` type for *newsize*. This might require "
160172
"changes in your code for properly supporting 64-bit systems."
161173
msgstr "この関数は以前は *newsize* の型に :c:type:`int` を利用していました。この変更により、 64 bit システムを正しくサポートするには修正が必要になります。"
162174

163-
#: ../../c-api/tuple.rst:162
175+
#: ../../c-api/tuple.rst:168
164176
msgid "Clear the free list. Return the total number of freed items."
165177
msgstr "free list をクリアします。解放された要素数を返します。"

0 commit comments

Comments
 (0)