-
-
Notifications
You must be signed in to change notification settings - Fork 32
/
Copy pathmapping.po
120 lines (108 loc) · 5.29 KB
/
mapping.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
# SOME DESCRIPTIVE TITLE.
# Copyright (C) 1990-2021, Python Software Foundation
# This file is distributed under the same license as the Python package.
#
# Translators:
# 秘湯 <[email protected]>, 2016
msgid ""
msgstr ""
"Project-Id-Version: Python 2.7\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2021-01-01 01:01+0900\n"
"PO-Revision-Date: 2018-01-20 20:54+0000\n"
"Last-Translator: tomo\n"
"Language-Team: Japanese (http://www.transifex.com/python-doc/python-27/"
"language/ja/)\n"
"Language: ja\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"
#: ../../c-api/mapping.rst:6
msgid "Mapping Protocol"
msgstr "マップ型プロトコル (mapping protocol)"
#: ../../c-api/mapping.rst:11
msgid ""
"Return ``1`` if the object provides mapping protocol, and ``0`` otherwise. "
"This function always succeeds."
msgstr ""
"オブジェクトがマップ型プロトコルを提供している場合に ``1`` を返し、そうでない"
"ときには ``0`` を返します。この関数呼び出しは常に成功します。"
#: ../../c-api/mapping.rst:20
msgid ""
"Returns the number of keys in object *o* on success, and ``-1`` on failure. "
"For objects that do not provide mapping protocol, this is equivalent to the "
"Python expression ``len(o)``."
msgstr ""
"成功するとオブジェクト *o* 中のキーの数を返し、失敗すると ``-1`` を返します。"
"マップ型プロトコルを提供していないオブジェクトに対しては、Python の式 "
"``len(o)`` と同じになります。"
#: ../../c-api/mapping.rst:24
msgid ""
"These functions returned an :c:type:`int` type. This might require changes "
"in your code for properly supporting 64-bit systems."
msgstr ""
"これらの関数は以前は :c:type:`int` を返していました。この変更により、 64bit "
"システムを正しくサポートするには修正が必要になります。"
#: ../../c-api/mapping.rst:31 ../../c-api/mapping.rst:37
msgid ""
"Remove the mapping for object *key* from the object *o*. Return ``-1`` on "
"failure. This is equivalent to the Python statement ``del o[key]``."
msgstr ""
"オブジェクト *o* から *key* に関する対応付けを削除します。失敗すると ``-1`` "
"を返します。Python の文 ``del o[key]`` と同じです。"
#: ../../c-api/mapping.rst:43
msgid ""
"On success, return ``1`` if the mapping object has the key *key* and ``0`` "
"otherwise. This is equivalent to ``o[key]``, returning ``True`` on success "
"and ``False`` on an exception. This function always succeeds."
msgstr ""
"マップ型オブジェクトがキー *key* を持つ場合に ``1`` を返し、そうでないときに"
"は ``0`` を返します。これは、Python 式 ``key in o`` と等価です。この関数呼び"
"出しは常に成功します。"
#: ../../c-api/mapping.rst:50
msgid ""
"Return ``1`` if the mapping object has the key *key* and ``0`` otherwise. "
"This is equivalent to ``o[key]``, returning ``True`` on success and "
"``False`` on an exception. This function always succeeds."
msgstr ""
"マップ型オブジェクトがキー *key* を持つ場合に ``1`` を返し、そうでないときに"
"は ``0`` を返します。これは、Python 式 ``key in o`` と等価です。この関数呼び"
"出しは常に成功します。"
#: ../../c-api/mapping.rst:57
msgid ""
"On success, return a list of the keys in object *o*. On failure, return "
"*NULL*. This is equivalent to the Python expression ``o.keys()``."
msgstr ""
"成功するとオブジェクト *o* のキーからなるリストを返します。失敗すると *NULL* "
"を返します。 Python の式 ``o.keys()`` と同じです。"
#: ../../c-api/mapping.rst:63
msgid ""
"On success, return a list of the values in object *o*. On failure, return "
"*NULL*. This is equivalent to the Python expression ``o.values()``."
msgstr ""
"成功するとオブジェクト *o* のキーに対応する値からなるリストを返します。失敗す"
"ると *NULL* を返します。 Python の式 ``o.values()`` と同じです。"
#: ../../c-api/mapping.rst:69
msgid ""
"On success, return a list of the items in object *o*, where each item is a "
"tuple containing a key-value pair. On failure, return *NULL*. This is "
"equivalent to the Python expression ``o.items()``."
msgstr ""
"成功するとオブジェクト *o* の要素対、すなわちキーと値のペアが入ったタプルから"
"なるリストを返します。失敗すると *NULL* を返します。 Python の式 ``o."
"items()`` と同じです。"
#: ../../c-api/mapping.rst:76
msgid ""
"Return element of *o* corresponding to the object *key* or *NULL* on "
"failure. This is the equivalent of the Python expression ``o[key]``."
msgstr ""
"オブジェクト *key* に対応する *o* の要素を返します。失敗すると *NULL* を返し"
"ます。Python の式 ``o[key]`` と同じです。"
#: ../../c-api/mapping.rst:82
msgid ""
"Map the object *key* to the value *v* in object *o*. Returns ``-1`` on "
"failure. This is the equivalent of the Python statement ``o[key] = v``."
msgstr ""
"オブジェクト *o* で *key* を値 *v* に対応付けます。失敗すると ``-1`` を返しま"
"す。Python の文 ``o[key] = v`` と同じです。"