Repository navigation
Expand file tree
/
Copy pathcurses.po
More file actions
221 lines (193 loc) · 8.14 KB
/
Copy pathcurses.po
File metadata and controls
221 lines (193 loc) · 8.14 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
# SOME DESCRIPTIVE TITLE.
# Copyright (C) 2001 Python Software Foundation
# This file is distributed under the same license as the Python package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
# Translators:
# Inada Naoki <songofacandy@gmail.com>, 2026
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: Python 3.15\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2026-10-25 17:19+0000\n"
"PO-Revision-Date: 2025-11-11 14:16+0000\n"
"Last-Translator: Inada Naoki <songofacandy@gmail.com>, 2026\n"
"Language-Team: Japanese (https://app.transifex.com/python-doc/teams/5390/"
"ja/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: ja\n"
"Plural-Forms: nplurals=1; plural=0;\n"
msgid "Curses C API"
msgstr "Curses C API"
msgid ""
":mod:`curses` exposes a small C interface for extension modules. Consumers "
"must include the header file :file:`py_curses.h` (which is not included by "
"default by :file:`Python.h`) and :c:func:`import_curses` must be invoked, "
"usually as part of the module initialisation function, to "
"populate :c:var:`PyCurses_API`."
msgstr ""
":mod:`curses` は拡張モジュール向けに小さな C インターフェースを公開していま"
"す。\n"
"利用する側は :file:`py_curses.h` ヘッダをインクルードする必要があります (この"
"ヘッダは :file:`Python.h` にはデフォルトで含まれません)。\n"
"また、通常はモジュールの初期化関数内で :c:func:`import_curses` を呼び出し"
"て :c:var:`PyCurses_API` を設定する必要があります。"
msgid ""
"Neither the C API nor the pure Python :mod:`curses` module are compatible "
"with subinterpreters."
msgstr ""
"C API も Python レベルの :mod:`curses` モジュールも、サブインタープリタに対応"
"していません。"
msgid ""
"Import the curses C API. The macro does not need a semi-colon to be called."
msgstr ""
"curses C API をインポートします。\n"
"このマクロの呼び出しにはセミコロンは必要ありません。"
msgid "On success, populate the :c:var:`PyCurses_API` pointer."
msgstr "成功した場合は :c:var:`PyCurses_API` ポインタを設定します。"
msgid ""
"On failure, set :c:var:`PyCurses_API` to NULL and set an exception. The "
"caller must check if an error occurred via :c:func:`PyErr_Occurred`:"
msgstr ""
"失敗した場合は :c:var:`PyCurses_API` を NULL に設定し、例外を設定します。\n"
"呼び出し側は :c:func:`PyErr_Occurred` でエラーの有無を確認する必要がありま"
"す。"
msgid ""
"import_curses(); // semi-colon is optional but recommended\n"
"if (PyErr_Occurred()) { /* cleanup */ }"
msgstr ""
"import_curses(); // セミコロンは省略可能だが推奨\n"
"if (PyErr_Occurred()) { /* 後片付け */ }"
msgid ""
"Dynamically allocated object containing the curses C API. This variable is "
"only available once :c:macro:`import_curses` succeeds."
msgstr ""
"curses C API を格納する、動的に割り当てられたオブジェクトです。\n"
"この変数は :c:macro:`import_curses` が成功した後でのみ利用できます。"
msgid "``PyCurses_API[0]`` corresponds to :c:data:`PyCursesWindow_Type`."
msgstr "``PyCurses_API[0]`` は :c:data:`PyCursesWindow_Type` に対応します。"
msgid ""
"``PyCurses_API[1]``, ``PyCurses_API[2]``, and ``PyCurses_API[3]`` are "
"pointers to predicate functions of type ``int (*)(void)``."
msgstr ""
"``PyCurses_API[1]``、``PyCurses_API[2]``、``PyCurses_API[3]`` は、``int (*)"
"(void)`` 型の判定関数へのポインタです。"
msgid ""
"When called, these predicates return "
"whether :func:`curses.setupterm`, :func:`curses.initscr`, "
"and :func:`curses.start_color` have been called respectively."
msgstr ""
"これらの判定関数は、それぞ"
"れ :func:`curses.setupterm`、:func:`curses.initscr`、:func:`curses.start_color` "
"が呼び出されたかどうかを返します。"
msgid ""
"See also the convenience "
"macros :c:macro:`PyCursesSetupTermCalled`, :c:macro:`PyCursesInitialised`, "
"and :c:macro:`PyCursesInitialisedColor`."
msgstr ""
"便利なマク"
"ロ :c:macro:`PyCursesSetupTermCalled`、:c:macro:`PyCursesInitialised`、:c:macro:`PyCursesInitialisedColor` "
"も参照してください。"
msgid ""
"The number of entries in this structure is subject to changes. Consider "
"using :c:macro:`PyCurses_API_pointers` to check if new fields are available "
"or not."
msgstr ""
"この構造体のエントリー数は変更されることがあります。\n"
"新しいフィールドが利用できるかどうかを確認するに"
"は、:c:macro:`PyCurses_API_pointers` の使用を検討してください。"
msgid ""
"The number of accessible fields (``4``) in :c:var:`PyCurses_API`. This "
"number is incremented whenever new fields are added."
msgstr ""
":c:var:`PyCurses_API` 内のアクセス可能なフィールドの数 (``4``)。\n"
"新しいフィールドが追加されるたびに増えます。"
msgid ""
"The :ref:`heap type <heap-types>` corresponding to :class:`curses.window`."
msgstr ":class:`curses.window` に対応する :ref:`ヒープ型 <heap-types>`。"
msgid ""
"Return true if *op* is a :class:`curses.window` instance, false otherwise."
msgstr ""
"``op`` が :class:`curses.window` のインスタンスの場合は真を返し、それ以外の場"
"合は偽を返します。"
msgid ""
"The following macros are convenience macros expanding into C statements. In "
"particular, they can only be used as ``macro;`` or ``macro``, but not "
"``macro()`` or ``macro();``."
msgstr ""
"以下は C の文に展開される便利なマクロです。\n"
"特に、``macro;`` または ``macro`` の形でのみ使え、``macro()`` や "
"``macro();`` では使えません。"
msgid "Macro checking if :func:`curses.setupterm` has been called."
msgstr ":func:`curses.setupterm` が呼び出されたかどうかを確認するマクロ。"
msgid "The macro expansion is roughly equivalent to:"
msgstr "マクロの展開結果は、おおむね次と同等です。"
msgid ""
"{\n"
" typedef int (*predicate_t)(void);\n"
" predicate_t was_setupterm_called = (predicate_t)PyCurses_API[1];\n"
" if (!was_setupterm_called()) {\n"
" return NULL;\n"
" }\n"
"}"
msgstr ""
"{\n"
" typedef int (*predicate_t)(void);\n"
" predicate_t was_setupterm_called = (predicate_t)PyCurses_API[1];\n"
" if (!was_setupterm_called()) {\n"
" return NULL;\n"
" }\n"
"}"
msgid "Macro checking if :func:`curses.initscr` has been called."
msgstr ":func:`curses.initscr` が呼び出されたかどうかを確認するマクロ。"
msgid ""
"{\n"
" typedef int (*predicate_t)(void);\n"
" predicate_t was_initscr_called = (predicate_t)PyCurses_API[2];\n"
" if (!was_initscr_called()) {\n"
" return NULL;\n"
" }\n"
"}"
msgstr ""
"{\n"
" typedef int (*predicate_t)(void);\n"
" predicate_t was_initscr_called = (predicate_t)PyCurses_API[2];\n"
" if (!was_initscr_called()) {\n"
" return NULL;\n"
" }\n"
"}"
msgid "Macro checking if :func:`curses.start_color` has been called."
msgstr ":func:`curses.start_color` が呼び出されたかどうかを確認するマクロ。"
msgid ""
"{\n"
" typedef int (*predicate_t)(void);\n"
" predicate_t was_start_color_called = (predicate_t)PyCurses_API[3];\n"
" if (!was_start_color_called()) {\n"
" return NULL;\n"
" }\n"
"}"
msgstr ""
"{\n"
" typedef int (*predicate_t)(void);\n"
" predicate_t was_start_color_called = (predicate_t)PyCurses_API[3];\n"
" if (!was_start_color_called()) {\n"
" return NULL;\n"
" }\n"
"}"
msgid "Internal data"
msgstr "内部データ"
msgid ""
"The following objects are exposed by the C API but should be considered "
"internal-only."
msgstr ""
"以下のオブジェクトは C API で公開されていますが、内部専用と考えてください。"
msgid "Name of the curses capsule to pass to :c:func:`PyCapsule_Import`."
msgstr ":c:func:`PyCapsule_Import` に渡す curses カプセルの名前。"
msgid "Internal usage only. Use :c:macro:`import_curses` instead."
msgstr ""
"内部専用です。\n"
"代わりに :c:macro:`import_curses` を使ってください。"