-
-
Notifications
You must be signed in to change notification settings - Fork 36
Expand file tree
/
Copy pathbastion.po
More file actions
110 lines (101 loc) · 5.75 KB
/
bastion.po
File metadata and controls
110 lines (101 loc) · 5.75 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
# SOME DESCRIPTIVE TITLE.
# Copyright (C) 1990-2021, Python Software Foundation
# This file is distributed under the same license as the Python package.
#
# Translators:
# 秘湯 <xwhhsprings@gmail.com>, 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: 2019-09-01 05:18+0000\n"
"Last-Translator: 秘湯 <xwhhsprings@gmail.com>\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/bastion.rst:3
msgid ":mod:`Bastion` --- Restricting access to objects"
msgstr ":mod:`Bastion` --- オブジェクトに対するアクセスの制限"
#: ../../library/bastion.rst:9
msgid "The :mod:`Bastion` module has been removed in Python 3."
msgstr ":mod:`Bastion` モジュールは Python 3 で削除されました。"
#: ../../library/bastion.rst:15
msgid "Disabled module."
msgstr "モジュールは無効化され、使えなくなりました。"
#: ../../library/bastion.rst:20
msgid ""
"The documentation has been left in place to help in reading old code that "
"uses the module."
msgstr ""
"このドキュメントは、Bastion モジュールを使用している古いコードを読む際の参照"
"用として残されています。"
#: ../../library/bastion.rst:23
msgid ""
"According to the dictionary, a bastion is \"a fortified area or position\", "
"or \"something that is considered a stronghold.\" It's a suitable name for "
"this module, which provides a way to forbid access to certain attributes of "
"an object. It must always be used with the :mod:`rexec` module, in order to "
"allow restricted-mode programs access to certain safe attributes of an "
"object, while denying access to other, unsafe attributes."
msgstr ""
"辞書によると、バスチョン (bastion、要塞) とは、\"防衛された領域や地点\"、また"
"は \"最後の砦と考えられているもの\" であり、オブジェクトの特定の属性へのアク"
"セスを禁じる方法を提供するこのモジュールにふさわしい名前です。制限モード下の"
"プログラムに対して、あるオブジェクトにおける特定の安全な属性へのアクセスを許"
"可し、かつその他の安全でない属性へのアクセスを拒否するには、要塞オブジェクト"
"は常に :mod:`rexec` モジュールと共に使われなければなりません。"
#: ../../library/bastion.rst:39
msgid ""
"Protect the object *object*, returning a bastion for the object. Any "
"attempt to access one of the object's attributes will have to be approved by "
"the *filter* function; if the access is denied an :exc:`AttributeError` "
"exception will be raised."
msgstr ""
"オブジェクト *object* を保護し、オブジェクトに対する要塞オブジェクトを返しま"
"す。オブジェクトの属性に対するアクセスの試みは全て、 *filter* 関数によって認"
"可されなければなりません; アクセスが拒否された場合 :exc:`AttributeError` 例外"
"が送出されます。"
#: ../../library/bastion.rst:44
msgid ""
"If present, *filter* must be a function that accepts a string containing an "
"attribute name, and returns true if access to that attribute will be "
"permitted; if *filter* returns false, the access is denied. The default "
"filter denies access to any function beginning with an underscore "
"(``'_'``). The bastion's string representation will be ``<Bastion for "
"name>`` if a value for *name* is provided; otherwise, ``repr(object)`` will "
"be used."
msgstr ""
"*filter* が存在する場合、この関数は属性名を含む文字列を受理し、その属性に対す"
"るアクセスが許可される場合には真を返さなければなりません; *filter* が偽を返す"
"場合、アクセスは拒否されます。標準のフィルタは、アンダースコア (``'_'``) で始"
"まる全ての関数に対するアクセスを拒否します。 *name* の値が与えられた場合、要"
"塞オブジェクトの文字列表現は ``<Bastion for name>`` になります; そうでない場"
"合、 ``repr(object)`` が使われます。"
#: ../../library/bastion.rst:51
msgid ""
"*class*, if present, should be a subclass of :class:`BastionClass`; see the "
"code in :file:`bastion.py` for the details. Overriding the default :class:"
"`BastionClass` will rarely be required."
msgstr ""
"*class* が存在する場合、 :class:`BastionClass` のサブクラスでなくてはなりませ"
"ん; 詳細は :file:`bastion.py` のコードを参照してください。 :class:"
"`BastionClass` の標準設定を上書きする必要はほとんどないはずです。"
#: ../../library/bastion.rst:58
msgid ""
"Class which actually implements bastion objects. This is the default class "
"used by :func:`Bastion`. The *getfunc* parameter is a function which "
"returns the value of an attribute which should be exposed to the restricted "
"execution environment when called with the name of the attribute as the only "
"parameter. *name* is used to construct the :func:`repr` of the :class:"
"`BastionClass` instance."
msgstr ""
"実際に要塞オブジェクトを実装しているクラスです。このクラスは :func:`Bastion` "
"によって使われる標準のクラスです。 *getfunc* 引数は関数で、唯一の引数である属"
"性の名前を与えて呼び出した際、制限された実行環境に対して、開示すべき属性の値"
"を返します。 *name* は :class:`BastionClass` インスタンスの :func:`repr` を構"
"築するために使われます。"