YUKI Hiroshi
null+****@clear*****
Mon Mar 3 18:01:49 JST 2014
YUKI Hiroshi 2014-03-03 18:01:49 +0900 (Mon, 03 Mar 2014) New Revision: af0b22625878b857fcb6740144a13ce35f7aa907 https://github.com/droonga/droonga.org/commit/af0b22625878b857fcb6740144a13ce35f7aa907 Message: Translate matghing-pattern reference (WIP) Modified files: _po/ja/reference/plugin/matching-pattern/index.po ja/reference/plugin/matching-pattern/index.md Modified: _po/ja/reference/plugin/matching-pattern/index.po (+13 -11) =================================================================== --- _po/ja/reference/plugin/matching-pattern/index.po 2014-03-03 17:46:42 +0900 (9f111ad) +++ _po/ja/reference/plugin/matching-pattern/index.po 2014-03-03 18:01:49 +0900 (517823e) @@ -31,18 +31,20 @@ msgid "" "alled *matching pattern*.\n" "It is used to specify target messages of various operations, ex. plugins." msgstr "" +"Droonga Engineはメッセージのパターンを指定するための小規模な言語を実装しています。これを*マッチングパターン*と呼びます。\n" +"マッチングパターンは、プラグインなどの様々な場所で処理対象のメッセージを指定するために使われます。" msgid "## Examples {#examples}" -msgstr "" +msgstr "## 例 {#examples}" msgid "### Simple matching" -msgstr "" +msgstr "### 単純なマッチング" msgid " pattern = [\"type\", :equal, \"search\"]" msgstr "" msgid "This matches to messages like:" -msgstr "" +msgstr "これは以下のようなメッセージにマッチします:" msgid "" " {\n" @@ -52,7 +54,7 @@ msgid "" msgstr "" msgid "### Matching for a deep target" -msgstr "" +msgstr "### 深い位置にある対象へのマッチング" msgid " pattern = [\"body.success\", :equal, true]" msgstr "" @@ -67,7 +69,7 @@ msgid "" msgstr "" msgid "Doesn't match to:" -msgstr "" +msgstr "以下にはマッチしません:" msgid "" " {\n" @@ -79,7 +81,7 @@ msgid "" msgstr "" msgid "### Nested patterns" -msgstr "" +msgstr "### パターン自体のネスト" msgid "" " pattern = [\n" @@ -90,7 +92,7 @@ msgid "" msgstr "" msgid "This matches to both:" -msgstr "" +msgstr "これは以下の両方にマッチします:" msgid "" " {\n" @@ -100,7 +102,7 @@ msgid "" msgstr "" msgid "and:" -msgstr "" +msgstr "および:" msgid "" " {\n" @@ -113,15 +115,15 @@ msgid "" msgstr "" msgid "## Syntax {#syntax}" -msgstr "" +msgstr "## 文法 {#syntax}" msgid "" "There are two typeos of matching patterns: \"basic pattern\" and \"nested pattern" "\"." -msgstr "" +msgstr "マッチングパターンには「基本パターン」と「ネストしたパターン」の2種類があります。" msgid "### Basic pattern {#syntax-basic}" -msgstr "" +msgstr "### 基本パターン {#syntax-basic}" msgid "#### Structure {#syntax-basic-structure}" msgstr "" Modified: ja/reference/plugin/matching-pattern/index.md (+13 -13) =================================================================== --- ja/reference/plugin/matching-pattern/index.md 2014-03-03 17:46:42 +0900 (14a18c3) +++ ja/reference/plugin/matching-pattern/index.md 2014-03-03 18:01:49 +0900 (80ceeb8) @@ -18,28 +18,28 @@ layout: ja ## 概要 {#abstract} -The Droonga Engine provides a tiny language to specify patterns of messages, called *matching pattern*. -It is used to specify target messages of various operations, ex. plugins. +Droonga Engineはメッセージのパターンを指定するための小規模な言語を実装しています。これを*マッチングパターン*と呼びます。 +マッチングパターンは、プラグインなどの様々な場所で処理対象のメッセージを指定するために使われます。 -## Examples {#examples} +## 例 {#examples} -### Simple matching +### 単純なマッチング pattern = ["type", :equal, "search"] -This matches to messages like: +これは以下のようなメッセージにマッチします: { "type": "search", ... } -### Matching for a deep target +### 深い位置にある対象へのマッチング pattern = ["body.success", :equal, true] -This matches to messages like: +これは以下のようなメッセージにマッチします: { "type": "add.result", @@ -48,7 +48,7 @@ This matches to messages like: } } -Doesn't match to: +以下にはマッチしません: { "type": "add.result", @@ -57,7 +57,7 @@ Doesn't match to: } } -### Nested patterns +### パターン自体のネスト pattern = [ ["type", :equal, "table_create"], @@ -65,14 +65,14 @@ Doesn't match to: ["body.success", :equal, true] ] -This matches to both: +これは以下の両方にマッチします: { "type": "table_create", ... } -and: +および: { "type": "column_create", @@ -85,9 +85,9 @@ and: ## 書式 {#syntax} -There are two typeos of matching patterns: "basic pattern" and "nested pattern". +マッチングパターンには「基本パターン」と「ネストしたパターン」の2種類があります。 -### Basic pattern {#syntax-basic} +### 基本パターン {#syntax-basic} #### Structure {#syntax-basic-structure} -------------- next part -------------- HTML����������������������������...Download