YUKI Hiroshi
null+****@clear*****
Mon Mar 3 18:24:58 JST 2014
YUKI Hiroshi 2014-03-03 18:24:58 +0900 (Mon, 03 Mar 2014) New Revision: 793e8af1f6709095a7a2bb4f7011e63b2437cc54 https://github.com/droonga/droonga.org/commit/793e8af1f6709095a7a2bb4f7011e63b2437cc54 Message: Translate matting patterns 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 (+35 -9) =================================================================== --- _po/ja/reference/plugin/matching-pattern/index.po 2014-03-03 18:15:28 +0900 (a851bc3) +++ _po/ja/reference/plugin/matching-pattern/index.po 2014-03-03 18:24:58 +0900 (4b4b769) @@ -154,7 +154,7 @@ msgid "#### Target path {#syntax-basic-target-path}" msgstr "#### ターゲットパス {#syntax-basic-target-path}" msgid "The target path is specified as a string, like:" -msgstr "" +msgstr "ターゲットパスは以下の文字列のような形で示します:" msgid " \"body.success\"" msgstr "" @@ -165,6 +165,9 @@ msgid "" "A path component represents the property in the message with same name.\n" "So, the example above means the location:" msgstr "" +"Droonga Engineのマッチング機構は、これをドットで区切られた *パスコンポーネント* のリストとして解釈します。\n" +"1つのパスコンポーネントはメッセージ中の同名のプロパティを表します。\n" +"よって、上記の例は以下の位置を示します:" msgid "" " {\n" @@ -175,10 +178,10 @@ msgid "" msgstr "" msgid "#### Avialable operators {#syntax-basic-operators}" -msgstr "" +msgstr "#### 利用可能な演算子 {#syntax-basic-operators}" msgid "The operator is specified as a symbol." -msgstr "" +msgstr "演算子はシンボルとして指定します。" msgid "" "`:equal`\n" @@ -186,11 +189,14 @@ msgid "" "false`.\n" " For example," msgstr "" +"`:equal`\n" +": ターゲットの値が与えられた値と等しい場合に `true` を返します。それ以外の場合は `false` を返します。\n" +" 例えば、" msgid " [\"type\", :equal, \"search\"]" msgstr "" -msgid " The pattern above matches to a message like following:" +msgid " 上記のパターンは以下のようなメッセージにマッチします:" msgstr "" msgid "" @@ -206,6 +212,9 @@ msgid "" "se `false`.\n" " For example," msgstr "" +"`:in`\n" +": ターゲットの値が与えられた配列の中に含まれている場合に `true` を返します。それ以外の場合は `false` を返します。\n" +" 例えば、" msgid " [\"type\", :in, [\"search\", \"select\"]]" msgstr "" @@ -217,7 +226,7 @@ msgid "" " }" msgstr "" -msgid " But it doesn't match to:" +msgid " しかし、以下にはマッチしません:" msgstr "" msgid "" @@ -234,6 +243,10 @@ msgid "" " In other words, this is the opposite of the `:in` operator.\n" " For example," msgstr "" +"`:include`\n" +": ターゲットの値の配列の中に指定された値が含まれている場合に `true` を返します。それ以外の場合は `false` を返します。\n" +" 言い換えると、これは `:in` 演算子の反対の働きをします。\n" +" 例えば、" msgid " [\"body.tags\", :include, \"News\"]" msgstr "" @@ -252,6 +265,9 @@ msgid "" ": Returns `true` if the target exists. Otherwise `false`.\n" " For example," msgstr "" +"`:exist`\n" +": ターゲットに指定された情報が存在する場合は `true` を返します。それ以外の場合は `false` を返します。\n" +" 例えば、" msgid " [\"body.comments\", :exist, \"News\"]" msgstr "" @@ -281,6 +297,9 @@ msgid "" "rwise `false`.\n" " For example," msgstr "" +"`:start_with`\n" +": ターゲットの文字列が指定された文字列で始まる場合に `true` を返します。それ以外の場合は `false` を返します。\n" +" 例えば、" msgid " [\"body.path\", :start_with, \"/archive/\"]" msgstr "" @@ -295,15 +314,15 @@ msgid "" msgstr "" msgid "### Nested pattern {#syntax-nested}" -msgstr "" +msgstr "### ネストしたパターン {#syntax-nested}" msgid "#### Structure {#syntax-nested-structure}" -msgstr "" +msgstr "#### 構造 {#syntax-nested-structure}" msgid "" "A nested pattern is described as an array including 3 elements, like following" ":" -msgstr "" +msgstr "ネストしたパターンは、以下のような3つの要素を持つ配列として表現されます:" msgid "" " [\n" @@ -318,21 +337,28 @@ msgid "" "ords, you can nest patterns recursively.)\n" " * The second element is a *logical operator*." msgstr "" +" * 最初の要素と最後の要素は基本パターンまたはネストしたパターンです。(言い換えると、ネストしたパターンは再帰的に書くことができます。)\n" +" * 2番目の要素は *論理演算子* です。" msgid "#### Avialable operators {#syntax-nested-operators}" -msgstr "" +msgstr "#### 利用可能な演算子 {#syntax-nested-operators}" msgid "" "`:and`\n" ": Returns `true` if both given patterns are evaluated as `true`. Otherwise `fa" "lse`." msgstr "" +"`:and`\n" +": 与えられた両方のパターンが `true` を返す場合に、`true` を返します。それ以外の場合は `false` を返します。" msgid "" "`:or`\n" ": Returns `true` if one of given patterns (the first or the third element) is " "evaluated as `true`. Otherwise `false`." msgstr "" +"`:or`\n" +": 与えられたパターン(1番目または3番目の要素)のいずれかまたは両方が `true` を返す場合に `true` を返します。それ以外の場合は `fals" +"e` を返します。" msgid " [message]:../../message/" msgstr "" Modified: ja/reference/plugin/matching-pattern/index.md (+25 -25) =================================================================== --- ja/reference/plugin/matching-pattern/index.md 2014-03-03 18:15:28 +0900 (d0ebac2) +++ ja/reference/plugin/matching-pattern/index.md 2014-03-03 18:24:58 +0900 (8e5bcbd) @@ -101,13 +101,13 @@ Droonga Engineはメッセージのパターンを指定するための小規模 #### ターゲットパス {#syntax-basic-target-path} -The target path is specified as a string, like: +ターゲットパスは以下の文字列のような形で示します: "body.success" -The matching mechanism of the Droonga Engine interprets it as a dot-separated list of *path components*. -A path component represents the property in the message with same name. -So, the example above means the location: +Droonga Engineのマッチング機構は、これをドットで区切られた *パスコンポーネント* のリストとして解釈します。 +1つのパスコンポーネントはメッセージ中の同名のプロパティを表します。 +よって、上記の例は以下の位置を示します: { "body": { @@ -118,13 +118,13 @@ So, the example above means the location: -#### Avialable operators {#syntax-basic-operators} +#### 利用可能な演算子 {#syntax-basic-operators} -The operator is specified as a symbol. +演算子はシンボルとして指定します。 `:equal` -: Returns `true`, if the target value is equal to the given value. Otherwise `false`. - For example, +: ターゲットの値が与えられた値と等しい場合に `true` を返します。それ以外の場合は `false` を返します。 + 例えば、 ["type", :equal, "search"] @@ -136,8 +136,8 @@ The operator is specified as a symbol. } `:in` -: Returns `true`, if the target value is in the given array of values. Otherwise `false`. - For example, +: ターゲットの値が与えられた配列の中に含まれている場合に `true` を返します。それ以外の場合は `false` を返します。 + 例えば、 ["type", :in, ["search", "select"]] @@ -156,9 +156,9 @@ The operator is specified as a symbol. } `:include` -: Returns `true` if the target array of values includes the given value. Otherwise `false`. - In other words, this is the opposite of the `:in` operator. - For example, +: ターゲットの値の配列の中に指定された値が含まれている場合に `true` を返します。それ以外の場合は `false` を返します。 + 言い換えると、これは `:in` 演算子の反対の働きをします。 + 例えば、 ["body.tags", :include, "News"] @@ -172,8 +172,8 @@ The operator is specified as a symbol. } `:exist` -: Returns `true` if the target exists. Otherwise `false`. - For example, +: ターゲットに指定された情報が存在する場合は `true` を返します。それ以外の場合は `false` を返します。 + 例えば、 ["body.comments", :exist, "News"] @@ -197,8 +197,8 @@ The operator is specified as a symbol. } `:start_with` -: Returns `true` if the target string value starts with the given string. Otherwise `false`. - For example, +: ターゲットの文字列が指定された文字列で始まる場合に `true` を返します。それ以外の場合は `false` を返します。 + 例えば、 ["body.path", :start_with, "/archive/"] @@ -212,11 +212,11 @@ The operator is specified as a symbol. } -### Nested pattern {#syntax-nested} +### ネストしたパターン {#syntax-nested} -#### Structure {#syntax-nested-structure} +#### 構造 {#syntax-nested-structure} -A nested pattern is described as an array including 3 elements, like following: +ネストしたパターンは、以下のような3つの要素を持つ配列として表現されます: [ ["type", :equal, "table_create"], @@ -224,16 +224,16 @@ A nested pattern is described as an array including 3 elements, like following: ["type", :equal, "column_create"] ] - * The first and the third elements are patterns, basic or nested. (In other words, you can nest patterns recursively.) - * The second element is a *logical operator*. + * 最初の要素と最後の要素は基本パターンまたはネストしたパターンです。(言い換えると、ネストしたパターンは再帰的に書くことができます。) + * 2番目の要素は *論理演算子* です。 -#### Avialable operators {#syntax-nested-operators} +#### 利用可能な演算子 {#syntax-nested-operators} `:and` -: Returns `true` if both given patterns are evaluated as `true`. Otherwise `false`. +: 与えられた両方のパターンが `true` を返す場合に、`true` を返します。それ以外の場合は `false` を返します。 `:or` -: Returns `true` if one of given patterns (the first or the third element) is evaluated as `true`. Otherwise `false`. +: 与えられたパターン(1番目または3番目の要素)のいずれかまたは両方が `true` を返す場合に `true` を返します。それ以外の場合は `false` を返します。 -------------- next part -------------- HTML����������������������������... ダウンロード