YUKI Hiroshi
null+****@clear*****
Wed Aug 20 17:23:18 JST 2014
YUKI Hiroshi 2014-08-20 17:23:18 +0900 (Wed, 20 Aug 2014) New Revision: a6301aa78cd2a2298e27f073a81e312eaffd7589 https://github.com/droonga/droonga.org/commit/a6301aa78cd2a2298e27f073a81e312eaffd7589 Message: Remove needless entries Modified files: _po/ja/reference/1.0.4/index.po _po/ja/reference/1.0.5/index.po _po/ja/tutorial/1.0.3/plugin-development/adapter/index.po _po/ja/tutorial/1.0.4/plugin-development/adapter/index.po _po/ja/tutorial/1.0.5/plugin-development/adapter/index.po Modified: _po/ja/reference/1.0.4/index.po (+0 -32) =================================================================== --- _po/ja/reference/1.0.4/index.po 2014-08-20 17:20:54 +0900 (0738add) +++ _po/ja/reference/1.0.4/index.po 2014-08-20 17:23:18 +0900 (172b047) @@ -10,38 +10,6 @@ msgstr "" msgid "" "---\n" -"title: Plugin development\n" -"layout: en\n" -"---" -msgstr "" -"---\n" -"title: プラグイン開発\n" -"layout: ja\n" -"---" - -msgid "" -"Droonga Engine has different API sets for plugins, on each phase.\n" -"See also the [plugin development tutorial](../../tutorial/plugin-development/)" -"." -msgstr "" -"Droonga Engineはプラグインに対して、処理の各段階ごとに異なるAPIセットを提供します。[プラグイン開発のチュートリアル](../../tuto" -"rial/plugin-development/)も参照してください。" - -msgid "" -" * [API set for the adaption phase](adapter/)\n" -" * [API set for the handling phase](handler/)\n" -" * [Matching pattern for messages](matching-pattern/)\n" -" * [Collector](collector/)\n" -" * [Error handling](error/)" -msgstr "" -" * [適合フェーズでのAPI](adapter/)\n" -" * [ハンドリング・フェーズでのAPI](handler/)\n" -" * [メッセージのためのマッチングパターン](matching-pattern/)\n" -" * [コレクター](collector/)\n" -" * [エラー処理](error/)" - -msgid "" -"---\n" "title: Reference manuals\n" "layout: en\n" "---" Modified: _po/ja/reference/1.0.5/index.po (+0 -32) =================================================================== --- _po/ja/reference/1.0.5/index.po 2014-08-20 17:20:54 +0900 (0738add) +++ _po/ja/reference/1.0.5/index.po 2014-08-20 17:23:18 +0900 (172b047) @@ -10,38 +10,6 @@ msgstr "" msgid "" "---\n" -"title: Plugin development\n" -"layout: en\n" -"---" -msgstr "" -"---\n" -"title: プラグイン開発\n" -"layout: ja\n" -"---" - -msgid "" -"Droonga Engine has different API sets for plugins, on each phase.\n" -"See also the [plugin development tutorial](../../tutorial/plugin-development/)" -"." -msgstr "" -"Droonga Engineはプラグインに対して、処理の各段階ごとに異なるAPIセットを提供します。[プラグイン開発のチュートリアル](../../tuto" -"rial/plugin-development/)も参照してください。" - -msgid "" -" * [API set for the adaption phase](adapter/)\n" -" * [API set for the handling phase](handler/)\n" -" * [Matching pattern for messages](matching-pattern/)\n" -" * [Collector](collector/)\n" -" * [Error handling](error/)" -msgstr "" -" * [適合フェーズでのAPI](adapter/)\n" -" * [ハンドリング・フェーズでのAPI](handler/)\n" -" * [メッセージのためのマッチングパターン](matching-pattern/)\n" -" * [コレクター](collector/)\n" -" * [エラー処理](error/)" - -msgid "" -"---\n" "title: Reference manuals\n" "layout: en\n" "---" Modified: _po/ja/tutorial/1.0.3/plugin-development/adapter/index.po (+17 -93) =================================================================== --- _po/ja/tutorial/1.0.3/plugin-development/adapter/index.po 2014-08-20 17:20:54 +0900 (7305a03) +++ _po/ja/tutorial/1.0.3/plugin-development/adapter/index.po 2014-08-20 17:23:18 +0900 (22bafd5) @@ -9,77 +9,6 @@ msgstr "" "Plural-Forms: nplurals=1; plural=0;\n" msgid "" -"We sometime need to modify incoming requests from outside to Droonga Engine.\n" -"We can use a plugin for this purpose.\n" -"Let's see how to create a plugin for the adaption phase, in this section." -msgstr "" -"外部のシステムからDroonga Engineにやってくるリクエストを加工する必要がある場合があります。このようなときに、プラグインを利用できます。このセク" -"ションでは、どのようにしてアダプション・フェーズのプラグインをつくるのかをみていきます。" - -msgid "" -" * The `sample-logger` is the name of the plugin itself. You'll use it in your" -" `catalog.json`, to activate the plugin.\n" -" * As the example above, you must define your plugin as a module.\n" -" * Behaviors at the adaption phase is defined a class called *adapter*.\n" -" An adapter class must be defined as a subclass of the `Droonga::Adapter`, u" -"nder the namespace of the plugin module." -msgstr "" -" * `sample-logger`は、このプラグイン自身の名前です。これは`catalog.json`の中で、プラグインを有効化するために使う事になります" -"。\n" -" * 上記の例のように、プラグインはモジュールとして定義する必要があります。\n" -" * アダプション・フェーズでの振る舞いは、*アダプター*と呼ばれるクラスとして定義します。\n" -" アダプタークラスは必ず、プラグインのモジュールの名前空間の配下で、`Droonga::Adapter`のサブクラスとして定義する必要があります。" - -msgid "" -"~~~\n" -"(snip)\n" -" \"datasets\": {\n" -" \"Starbucks\": {\n" -" (snip)\n" -" \"plugins\": [\"sample-logger\", \"groonga\", \"crud\", \"search\"],\n" -"(snip)\n" -"~~~" -msgstr "" - -msgid "" -"Note: you must place `\"sample-logger\"` before `\"search\"`, because the `sample-" -"logger` plugin depends on the `search`. Droonga Engine applies plugins at the " -"adaption phase in the order defined in the `catalog.json`, so you must resolve" -" plugin dependencies by your hand (for now)." -msgstr "" -"注意:`\"sample-logger\"`は`\"search\"`よりも前に置く必要があります。これは、`sample-logger`プラグインが`search" -"`に依存しているからです。Droonga Engineはアダプション・フェーズにおいて、プラグインを`catalog.json`で定義された順に適用しますの" -"で、プラグイン同士の依存関係は(今のところは)自分で解決しなくてはなりません。" - -msgid "" -"Let's modify the result.\n" -"For example, add `completedAt` attribute that shows the time completed the req" -"uest.\n" -"Update your plugin as follows:" -msgstr "" -"結果を加工してみましょう。\n" -"例えば、リクエストに対する処理が完了した時刻を示す`completedAt`というアトリビュートを加えるとします。\n" -"プラグインを以下のように更新して下さい:" - -msgid "" -"We have learned the basics of plugins for the adaption phase so far.\n" -"Let's try to build more practical plugin." -msgstr "" -"ここまでで、アダプション・フェーズで動作するプラグインの基本を学びました。\n" -"それでは、より実践的なプラグインを開発してみることにしましょう。" - -msgid "" -"~~~\n" -"(snip)\n" -" \"datasets\": {\n" -" \"Starbucks\": {\n" -" (snip)\n" -" \"plugins\": [\"store-search\", \"groonga\", \"crud\", \"search\"],\n" -"(snip)\n" -"~~~" -msgstr "" - -msgid "" "---\n" "title: \"Plugin: Adapt requests and responses, to add a new command based on ot" "her existing commands\"\n" @@ -126,13 +55,11 @@ msgstr "まず`sample-logger`という簡単なロガープラグインを使っ msgid "" "We sometime need to modify incoming requests from outside to Droonga Engine.\n" -"We can use a plugin for this purpose." -msgstr "外部のシステムからDroonga Engineにやってくるリクエストを加工する必要がある場合があります。このようなときに、プラグインを利用できます。" - -msgid "" -"Let's see how to create a plugin for the *pre adaption phase*, in this section" -"." -msgstr "このセクションでは、どのようにして*前適合フェーズ*のプラグインを作るのかを見てみていきます。" +"We can use a plugin for this purpose.\n" +"Let's see how to create a plugin for the adaption phase, in this section." +msgstr "" +"外部のシステムからDroonga Engineにやってくるリクエストを加工する必要がある場合があります。このようなときに、プラグインを利用できます。このセク" +"ションでは、どのようにしてアダプション・フェーズのプラグインをつくるのかをみていきます。" msgid "### Directory Structure" msgstr "### ディレクトリの構造" @@ -224,14 +151,14 @@ msgid "" " * The `sample-logger` is the name of the plugin itself. You'll use it in your" " `catalog.json`, to activate the plugin.\n" " * As the example above, you must define your plugin as a module.\n" -" * Behaviors at the pre adaption phase is defined a class called *adapter*.\n" +" * Behaviors at the adaption phase is defined a class called *adapter*.\n" " An adapter class must be defined as a subclass of the `Droonga::Adapter`, u" "nder the namespace of the plugin module." msgstr "" " * `sample-logger`は、このプラグイン自身の名前です。これは`catalog.json`の中で、プラグインを有効化するために使う事になります" "。\n" " * 上記の例のように、プラグインはモジュールとして定義する必要があります。\n" -" * 前適合フェーズでの振る舞いは、*アダプター*と呼ばれるクラスとして定義します。\n" +" * アダプション・フェーズでの振る舞いは、*アダプター*と呼ばれるクラスとして定義します。\n" " アダプタークラスは必ず、プラグインのモジュールの名前空間の配下で、`Droonga::Adapter`のサブクラスとして定義する必要があります。" msgid "### Activate the plugin with `catalog.json`" @@ -254,8 +181,7 @@ msgid "" " \"datasets\": {\n" " \"Starbucks\": {\n" " (snip)\n" -" \"plugins\": [\"sample-logger\", \"groonga\", \"crud\", \"search\", \"dump\", \"s" -"tatus\"],\n" +" \"plugins\": [\"sample-logger\", \"groonga\", \"crud\", \"search\"],\n" "(snip)\n" "~~~" msgstr "" @@ -263,12 +189,12 @@ msgstr "" msgid "" "Note: you must place `\"sample-logger\"` before `\"search\"`, because the `sample-" "logger` plugin depends on the `search`. Droonga Engine applies plugins at the " -"pre adaption phase in the order defined in the `catalog.json`, so you must res" -"olve plugin dependencies by your hand (for now)." +"adaption phase in the order defined in the `catalog.json`, so you must resolve" +" plugin dependencies by your hand (for now)." msgstr "" "注意:`\"sample-logger\"`は`\"search\"`よりも前に置く必要があります。これは、`sample-logger`プラグインが`search" -"`に依存しているからです。Droonga Engineは前適合フェーズにおいて、プラグインを`catalog.json`で定義された順に適用しますので、プラ" -"グイン同士の依存関係は(今のところは)自分で解決しなくてはなりません。" +"`に依存しているからです。Droonga Engineはアダプション・フェーズにおいて、プラグインを`catalog.json`で定義された順に適用しますの" +"で、プラグイン同士の依存関係は(今のところは)自分で解決しなくてはなりません。" msgid "### Run and test" msgstr "### 実行と動作を確認する" @@ -685,12 +611,12 @@ msgid "### Modify results in the adaption phase" msgstr "### 結果を適合フェーズで加工する" msgid "" -"Let's modify the result at the *post adaption phase*.\n" +"Let's modify the result.\n" "For example, add `completedAt` attribute that shows the time completed the req" "uest.\n" "Update your plugin as follows:" msgstr "" -"*後適合フェーズ*において、結果を加工してみましょう。\n" +"結果を加工してみましょう。\n" "例えば、リクエストに対する処理が完了した時刻を示す`completedAt`というアトリビュートを加えるとします。\n" "プラグインを以下のように更新して下さい:" @@ -773,11 +699,10 @@ msgid "## Adaption for both incoming and outgoing messages" msgstr "## 入出力メッセージの加工" msgid "" -"We have learned the basics of plugins for the pre adaption phase and the post " -"adaption phase so far.\n" +"We have learned the basics of plugins for the adaption phase so far.\n" "Let's try to build more practical plugin." msgstr "" -"ここまでで、前適合フェーズと後適合フェーズで動作するプラグインの基本を学びました。\n" +"ここまでで、アダプション・フェーズで動作するプラグインの基本を学びました。\n" "それでは、より実践的なプラグインを開発してみることにしましょう。" msgid "" @@ -882,8 +807,7 @@ msgid "" " \"datasets\": {\n" " \"Starbucks\": {\n" " (snip)\n" -" \"plugins\": [\"store-search\", \"groonga\", \"crud\", \"search\", \"dump\", \"st" -"atus\"],\n" +" \"plugins\": [\"store-search\", \"groonga\", \"crud\", \"search\"],\n" "(snip)\n" "~~~" msgstr "" Modified: _po/ja/tutorial/1.0.4/plugin-development/adapter/index.po (+15 -67) =================================================================== --- _po/ja/tutorial/1.0.4/plugin-development/adapter/index.po 2014-08-20 17:20:54 +0900 (da7d900) +++ _po/ja/tutorial/1.0.4/plugin-development/adapter/index.po 2014-08-20 17:23:18 +0900 (ba23ed9) @@ -9,55 +9,6 @@ msgstr "" "Plural-Forms: nplurals=1; plural=0;\n" msgid "" -"We sometime need to modify incoming requests from outside to Droonga Engine.\n" -"We can use a plugin for this purpose.\n" -"Let's see how to create a plugin for the adaption phase, in this section." -msgstr "" -"外部のシステムからDroonga Engineにやってくるリクエストを加工する必要がある場合があります。このようなときに、プラグインを利用できます。このセク" -"ションでは、どのようにしてアダプション・フェーズのプラグインをつくるのかをみていきます。" - -msgid "" -" * The `sample-logger` is the name of the plugin itself. You'll use it in your" -" `catalog.json`, to activate the plugin.\n" -" * As the example above, you must define your plugin as a module.\n" -" * Behaviors at the adaption phase is defined a class called *adapter*.\n" -" An adapter class must be defined as a subclass of the `Droonga::Adapter`, u" -"nder the namespace of the plugin module." -msgstr "" -" * `sample-logger`は、このプラグイン自身の名前です。これは`catalog.json`の中で、プラグインを有効化するために使う事になります" -"。\n" -" * 上記の例のように、プラグインはモジュールとして定義する必要があります。\n" -" * アダプション・フェーズでの振る舞いは、*アダプター*と呼ばれるクラスとして定義します。\n" -" アダプタークラスは必ず、プラグインのモジュールの名前空間の配下で、`Droonga::Adapter`のサブクラスとして定義する必要があります。" - -msgid "" -"Note: you must place `\"sample-logger\"` before `\"search\"`, because the `sample-" -"logger` plugin depends on the `search`. Droonga Engine applies plugins at the " -"adaption phase in the order defined in the `catalog.json`, so you must resolve" -" plugin dependencies by your hand (for now)." -msgstr "" -"注意:`\"sample-logger\"`は`\"search\"`よりも前に置く必要があります。これは、`sample-logger`プラグインが`search" -"`に依存しているからです。Droonga Engineはアダプション・フェーズにおいて、プラグインを`catalog.json`で定義された順に適用しますの" -"で、プラグイン同士の依存関係は(今のところは)自分で解決しなくてはなりません。" - -msgid "" -"Let's modify the result.\n" -"For example, add `completedAt` attribute that shows the time completed the req" -"uest.\n" -"Update your plugin as follows:" -msgstr "" -"結果を加工してみましょう。\n" -"例えば、リクエストに対する処理が完了した時刻を示す`completedAt`というアトリビュートを加えるとします。\n" -"プラグインを以下のように更新して下さい:" - -msgid "" -"We have learned the basics of plugins for the adaption phase so far.\n" -"Let's try to build more practical plugin." -msgstr "" -"ここまでで、アダプション・フェーズで動作するプラグインの基本を学びました。\n" -"それでは、より実践的なプラグインを開発してみることにしましょう。" - -msgid "" "---\n" "title: \"Plugin: Adapt requests and responses, to add a new command based on ot" "her existing commands\"\n" @@ -104,13 +55,11 @@ msgstr "まず`sample-logger`という簡単なロガープラグインを使っ msgid "" "We sometime need to modify incoming requests from outside to Droonga Engine.\n" -"We can use a plugin for this purpose." -msgstr "外部のシステムからDroonga Engineにやってくるリクエストを加工する必要がある場合があります。このようなときに、プラグインを利用できます。" - -msgid "" -"Let's see how to create a plugin for the *pre adaption phase*, in this section" -"." -msgstr "このセクションでは、どのようにして*前適合フェーズ*のプラグインを作るのかを見てみていきます。" +"We can use a plugin for this purpose.\n" +"Let's see how to create a plugin for the adaption phase, in this section." +msgstr "" +"外部のシステムからDroonga Engineにやってくるリクエストを加工する必要がある場合があります。このようなときに、プラグインを利用できます。このセク" +"ションでは、どのようにしてアダプション・フェーズのプラグインをつくるのかをみていきます。" msgid "### Directory Structure" msgstr "### ディレクトリの構造" @@ -202,14 +151,14 @@ msgid "" " * The `sample-logger` is the name of the plugin itself. You'll use it in your" " `catalog.json`, to activate the plugin.\n" " * As the example above, you must define your plugin as a module.\n" -" * Behaviors at the pre adaption phase is defined a class called *adapter*.\n" +" * Behaviors at the adaption phase is defined a class called *adapter*.\n" " An adapter class must be defined as a subclass of the `Droonga::Adapter`, u" "nder the namespace of the plugin module." msgstr "" " * `sample-logger`は、このプラグイン自身の名前です。これは`catalog.json`の中で、プラグインを有効化するために使う事になります" "。\n" " * 上記の例のように、プラグインはモジュールとして定義する必要があります。\n" -" * 前適合フェーズでの振る舞いは、*アダプター*と呼ばれるクラスとして定義します。\n" +" * アダプション・フェーズでの振る舞いは、*アダプター*と呼ばれるクラスとして定義します。\n" " アダプタークラスは必ず、プラグインのモジュールの名前空間の配下で、`Droonga::Adapter`のサブクラスとして定義する必要があります。" msgid "### Activate the plugin with `catalog.json`" @@ -241,12 +190,12 @@ msgstr "" msgid "" "Note: you must place `\"sample-logger\"` before `\"search\"`, because the `sample-" "logger` plugin depends on the `search`. Droonga Engine applies plugins at the " -"pre adaption phase in the order defined in the `catalog.json`, so you must res" -"olve plugin dependencies by your hand (for now)." +"adaption phase in the order defined in the `catalog.json`, so you must resolve" +" plugin dependencies by your hand (for now)." msgstr "" "注意:`\"sample-logger\"`は`\"search\"`よりも前に置く必要があります。これは、`sample-logger`プラグインが`search" -"`に依存しているからです。Droonga Engineは前適合フェーズにおいて、プラグインを`catalog.json`で定義された順に適用しますので、プラ" -"グイン同士の依存関係は(今のところは)自分で解決しなくてはなりません。" +"`に依存しているからです。Droonga Engineはアダプション・フェーズにおいて、プラグインを`catalog.json`で定義された順に適用しますの" +"で、プラグイン同士の依存関係は(今のところは)自分で解決しなくてはなりません。" msgid "### Run and test" msgstr "### 実行と動作を確認する" @@ -663,12 +612,12 @@ msgid "### Modify results in the adaption phase" msgstr "### 結果を適合フェーズで加工する" msgid "" -"Let's modify the result at the *post adaption phase*.\n" +"Let's modify the result.\n" "For example, add `completedAt` attribute that shows the time completed the req" "uest.\n" "Update your plugin as follows:" msgstr "" -"*後適合フェーズ*において、結果を加工してみましょう。\n" +"結果を加工してみましょう。\n" "例えば、リクエストに対する処理が完了した時刻を示す`completedAt`というアトリビュートを加えるとします。\n" "プラグインを以下のように更新して下さい:" @@ -751,11 +700,10 @@ msgid "## Adaption for both incoming and outgoing messages" msgstr "## 入出力メッセージの加工" msgid "" -"We have learned the basics of plugins for the pre adaption phase and the post " -"adaption phase so far.\n" +"We have learned the basics of plugins for the adaption phase so far.\n" "Let's try to build more practical plugin." msgstr "" -"ここまでで、前適合フェーズと後適合フェーズで動作するプラグインの基本を学びました。\n" +"ここまでで、アダプション・フェーズで動作するプラグインの基本を学びました。\n" "それでは、より実践的なプラグインを開発してみることにしましょう。" msgid "" Modified: _po/ja/tutorial/1.0.5/plugin-development/adapter/index.po (+15 -67) =================================================================== --- _po/ja/tutorial/1.0.5/plugin-development/adapter/index.po 2014-08-20 17:20:54 +0900 (da7d900) +++ _po/ja/tutorial/1.0.5/plugin-development/adapter/index.po 2014-08-20 17:23:18 +0900 (ba23ed9) @@ -9,55 +9,6 @@ msgstr "" "Plural-Forms: nplurals=1; plural=0;\n" msgid "" -"We sometime need to modify incoming requests from outside to Droonga Engine.\n" -"We can use a plugin for this purpose.\n" -"Let's see how to create a plugin for the adaption phase, in this section." -msgstr "" -"外部のシステムからDroonga Engineにやってくるリクエストを加工する必要がある場合があります。このようなときに、プラグインを利用できます。このセク" -"ションでは、どのようにしてアダプション・フェーズのプラグインをつくるのかをみていきます。" - -msgid "" -" * The `sample-logger` is the name of the plugin itself. You'll use it in your" -" `catalog.json`, to activate the plugin.\n" -" * As the example above, you must define your plugin as a module.\n" -" * Behaviors at the adaption phase is defined a class called *adapter*.\n" -" An adapter class must be defined as a subclass of the `Droonga::Adapter`, u" -"nder the namespace of the plugin module." -msgstr "" -" * `sample-logger`は、このプラグイン自身の名前です。これは`catalog.json`の中で、プラグインを有効化するために使う事になります" -"。\n" -" * 上記の例のように、プラグインはモジュールとして定義する必要があります。\n" -" * アダプション・フェーズでの振る舞いは、*アダプター*と呼ばれるクラスとして定義します。\n" -" アダプタークラスは必ず、プラグインのモジュールの名前空間の配下で、`Droonga::Adapter`のサブクラスとして定義する必要があります。" - -msgid "" -"Note: you must place `\"sample-logger\"` before `\"search\"`, because the `sample-" -"logger` plugin depends on the `search`. Droonga Engine applies plugins at the " -"adaption phase in the order defined in the `catalog.json`, so you must resolve" -" plugin dependencies by your hand (for now)." -msgstr "" -"注意:`\"sample-logger\"`は`\"search\"`よりも前に置く必要があります。これは、`sample-logger`プラグインが`search" -"`に依存しているからです。Droonga Engineはアダプション・フェーズにおいて、プラグインを`catalog.json`で定義された順に適用しますの" -"で、プラグイン同士の依存関係は(今のところは)自分で解決しなくてはなりません。" - -msgid "" -"Let's modify the result.\n" -"For example, add `completedAt` attribute that shows the time completed the req" -"uest.\n" -"Update your plugin as follows:" -msgstr "" -"結果を加工してみましょう。\n" -"例えば、リクエストに対する処理が完了した時刻を示す`completedAt`というアトリビュートを加えるとします。\n" -"プラグインを以下のように更新して下さい:" - -msgid "" -"We have learned the basics of plugins for the adaption phase so far.\n" -"Let's try to build more practical plugin." -msgstr "" -"ここまでで、アダプション・フェーズで動作するプラグインの基本を学びました。\n" -"それでは、より実践的なプラグインを開発してみることにしましょう。" - -msgid "" "---\n" "title: \"Plugin: Adapt requests and responses, to add a new command based on ot" "her existing commands\"\n" @@ -104,13 +55,11 @@ msgstr "まず`sample-logger`という簡単なロガープラグインを使っ msgid "" "We sometime need to modify incoming requests from outside to Droonga Engine.\n" -"We can use a plugin for this purpose." -msgstr "外部のシステムからDroonga Engineにやってくるリクエストを加工する必要がある場合があります。このようなときに、プラグインを利用できます。" - -msgid "" -"Let's see how to create a plugin for the *pre adaption phase*, in this section" -"." -msgstr "このセクションでは、どのようにして*前適合フェーズ*のプラグインを作るのかを見てみていきます。" +"We can use a plugin for this purpose.\n" +"Let's see how to create a plugin for the adaption phase, in this section." +msgstr "" +"外部のシステムからDroonga Engineにやってくるリクエストを加工する必要がある場合があります。このようなときに、プラグインを利用できます。このセク" +"ションでは、どのようにしてアダプション・フェーズのプラグインをつくるのかをみていきます。" msgid "### Directory Structure" msgstr "### ディレクトリの構造" @@ -202,14 +151,14 @@ msgid "" " * The `sample-logger` is the name of the plugin itself. You'll use it in your" " `catalog.json`, to activate the plugin.\n" " * As the example above, you must define your plugin as a module.\n" -" * Behaviors at the pre adaption phase is defined a class called *adapter*.\n" +" * Behaviors at the adaption phase is defined a class called *adapter*.\n" " An adapter class must be defined as a subclass of the `Droonga::Adapter`, u" "nder the namespace of the plugin module." msgstr "" " * `sample-logger`は、このプラグイン自身の名前です。これは`catalog.json`の中で、プラグインを有効化するために使う事になります" "。\n" " * 上記の例のように、プラグインはモジュールとして定義する必要があります。\n" -" * 前適合フェーズでの振る舞いは、*アダプター*と呼ばれるクラスとして定義します。\n" +" * アダプション・フェーズでの振る舞いは、*アダプター*と呼ばれるクラスとして定義します。\n" " アダプタークラスは必ず、プラグインのモジュールの名前空間の配下で、`Droonga::Adapter`のサブクラスとして定義する必要があります。" msgid "### Activate the plugin with `catalog.json`" @@ -241,12 +190,12 @@ msgstr "" msgid "" "Note: you must place `\"sample-logger\"` before `\"search\"`, because the `sample-" "logger` plugin depends on the `search`. Droonga Engine applies plugins at the " -"pre adaption phase in the order defined in the `catalog.json`, so you must res" -"olve plugin dependencies by your hand (for now)." +"adaption phase in the order defined in the `catalog.json`, so you must resolve" +" plugin dependencies by your hand (for now)." msgstr "" "注意:`\"sample-logger\"`は`\"search\"`よりも前に置く必要があります。これは、`sample-logger`プラグインが`search" -"`に依存しているからです。Droonga Engineは前適合フェーズにおいて、プラグインを`catalog.json`で定義された順に適用しますので、プラ" -"グイン同士の依存関係は(今のところは)自分で解決しなくてはなりません。" +"`に依存しているからです。Droonga Engineはアダプション・フェーズにおいて、プラグインを`catalog.json`で定義された順に適用しますの" +"で、プラグイン同士の依存関係は(今のところは)自分で解決しなくてはなりません。" msgid "### Run and test" msgstr "### 実行と動作を確認する" @@ -663,12 +612,12 @@ msgid "### Modify results in the adaption phase" msgstr "### 結果を適合フェーズで加工する" msgid "" -"Let's modify the result at the *post adaption phase*.\n" +"Let's modify the result.\n" "For example, add `completedAt` attribute that shows the time completed the req" "uest.\n" "Update your plugin as follows:" msgstr "" -"*後適合フェーズ*において、結果を加工してみましょう。\n" +"結果を加工してみましょう。\n" "例えば、リクエストに対する処理が完了した時刻を示す`completedAt`というアトリビュートを加えるとします。\n" "プラグインを以下のように更新して下さい:" @@ -751,11 +700,10 @@ msgid "## Adaption for both incoming and outgoing messages" msgstr "## 入出力メッセージの加工" msgid "" -"We have learned the basics of plugins for the pre adaption phase and the post " -"adaption phase so far.\n" +"We have learned the basics of plugins for the adaption phase so far.\n" "Let's try to build more practical plugin." msgstr "" -"ここまでで、前適合フェーズと後適合フェーズで動作するプラグインの基本を学びました。\n" +"ここまでで、アダプション・フェーズで動作するプラグインの基本を学びました。\n" "それでは、より実践的なプラグインを開発してみることにしましょう。" msgid "" -------------- next part -------------- HTML����������������������������... 下载