66msgid ""
77msgstr ""
88"Project-Id-Version : clojure-site-ja 0.0.1\n "
9- "POT-Creation-Date : 2016 -06-27 08:47 +0900\n "
9+ "POT-Creation-Date : 2017 -06-01 09:26 +0900\n "
1010"PO-Revision-Date : 2017-07-26 15:27+0900\n "
1111"Last-Translator : Automatically generated\n "
1212"Language-Team : none\n "
@@ -79,19 +79,6 @@ msgstr ""
7979"<<protocols#,protocols>> と <<datatypes#,datatypes>> の機能は強力で柔軟な、ホストプラットフォームに対して妥協をするこ"
8080"とのない、抽象化とデータ構造定義を提供する。"
8181
82-
83- #. type: Title ==
84- #: en/content/reference/datatypes.adoc:21 en/content/reference/protocols.adoc:36 en/content/about/dynamic.adoc:42
85- #, no-wrap
86- msgid "Basics"
87- msgstr "基礎"
88-
89- #. type: Title =
90- #: en/content/reference/protocols.adoc:1
91- #, no-wrap
92- msgid "Protocols"
93- msgstr "Protocol(プロトコル)"
94-
9582#. type: Plain text
9683#: en/content/reference/protocols.adoc:21
9784msgid "There are several motivations for protocols:"
@@ -107,22 +94,29 @@ msgstr "インターフェースに代わる、高パフォーマンスな動的
10794msgid ""
10895"Support the best parts of interfaces ** specification only, no implementation ** a single type can implement multiple "
10996"protocols"
110- msgstr "インターフェースの良いところだけをサポートする。 ** 仕様をのみ指定し、実装は指定しない ** 単一のデータ型が複数のプロトコルを実装することができる"
97+ msgstr ""
98+ "インターフェースの良いところだけをサポートする。 ** 仕様をのみ指定し、実装は指定しない ** 単一のデータ型が複数のプロト"
99+ "コルを実装することができる"
111100
112101#. type: Plain text
113102#: en/content/reference/protocols.adoc:29
114103msgid ""
115104"While avoiding some of the drawbacks ** Which interfaces are implemented is a design-time choice of the type author, "
116105"cannot be extended later (although interface injection might eventually address this) ** implementing an interface "
117106"creates an isa/instanceof type relationship and hierarchy"
118- msgstr "と同時にいくつかのデメリットを避ける ** どのインターフェースを実装するかは、作者の設計段階での判断であり、後から拡張することが出来ない(将来、インターフェースインジェクションがこれに対する解決策になる可能性はある) ** インターフェースを実装することで isa/instanceof のような関係性とヒエラルキーが作成される"
107+ msgstr ""
108+ "と同時にいくつかのデメリットを避ける ** どのインターフェースを実装するかは、作者の設計段階での判断であり、後から拡張す"
109+ "ることが出来ない(将来、インターフェースインジェクションがこれに対する解決策になる可能性はある) ** インターフェースを"
110+ "実装することで isa/instanceof のような関係性とヒエラルキーが作成される"
119111
120112#. type: Plain text
121113#: en/content/reference/protocols.adoc:31
122114msgid ""
123115"Avoid the 'expression problem' by allowing independent extension of the set of types, protocols, and implementations "
124116"of protocols on types, by different parties ** do so without wrappers/adapters"
125- msgstr "異なる提供元による型、プロトコル、型の上のプロトコルの実装の独立した拡張を許可することにより、'expression problem' ** ラッパー/アダプター等を使用することなく避ける。"
117+ msgstr ""
118+ "異なる提供元による型、プロトコル、型の上のプロトコルの実装の独立した拡張を許可することにより、'expression problem' ** "
119+ "ラッパー/アダプター等を使用することなく避ける。"
126120
127121#. type: Plain text
128122#: en/content/reference/protocols.adoc:32
@@ -146,7 +140,9 @@ msgstr "基本"
146140msgid ""
147141"A protocol is a named set of named methods and their signatures, defined using https://clojure.github.io/clojure/"
148142"clojure.core-api.html#clojure.core/defprotocol[defprotocol]:"
149- msgstr "プロトコルは https://clojure.github.io/clojure/clojure.core-api.html#clojure.core/defprotocol[defprotocol]を使用して定義される、名前のついたメソッドとシグネチャーの集合である:"
143+ msgstr ""
144+ "プロトコルは https://clojure.github.io/clojure/clojure.core-api.html#clojure.core/defprotocol[defprotocol]を使用して定"
145+ "義される、名前のついたメソッドとシグネチャーの集合である:"
150146
151147#. type: delimited block -
152148#: en/content/reference/protocols.adoc:46
@@ -177,7 +173,9 @@ msgstr "プロトコルと関数にDocを指定することができる"
177173msgid ""
178174"The above yields a set of polymorphic functions and a protocol object ** all are namespace-qualified by the namespace "
179175"enclosing the definition"
180- msgstr "上記はポリモーフィックな関数と、プロトコルオブジェクトを生成する。 ** プロトコルは全てプロトコルの定義を含む名前空間で修飾される。"
176+ msgstr ""
177+ "上記はポリモーフィックな関数と、プロトコルオブジェクトを生成する。 ** プロトコルは全てプロトコルの定義を含む名前空間で"
178+ "修飾される。"
181179
182180#. type: Plain text
183181#: en/content/reference/protocols.adoc:53
@@ -196,7 +194,10 @@ msgid ""
196194"generate a corresponding interface, with the same name as the protocol, e.g. given a protocol my.ns/Protocol, an "
197195"interface my.ns.Protocol. The interface will have methods corresponding to the protocol functions, and the protocol "
198196"will automatically work with instances of the interface."
199- msgstr "https://clojure.github.io/clojure/clojure.core-api.html#clojure.core/defprotocol[defprotocol]は自動的にプロトコルと同じ名前のインターフェースを生成する。e.g my.ns/Protocolからはmy.ns.Protocolが生成される。このインターフェースはプロトコル関数に対応するメソッドを持ち、プロトコルはこのインターフェースのインスタンスと自動的に協調動作する。"
197+ msgstr ""
198+ "https://clojure.github.io/clojure/clojure.core-api.html#clojure.core/defprotocol[defprotocol]は自動的にプロトコルと同"
199+ "じ名前のインターフェースを生成する。e.g my.ns/Protocolからはmy.ns.Protocolが生成される。このインターフェースはプロトコ"
200+ "ル関数に対応するメソッドを持ち、プロトコルはこのインターフェースのインスタンスと自動的に協調動作する。"
200201
201202#. type: Plain text
202203#: en/content/reference/protocols.adoc:58
@@ -205,7 +206,11 @@ msgid ""
205206"core/deftype[deftype] , https://clojure.github.io/clojure/clojure.core-api.html#clojure.core/defrecord[defrecord] , "
206207"or https://clojure.github.io/clojure/clojure.core-api.html#clojure.core/reify[reify], as they support protocols "
207208"directly:"
208- msgstr "https://clojure.github.io/clojure/clojure.core-api.html#clojure.core/deftype[deftype]、https://clojure.github.io/clojure/clojure.core-api.html#clojure.core/defrecord[defrecord]、もしくはhttps://clojure.github.io/clojure/clojure.core-api.html#clojure.core/reify[reify]はプロトコルを直接サポートしているため生成されるインターフェースを利用する必要は無い:"
209+ msgstr ""
210+ "https://clojure.github.io/clojure/clojure.core-api.html#clojure.core/deftype[deftype]、https://clojure.github.io/"
211+ "clojure/clojure.core-api.html#clojure.core/defrecord[defrecord]、もしくはhttps://clojure.github.io/clojure/clojure."
212+ "core-api.html#clojure.core/reify[reify]はプロトコルを直接サポートしているため生成されるインターフェースを利用する必要"
213+ "は無い:"
209214
210215#. type: delimited block -
211216#: en/content/reference/protocols.adoc:64
@@ -276,15 +281,19 @@ msgstr "> 17\n"
276281msgid ""
277282"A Java client looking to participate in the protocol can do so most efficiently by implementing the protocol-"
278283"generated interface."
279- msgstr "プロトコルに参加したいJavaクライアントは、プロトコルによって生成されるインターフェースを実装することで効率よくプロトコルに参加することができる。"
284+ msgstr ""
285+ "プロトコルに参加したいJavaクライアントは、プロトコルによって生成されるインターフェースを実装することで効率よくプロトコ"
286+ "ルに参加することができる。"
280287
281288#. type: Plain text
282289#: en/content/reference/protocols.adoc:87
283290msgid ""
284291"External implementations of the protocol (which are needed when you want a class or type not in your control to "
285292"participate in the protocol) can be provided using the https://clojure.github.io/clojure/clojure.core-api."
286293"html#clojure.core/extend[extend] construct:"
287- msgstr "プロトコルはthe https://clojure.github.io/clojure/clojure.core-api.html#clojure.core/extend[extend]機能を使用することで外部から実装を追加する(自分がコントロールしないクラスや型をプロトコルに参加させるためには必要となる)ことができる:\n"
294+ msgstr ""
295+ "プロトコルはthe https://clojure.github.io/clojure/clojure.core-api.html#clojure.core/extend[extend]機能を使用すること"
296+ "で外部から実装を追加する(自分がコントロールしないクラスや型をプロトコルに参加させるためには必要となる)ことができる:\n"
288297
289298#. type: delimited block -
290299#: en/content/reference/protocols.adoc:98
@@ -311,7 +320,8 @@ msgstr ""
311320#. type: Plain text
312321#: en/content/reference/protocols.adoc:101
313322msgid "extend takes a type/class (or interface, see below), a one or more protocol + function map (evaluated) pairs."
314- msgstr "extendは型/クラス(もしくはインターフェース、下記参照)と一つ以上のプロトコル+関数マップ(評価済み)のペアを受け取る。"
323+ msgstr ""
324+ "extendは型/クラス(もしくはインターフェース、下記参照)と一つ以上のプロトコル+関数マップ(評価済み)のペアを受け取る。"
315325
316326#. type: Plain text
317327#: en/content/reference/protocols.adoc:103
@@ -374,7 +384,9 @@ msgstr ""
374384msgid ""
375385"Note the convenience macros https://clojure.github.io/clojure/clojure.core-api.html#clojure.core/extend-type[extend-"
376386"type] , and https://clojure.github.io/clojure/clojure.core-api.html#clojure.core/extend-protocol[extend-protocol]"
377- msgstr "便利なマクロ http://clojure.github.io/clojure/clojure.core-api.html#clojure.core/extend-type[extend-type]と http://clojure.github.io/clojure/clojure.core-api.html#clojure.core/extend-protocol[extend-protocol] 知っておくと良い。"
387+ msgstr ""
388+ "便利なマクロ http://clojure.github.io/clojure/clojure.core-api.html#clojure.core/extend-type[extend-type]と http://"
389+ "clojure.github.io/clojure/clojure.core-api.html#clojure.core/extend-protocol[extend-protocol] 知っておくと良い。"
378390
379391#. type: Plain text
380392#: en/content/reference/protocols.adoc:118
0 commit comments