-
-
Notifications
You must be signed in to change notification settings - Fork 32
/
Copy pathaetools.po
154 lines (141 loc) · 8.28 KB
/
aetools.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
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
# 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: 2017-09-22 17:56+0000\n"
"Last-Translator: 秘湯 <[email protected]>\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"
#: ../../library/aetools.rst:3
msgid ":mod:`aetools` --- OSA client support"
msgstr ":mod:`aetools` --- OSA クライアントのサポート"
#: ../../library/aetools.rst:12
msgid ""
"The :mod:`aetools` module contains the basic functionality on which Python "
"AppleScript client support is built. It also imports and re-exports the core "
"functionality of the :mod:`aetypes` and :mod:`aepack` modules. The stub "
"packages generated by :mod:`gensuitemodule` import the relevant portions of :"
"mod:`aetools`, so usually you do not need to import it yourself. The "
"exception to this is when you cannot use a generated suite package and need "
"lower-level access to scripting."
msgstr ""
":mod:`aetools` モジュールは Python で AppleScript クライアントとしての機能を"
"サポートするアプリケーションを構築するための基本的な機能を含んでいます。さら"
"に、このモジュールは、 :mod:`aetypes` および :mod:`aepack` モジュールの中核機"
"能をインポートし再エクスポートします。 :mod:`gensuitemodule` によって生成され"
"たスタブパッケージは :mod:`aetools` のかなり適切な部分をインポートするので、"
"通常はそれを明示的にインポートする必要はありません。生成されたパッケージ群を"
"使用することができない場合と、スクリプト対応のためにより低いレベルのアクセス"
"を必要としている場合、例外が発生します。"
#: ../../library/aetools.rst:20
msgid ""
"The :mod:`aetools` module itself uses the AppleEvent support provided by "
"the :mod:`Carbon.AE` module. This has one drawback: you need access to the "
"window manager, see section :ref:`osx-gui-scripts` for details. This "
"restriction may be lifted in future releases."
msgstr ""
":mod:`aetools` モジュールはそれ自身、 :mod:`Carbon.AE` モジュールによって提供"
"される AppleEvent サポートを利用します。このモジュールにはウィンドウマネー"
"ジャへのアクセスを必要とするという 1 つの欠点があります。詳細は :ref:`osx-"
"gui-scripts` を見てください。この制限は将来のリリースで撤廃されるかもしれませ"
"ん。"
#: ../../library/aetools.rst:27
msgid "This module has been removed in Python 3.x."
msgstr "このモジュールは Python 3.x で削除されました。"
#: ../../library/aetools.rst:30
msgid "The :mod:`aetools` module defines the following functions:"
msgstr ":mod:`aetools` モジュールは下記の関数を定義しています。"
#: ../../library/aetools.rst:35
msgid ""
"Stores parameters and attributes in a pre-created ``Carbon.AE.AEDesc`` "
"object. ``parameters`` and ``attributes`` are dictionaries mapping 4-"
"character OSA parameter keys to Python objects. The objects are packed using "
"``aepack.pack()``."
msgstr ""
"あらかじめ作成された ``Carbon.AE.AEDesc`` オブジェクト中のパラメータおよび属"
"性を保存します。 ``parameters`` と ``attributes`` は Python オブジェクトの 4 "
"文字の OSA パラメータのキーを写像した辞書です。このオブジェクトをパックするに"
"は ``aepack.pack()`` を使います。"
#: ../../library/aetools.rst:43
msgid ""
"Recursively unpacks a ``Carbon.AE.AEDesc`` event to Python objects. The "
"function returns the parameter dictionary and the attribute dictionary. The "
"``formodulename`` argument is used by generated stub packages to control "
"where AppleScript classes are looked up."
msgstr ""
"再帰的に、 ``Carbon.AE.AEDesc`` イベントを Python オブジェクトへアンパックし"
"ます。関数は引数の辞書および属性の辞書を返します。 ``formodulename`` 引数は "
"AppleScript クラスをどこに捜しに行くか制御するために、生成されたスタブパッ"
"ケージにより使用されます。"
#: ../../library/aetools.rst:51
msgid ""
"Converts a Python keyword argument dictionary ``arguments`` to the format "
"required by ``packevent`` by replacing the keys, which are Python "
"identifiers, by the four-character OSA keys according to the mapping "
"specified in ``keydict``. Used by the generated suite packages."
msgstr ""
"Python キーワード引数辞書 ``arguments`` を、写像による 4 文字の OSA キーとし"
"て ``keydict`` の中で指定された Python 識別子であるキーの交換により "
"``packevent`` によって要求されるフォーマットへ変換します。生成されたパッケー"
"ジ群によって使用されます。"
#: ../../library/aetools.rst:59
msgid ""
"If the ``arguments`` dictionary contains an entry for ``key`` convert the "
"value for that entry according to dictionary ``edict``. This converts human-"
"readable Python enumeration names to the OSA 4-character codes. Used by the "
"generated suite packages."
msgstr ""
"``arguments`` 辞書が ``key`` へのエントリーを含んでいる場合、辞書 ``edict`` "
"のエントリーに見合う値に変換します。これは人間に判読可能なように Python 列挙"
"名を OSA 4 文字のコードに変換します。生成されたパッケージ群によって使用されま"
"す。"
#: ../../library/aetools.rst:64
msgid "The :mod:`aetools` module defines the following class:"
msgstr ":mod:`aetools` モジュールは次のクラスを定義しています。"
#: ../../library/aetools.rst:69
msgid ""
"Base class for the proxy used to talk to an application. ``signature`` "
"overrides the class attribute ``_signature`` (which is usually set by "
"subclasses) and is the 4-char creator code defining the application to talk "
"to. ``start`` can be set to true to enable running the application on class "
"instantiation. ``timeout`` can be specified to change the default timeout "
"used while waiting for an AppleEvent reply."
msgstr ""
"アプリケーションとの対話に利用する代理の基底クラスです。 ``signature`` はクラ"
"ス属性 ``_signature`` (サブクラスによって通常設定される) を上書きした、対話す"
"るアプリケーションを定義する 4 文字 クリエートコードです。 ``start`` にはクラ"
"スインスタンス上でアプリケーションを実行することを可能にするために、真を設定"
"する事ができます。 ``timeout`` を明示的に設定する事で、 AppleEvent の返答を待"
"つデフォルトのタイムアウト時間を変更する事ができます。"
#: ../../library/aetools.rst:79
msgid ""
"Test whether the application is running, and attempt to start it if not."
msgstr ""
"アプリケーションが起動していてるか確認し、起動していなければ起動しようとしま"
"す。"
#: ../../library/aetools.rst:84
msgid ""
"Create the AppleEvent ``Carbon.AE.AEDesc`` for the verb with the OSA "
"designation ``code, subcode`` (which are the usual 4-character strings), "
"pack the ``parameters`` and ``attributes`` into it, send it to the target "
"application, wait for the reply, unpack the reply with ``unpackevent`` and "
"return the reply appleevent, the unpacked return values as a dictionary and "
"the return attributes."
msgstr ""
"OSA指示子 ``code, subcode`` (いずれも通常4文字の文字列です) を持った変数のた"
"めに、 ``parameters`` をパックし、 ``attributes`` に戻し、目標アプリケーショ"
"ンにそれを送って、返答を待ち、 ``unpackevent`` を含んだ返答をアンパックし、"
"AppleEvent の返答を返し、辞書としてアンパックした値と属性を返して、"
"AppleEvent ``Carbon.AE.AEDesc`` を作成します。"