Преглед изворни кода

[DOCUMENTATION]Japanese sync

git-svn-id: http://framework.zend.com/svn/framework/standard/trunk@21307 44c647ce-9c0f-0410-b52a-842ac1e357ba
yoshida@zend.co.jp пре 16 година
родитељ
комит
6fa12e62d6

+ 49 - 1
documentation/manual/ja/module_specs/Zend_Validate-Db.xml

@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!-- Reviewed: no -->
-<!-- EN-Revision: 18417 -->
+<!-- EN-Revision: 21241 -->
 <sect2 id="zend.validate.Db">
     <title>Db_RecordExists および Db_NoRecordExists</title>
 
@@ -11,6 +11,54 @@
         指定した値のレコードが存在するかどうかを調べる手段を提供します。
     </para>
 
+    <!-- TODO : to be translated -->
+    <sect3 id="zend.validate.set.db.options">
+        <title>Supported options for Zend_Validate_Db_*</title>
+
+        <para>
+            The following options are supported for
+            <classname>Zend_Validate_Db_NoRecordExists</classname> and
+            <classname>Zend_Validate_Db_RecordExists</classname>:
+        </para>
+
+        <itemizedlist>
+            <listitem>
+                <para>
+                    <emphasis><property>adapter</property></emphasis>: The database adapter which
+                    will be used for the search.
+                </para>
+            </listitem>
+
+            <listitem>
+                <para>
+                    <emphasis><property>exclude</property></emphasis>: Sets records which will be
+                    excluded from the search.
+                </para>
+            </listitem>
+
+            <listitem>
+                <para>
+                    <emphasis><property>field</property></emphasis>: The database field within this
+                    table which will be searched for the record.
+                </para>
+            </listitem>
+
+            <listitem>
+                <para>
+                    <emphasis><property>schema</property></emphasis>: Sets the schema which will be
+                    used for the search.
+                </para>
+            </listitem>
+
+            <listitem>
+                <para>
+                    <emphasis><property>table</property></emphasis>: The table which will be
+                    searched for the record.
+                </para>
+            </listitem>
+        </itemizedlist>
+    </sect3>
+
     <sect3 id="zend.validate.db.basic-usage">
         <title>基本的な使用法</title>
 

+ 33 - 1
documentation/manual/ja/module_specs/Zend_Validate-InArray.xml

@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!-- Reviewed: no -->
-<!-- EN-Revision: 20794 -->
+<!-- EN-Revision: 21243 -->
 <sect2 id="zend.validate.set.in_array">
 
     <title>InArray</title>
@@ -11,6 +11,38 @@
         それは、多次元配列を確認することもできます。
     </para>
 
+    <!-- TODO : to be translated -->
+    <sect3 id="zend.validate.set.in_array.options">
+        <title>Supported options for Zend_Validate_InArray</title>
+
+        <para>
+            The following options are supported for <classname>Zend_Validate_InArray</classname>:
+        </para>
+
+        <itemizedlist>
+            <listitem>
+                <para>
+                    <emphasis><property>haystack</property></emphasis>: Sets the haystack for the
+                    validation.
+                </para>
+            </listitem>
+
+            <listitem>
+                <para>
+                    <emphasis><property>recursive</property></emphasis>: Defines if the validation
+                    should be done recursive. This option defaults to <constant>FALSE</constant>.
+                </para>
+            </listitem>
+
+            <listitem>
+                <para>
+                    <emphasis><property>strict</property></emphasis>: Defines if the validation
+                    should be done strict. This option defaults to <constant>FALSE</constant>.
+                </para>
+            </listitem>
+        </itemizedlist>
+    </sect3>
+
     <sect3 id="zend.validate.set.in_array.basic">
         <title>単純な配列の検証</title>
 

+ 26 - 1
documentation/manual/ja/module_specs/Zend_Validate-Ip.xml

@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!-- Reviewed: no -->
-<!-- EN-Revision: 20794 -->
+<!-- EN-Revision: 21243 -->
 <sect2 id="zend.validate.set.ip">
 
     <title>Ip</title>
@@ -11,6 +11,31 @@
         これは IPv4 及び IPv6 標準をサポートします。
     </para>
 
+    <!-- TODO : to be translated -->
+    <sect3 id="zend.validate.set.ip.options">
+        <title>Supported options for Zend_Validate_Ip</title>
+
+        <para>
+            The following options are supported for <classname>Zend_Validate_Ip</classname>:
+        </para>
+
+        <itemizedlist>
+            <listitem>
+                <para>
+                    <emphasis><property>allowipv4</property></emphasis>: Defines if the validator
+                    allows IPv4 adresses. This option defaults to <constant>TRUE</constant>.
+                </para>
+            </listitem>
+
+            <listitem>
+                <para>
+                    <emphasis><property>allowipv6</property></emphasis>: Defines if the validator
+                    allows IPv6 adresses. This option defaults to <constant>TRUE</constant>.
+                </para>
+            </listitem>
+        </itemizedlist>
+    </sect3>
+
     <sect3 id="zend.validate.set.ip.basic">
         <title>基本的な使用法</title>
 

+ 8 - 8
documentation/manual/ja/module_specs/Zend_Validate-Messages.xml

@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!-- Reviewed: no -->
-<!-- EN-Revision: 20352 -->
+<!-- EN-Revision: 21213 -->
 <sect1 id="zend.validate.messages">
 
     <title>検証メッセージ</title>
@@ -60,8 +60,8 @@ $validator->setMessage('Please enter a lower value', Zend_Validate_GreaterThan::
 
         <para>
             Zend Framework is shipped with more than 45 different validators with more than 200
-            failure messages. It can be a tendious task to translate all of these messages. But for
-            your convinience Zend Framework comes with already pre-translated validation messages.
+            failure messages. It can be a tedious task to translate all of these messages. But for
+            your convenience Zend Framework comes with already pre-translated validation messages.
             You can find them within the path <filename>/resources/languages</filename> in your
             Zend Framework installation.
         </para>
@@ -76,7 +76,7 @@ $validator->setMessage('Please enter a lower value', Zend_Validate_GreaterThan::
         </note>
 
         <para>
-            So to translate all validation messages to german for example, all you have to do is to
+            So to translate all validation messages to German for example, all you have to do is to
             attach a translator to <classname>Zend_Validate</classname> using these resource files.
         </para>
 
@@ -85,7 +85,7 @@ $translator = new Zend_Translate(
     'array',
     '/resources/languages',
     $language,
-    array('scan' => Zend_Locale::LOCALE_DIRECTORY)
+    array('scan' => Zend_Translate::LOCALE_DIRECTORY)
 );
 Zend_Validate_Abstract::setDefaultTranslator($translator);
 ]]></programlisting>
@@ -94,7 +94,7 @@ Zend_Validate_Abstract::setDefaultTranslator($translator);
             <title>Used translation adapter</title>
 
             <para>
-                As translation adapter Zend Framework choosed the array adapter. It is simple to
+                As translation adapter Zend Framework chose the array adapter. It is simple to
                 edit and created very fast.
             </para>
         </note>
@@ -146,8 +146,8 @@ Zend_Validate::setMessageLength(100);
 ]]></programlisting>
 
         <note>
-            <!-- TODO : to be translated -->
-            <title>Where is this parameter used?</title>
+            <title>このパラメータはどこで使われますか?</title>
+
             <para>
                 ここで設定したメッセージ長はすべてのバリデータで使われます。
                 自前で定義したバリデータでさえも、それが <classname>Zend_Validate_Abstract</classname>

+ 10 - 34
documentation/manual/ja/module_specs/Zend_Validate-Set.xml

@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!-- Reviewed: no -->
-<!-- EN-Revision: 21047 -->
+<!-- EN-Revision: 21259 -->
 <sect1 id="zend.validate.set" xmlns:xi="http://www.w3.org/2001/XInclude">
 
     <title>標準のバリデーションクラス群</title>
@@ -40,18 +40,9 @@
         <xi:fallback><xi:include href="../../en/module_specs/Zend_Validate-Barcode.xml" /></xi:fallback>
     </xi:include>
 
-    <sect2 id="zend.validate.set.between">
-        <title>Between</title>
-
-        <para>
-            <code>$value</code> が最小値と最大値の間にある場合にのみ <constant>TRUE</constant> を返します。
-            デフォルトでは、両端の値も含めて比較します
-            (<code>$value</code> が境界値と等しくてもかまいません)
-            が、strict オプションを変更して、<code>$value</code> が最小値より大きくて最大値より小さい
-            (最小値と最大値は含まない) とすることもできます。
-        </para>
-    </sect2>
-
+    <xi:include href="Zend_Validate-Between.xml">
+        <xi:fallback><xi:include href="../../en/module_specs/Zend_Validate-Between.xml" /></xi:fallback>
+    </xi:include>
     <xi:include href="Zend_Validate-Callback.xml">
         <xi:fallback><xi:include href="../../en/module_specs/Zend_Validate-Callback.xml" /></xi:fallback>
     </xi:include>
@@ -62,11 +53,6 @@
     <sect2 id="zend.validate.set.ccnum">
         <title>Ccnum</title>
 
-        <para>
-            <code>$value</code> が Luhn アルゴリズム (10 で割ったあまりのチェックサム)
-            を満たすクレジットカード番号である場合にのみ <constant>TRUE</constant> を返します。
-        </para>
-
         <note>
             <para>
                 <classname>Ccnum</classname> バリデータは、
@@ -115,14 +101,9 @@
         </para>
     </sect2>
 
-    <sect2 id="zend.validate.set.greater_than">
-        <title>GreaterThan</title>
-
-        <para>
-            <code>$value</code> が最小値よりも大きい場合にのみ <constant>TRUE</constant> を返します。
-        </para>
-    </sect2>
-
+    <xi:include href="Zend_Validate-GreaterThan.xml">
+        <xi:fallback><xi:include href="../../en/module_specs/Zend_Validate-GreaterThan.xml" /></xi:fallback>
+    </xi:include>
     <xi:include href="Zend_Validate-Hex.xml">
         <xi:fallback><xi:include href="../../en/module_specs/Zend_Validate-Hex.xml" /></xi:fallback>
     </xi:include>
@@ -204,14 +185,9 @@ if ($validator->isValid($iban)) {
         <xi:fallback><xi:include href="../../en/module_specs/Zend_Validate-Isbn.xml" /></xi:fallback>
     </xi:include>
 
-    <sect2 id="zend.validate.set.less_than">
-        <title>LessThan</title>
-
-        <para>
-            <code>$value</code> が最大値よりも小さい場合にのみ <constant>TRUE</constant> を返します。
-        </para>
-    </sect2>
-
+    <xi:include href="Zend_Validate-LessThan.xml">
+        <xi:fallback><xi:include href="../../en/module_specs/Zend_Validate-LessThan.xml" /></xi:fallback>
+    </xi:include>
     <xi:include href="Zend_Validate-NotEmpty.xml">
         <xi:fallback><xi:include href="../../en/module_specs/Zend_Validate-NotEmpty.xml" /></xi:fallback>
     </xi:include>

+ 9 - 1
documentation/manual/ja/module_specs/Zend_Validate-Sitemap.xml

@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!-- Reviewed: no -->
-<!-- EN-Revision: 20794 -->
+<!-- EN-Revision: 21263 -->
 <sect2 id="zend.validate.sitemap">
     <title>サイトマップ・バリデータ</title>
 
@@ -100,4 +100,12 @@ $validator->isValid('foo'); // false
 ]]></programlisting>
         </example>
     </sect3>
+
+    <sect3 id="zend.validate.set.sitemap.options">
+        <title>Zend_Validate_Sitemap_* でサポートされるオプション</title>
+
+        <para>
+            サイトマップ・バリデータのいずれもサポートするオプションはありません。
+        </para>
+    </sect3>
 </sect2>

+ 1 - 1
documentation/manual/ja/module_specs/Zend_Validate.xml

@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!-- Reviewed: no -->
-<!-- EN-Revision: 20115 -->
+<!-- EN-Revision: 21194 -->
 <sect1 id="zend.validate.introduction">
 
     <title>導入</title>