Parcourir la source

[DOCUMENTATION]Japanese sync

git-svn-id: http://framework.zend.com/svn/framework/standard/trunk@20757 44c647ce-9c0f-0410-b52a-842ac1e357ba
yoshida@zend.co.jp il y a 16 ans
Parent
commit
419c4d8bd1

+ 216 - 1
documentation/manual/ja/module_specs/Zend_Cache-Backends.xml

@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!-- Reviewed: no -->
-<!-- EN-Revision: 17749 -->
+<!-- EN-Revision: 20756 -->
 <sect1 id="zend.cache.backends">
     <title><classname>Zend_Cache</classname> のバックエンド</title>
     <para>
@@ -492,6 +492,221 @@ $cache = Zend_Cache::factory('Core', 'Zend_Cache_Backend_ZendServer_Disk',
             このバックエンドにはオプションはありません。
         </para>
     </sect2>
+
+    <!-- TODO : to be translated -->
+    <sect2 id="zend.cache.backends.static">
+        <title>Zend_Cache_Backend_Static</title>
+        <para>
+            This backend works in concert with <classname>
+            Zend_Cache_Frontend_Capture</classname> (the two must be used
+            together) to save the output from requests as static files. This
+            means the static files are served directly on subsequent requests
+            without any involvement of PHP or the Zend Framework at all.
+        </para>
+        <para>
+            The benefits of this cache include a large throughput increase since
+            all subsequent requests return the static file and don't need any
+            dynamic processing. Of course this also has some disadvantages. The
+            only way to retry the dynamic request is to purge the cached file
+            from elsewhere in the application (or via a cronjob if timed). It
+            is also restricted to single-server applications where only one
+            filesystem is used. Nevertheless, it can be a powerful means of
+            getting more performance without incurring the cost of a proxy on
+            single machines.
+        </para>
+        <para>
+            Before describing its options, you should note this needs some
+            changes to the default .htaccess file in order for requests to be
+            directed to the static files if they exist. Here's an example of
+            a simple application caching some content, including two specific
+            feeds which need additional treatment to serve a correct
+            Content-Type header:
+        </para>
+        <programlisting language="text"><![CDATA[
+AddType application/rss+xml .xml
+AddType application/atom+xml .xml
+
+RewriteEngine On
+
+RewriteCond %{REQUEST_URI} feed/rss$
+RewriteCond %{DOCUMENT_ROOT}/cached/%{REQUEST_URI}.xml -f
+RewriteRule .* cached/%{REQUEST_URI}.xml [L,T=application/rss+xml]
+
+RewriteCond %{REQUEST_URI} feed/atom$
+RewriteCond %{DOCUMENT_ROOT}/cached/%{REQUEST_URI}.xml -f
+RewriteRule .* cached/%{REQUEST_URI}.xml [L,T=application/atom+xml]
+
+RewriteCond %{DOCUMENT_ROOT}/cached/index.html -f
+RewriteRule ^/*$ cached/index.html [L]
+RewriteCond %{DOCUMENT_ROOT}/cached/%{REQUEST_URI}.(html|xml|json|opml|svg) -f
+RewriteRule .* cached/%{REQUEST_URI}.%1 [L]
+
+RewriteCond %{REQUEST_FILENAME} -s [OR]
+RewriteCond %{REQUEST_FILENAME} -l [OR]
+RewriteCond %{REQUEST_FILENAME} -d
+RewriteRule ^.*$ - [NC,L]
+
+RewriteRule ^.*$ index.php [NC,L]
+]]></programlisting>
+        <para>
+            The above assumes static files are cached to the directory ./public/cached.
+            We'll cover the option setting this location, "public_dir", below.
+        </para>
+        <para>
+            Due to the nature of static file caching, the backend class offers two
+            additional methods: <methodname>remove()</methodname> and <methodname>
+            removeRecursively()</methodname>. Both accept a request URI, which when
+            mapped to the "public_dir" where static files are cached, and has a
+            pre-stored extension appended, provides the name of either a static
+            file to delete, or a directory path to delete recursively. Due to the
+            restraints of <classname>Zend_Cache_Backend_Interface</classname>, all
+            other methods such as <classname>save()</classname> accept an ID which
+            is calculated by applying bin2hex() to a request URI.
+        </para>
+        <para>
+            Given the level at which static caching operates, static file caching
+            is addressed for simpler use with the <classname>
+            Zend_Controller_Action_Helper_Cache</classname> action helper. This helper
+            assists in setting which actions of a controller to cache, with what tags,
+            and with which extension. It also offers methods for purging the cache by
+            request URI or tag. Static file caching is also assisted by <classname>
+            Zend_Cache_Manager</classname> which includes pre-configured configuration
+            templates for a static cache (as Zend_Cache_Manager::PAGECACHE or "page").
+            The defaults therein can be configured as needed to set up a "public_dir"
+            location for caching, etc.
+        </para>
+        <note>
+            <para>
+                It should be noted that the static cache actually uses a secondary
+                cache to store tags (obviously we can't store them elsewhere since
+                a static cache does not invoke PHP if working correctly). This is
+                just a standard Core cache, and should use a persistent backend such
+                as File or TwoLevels (to take advantage of memory storage without
+                sacrificing permanent persistance). The backend includes the option
+                "tag_cache" to set this up (it is obligatory), or the <methodname>
+                setInnerCache()</methodname> method.
+            </para>
+        </note>
+        <table id="zend.cache.backends.static.table">
+            <title>Static Backend Options</title>
+            <tgroup cols="4">
+                 <thead>
+                      <row>
+                        <entry>Option</entry>
+                        <entry>Data Type</entry>
+                        <entry>Default Value</entry>
+                        <entry>Description</entry>
+                    </row>
+                 </thead>
+                 <tbody>
+                      <row>
+                          <entry><emphasis>public_dir</emphasis></entry>
+                          <entry><type>String</type></entry>
+                          <entry>NULL</entry>
+                          <entry>
+                              Directory where to store static files. This must exist
+                              in your public directory.
+                          </entry>
+                      </row>
+                      <row>
+                          <entry><emphasis>file_locking</emphasis></entry>
+                          <entry><type>Boolean</type></entry>
+                          <entry><constant>TRUE</constant></entry>
+                          <entry>
+                            Enable or disable file_locking : Can avoid cache corruption under
+                            bad circumstances but it doesn't help on multithread webservers
+                            or on <acronym>NFS</acronym> filesystems...
+                          </entry>
+                      </row>
+                      <row>
+                          <entry><emphasis>read_control</emphasis></entry>
+                          <entry><type>Boolean</type></entry>
+                          <entry><constant>TRUE</constant></entry>
+                          <entry>
+                            Enable / disable read control : if enabled, a control key is
+                            embedded in the cache file and this key is compared with the
+                            one calculated after the reading.
+                          </entry>
+                      </row>
+                      <row>
+                          <entry><emphasis>read_control_type</emphasis></entry>
+                          <entry><type>String</type></entry>
+                          <entry>'crc32'</entry>
+                          <entry>
+                            Type of read control (only if read control is enabled). Available values
+                            are : 'md5' (best but slowest), 'crc32' (lightly less safe but faster,
+                            better choice), 'adler32' (new choice, faster than crc32),
+                            'strlen' for a length only test (fastest).
+                        </entry>
+                      </row>
+                      <row>
+                          <entry><emphasis>cache_file_umask</emphasis></entry>
+                          <entry><type>Integer</type></entry>
+                          <entry>0700</entry>
+                          <entry>
+                              umask for cached files.
+                          </entry>
+                      </row>
+                      <row>
+                          <entry><emphasis>cache_directory_umask</emphasis></entry>
+                          <entry><type>Integer</type></entry>
+                          <entry>0700</entry>
+                          <entry>
+                              Umask for directories created within public_dir.
+                        </entry>
+                      </row>
+                      
+                      <row>
+                          <entry><emphasis>file_extension</emphasis></entry>
+                          <entry><type>String</type></entry>
+                          <entry>'.html'</entry>
+                          <entry>
+                              Default file extension for static files created. This
+                              can be configured on the fly, see <methodname>
+                              Zend_Cache_Backend_Static::save()</methodname> though
+                              generally it's recommended to rely on <classname>
+                              Zend_Controller_Action_Helper_Cache</classname> when
+                              doing so since it's simpler that way than messing with
+                              arrays/serialization manually.
+                          </entry>
+                      </row>
+                      <row>
+                          <entry><emphasis>index_filename</emphasis></entry>
+                          <entry><type>String</type></entry>
+                          <entry>'index'</entry>
+                          <entry>
+                              If a request URI does not contain sufficient information
+                              to construct a static file (usually this means an index
+                              call, e.g. URI of '/'), the index_filename is used instead.
+                              So '' or '/' would map to 'index.html' (assuming the default
+                              file_extension is '.html').
+                          </entry>
+                      </row>
+                      <row>
+                          <entry><emphasis>tag_cache</emphasis></entry>
+                          <entry><type>Object</type></entry>
+                          <entry>NULL</entry>
+                          <entry>
+                              Used to set an 'inner' cache utilised to store tags
+                              and file extensions associated with static files. This
+                              MUST be set or the static cache cannot be tracked and
+                              managed.
+                          </entry>
+                      </row>
+                      <row>
+                          <entry><emphasis>disable_caching</emphasis></entry>
+                          <entry><type>Boolean</type></entry>
+                          <entry>FALSE</entry>
+                          <entry>
+                              If set to TRUE, static files will not be cached. This
+                              will force all requests to be dynamic even if marked
+                              to be cached in Controllers. Useful for debugging.
+                          </entry>
+                      </row>
+                  </tbody>
+              </tgroup>
+          </table>
+    </sect2>
 </sect1>
 <!--
 vim:se ts=4 sw=4 et:

+ 18 - 3
documentation/manual/ja/module_specs/Zend_Cache-Frontends.xml

@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!-- Reviewed: no -->
-<!-- EN-Revision: 17136 -->
+<!-- EN-Revision: 20725 -->
 <sect1 id="zend.cache.frontends">
     <title><classname>Zend_Cache</classname> のフロントエンド</title>
 
@@ -282,7 +282,7 @@ if (!($cache->start('mypage'))) {
 echo 'これはキャッシュされません ('.time().').';
 ]]></programlisting>
             <para>
-                この形式を使用すると、既存のプロジェクトに簡単に出力キャッシュ処理を追加することができます。
+                この形式を使用すると、既存のプロジェクトに簡単に出力キャッシュ処理を追加できます。
                 コードのリファクタリングもほとんど行わずにすませられるでしょう。
             </para>
         </sect3>
@@ -497,7 +497,7 @@ $result = $cache->foobar2('1', '2');
                 <classname>Zend_Cache_Frontend_File</classname> を使用すると、その「設定オブジェクト」
                 をキャッシュすることができ (これにより、
                 <acronym>XML</acronym> ファイルを毎回パースする必要がなくなります)、さらに「マスタファイル」
-                との間で強力な依存性を保持することができます。そのため、<acronym>XML</acronym>
+                との間で強力な依存性を保持できます。そのため、<acronym>XML</acronym>
                 設定ファイルが更新されると、即時にキャッシュが無効になります。
             </para>
         </sect3>
@@ -592,6 +592,21 @@ $result = $cache->foobar2('1', '2');
                 (キャッシュにヒットし、かつブラウザがそのバージョンを既に持っている場合に
                 <acronym>HTTP</acronym> 304 Not Modified を送信するようにします)。
             </para>
+            <!-- TODO : to be translated -->
+            <note>
+                <para>
+                    This frontend operates by registering a callback function to be called
+                    when the output buffering it uses is cleaned. In order for this to operate
+                    correctly, it must be the final output buffer in the request. To guarantee
+                    this, the output buffering used by the Dispatcher needs to be disabled by
+                    calling <classname>Zend_Controller_Front</classname>'s <methodname>setParam()
+                    </methodname> method, for example, $front->setParam('disableOutputBuffering',
+                    true) or adding
+                    "resources.frontcontroller.params.disableOutputBuffering = true"
+                    to your bootstrap configuration file (assumed INI) if using
+                    <classname>Zend_Application</classname>.
+                </para>
+            </note>
         </sect3>
         <sect3 id="zend.cache.frontends.page.options">
             <title>使用可能なオプション</title>

+ 15 - 11
documentation/manual/ja/module_specs/Zend_Controller-Router-Route-Rest.xml

@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!-- Reviewed: no -->
-<!-- EN-Revision: 20078 -->
+<!-- EN-Revision: 20497 -->
 <sect3 id="zend.controller.router.routes.rest">
     <title>Zend_Rest_Route</title>
 
@@ -57,12 +57,12 @@
                 </row>
                 <row>
                     <entry><constant>POST</constant></entry>
-                    <entry><filename>/product/ratings/:id?_method="PUT"</filename></entry>
+                    <entry><filename>/product/ratings/:id?_method=PUT</filename></entry>
                     <entry><methodname>Product_RatingsController::putAction()</methodname></entry>
                 </row>
                 <row>
                     <entry><constant>POST</constant></entry>
-                    <entry><filename>/product/ratings/:id?_method="DELETE"</filename></entry>
+                    <entry><filename>/product/ratings/:id?_method=DELETE</filename></entry>
                     <entry>
                         <methodname>Product_RatingsController::deleteAction()</methodname>
                     </entry>
@@ -124,7 +124,7 @@ $front->getRouter()->addRoute('rest', $restRoute);
         <title>Zend_Rest_Route with Zend_Config_Ini</title>
 
     <para>
-        To use Zend_Rest_Route from an INI config file, use a route type
+        To use <classname>Zend_Rest_Route</classname> from an <acronym>INI</acronym> config file, use a route type
         parameter and set the config options:
     </para>
 
@@ -134,14 +134,18 @@ routes.rest.defaults.controller = object
 routes.rest.mod = project,user
 ]]></programlisting>
 
-    <para>The 'type' option designates the RESTful routing config type.
-    The 'defaults' option is used to specify custom default
-    module, controller, and/or actions for the route. All other options
-    in the config group are treated as RESTful module names, and their
-    values are RESTful controller names. The example config defines
-    Mod_ProjectController and Mod_UserController as RESTful controllers.</para>
+    <para>
+        The 'type' option designates the RESTful routing config type.
+        The 'defaults' option is used to specify custom default
+        module, controller, and/or actions for the route. All other options
+        in the config group are treated as RESTful module names, and their
+        values are RESTful controller names. The example config defines
+        <classname>Mod_ProjectController</classname> and <classname>Mod_UserController</classname> as RESTful controllers.
+    </para>
 
-    <para>Then use the addConfig() method of the Rewrite router object:</para>
+    <para>
+        Then use the <methodname>addConfig()</methodname> method of the Rewrite router object:
+    </para>
 
     <programlisting language="php"><![CDATA[
 $config = new Zend_Config_Ini('path/to/routes.ini');

+ 31 - 31
documentation/manual/ja/module_specs/Zend_Dojo-Form-Decorators.xml

@@ -1,44 +1,44 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!-- Reviewed: no -->
-<!-- EN-Revision: 17134 -->
+<!-- EN-Revision: 20176 -->
 <sect2 id="zend.dojo.form.decorators">
-    <title>Dijitに特有のフォーム・デコレーター</title>
+    <title>Dijit に特有のフォーム・デコレーター</title>
 
     <para>
-        大部分のフォーム要素はDijit要素デコレーター
-        (要素からdijitパラメータをとって来ます)
+        大部分のフォーム要素は Dijit 要素デコレーター
+        (要素から dijit パラメータをとって来ます)
         を使うことができ、
         要素で特定されたビュー・ヘルパーに、
-        これらと他のメタデータを渡すことができます。
+        これらと他のメタデータを渡ます。
         しかしながら、フォームやサブ・フォーム及び表示グループをデコレートするために、
-        いろいろなレイアウトdijitsに該当するデコレーターのセットがあります。
+        いろいろなレイアウト dijits に該当するデコレーターのセットがあります。
     </para>
 
     <para>
         dijitデコレーターの全てで、
-        デコレートされた与えられた要素の<code>dijitParams</code>プロパティを探して、
-        <varname>$params</varname>配列として使用されるdijitビュー・ヘルパーに押し付けます;
+        デコレートされた与えられた要素の <property>dijitParams</property> プロパティを探して、
+        <varname>$params</varname> 配列として使用される dijit ビュー・ヘルパーに押し付けます;
         それから、情報の重複が起こらないように、これらは他のどの特性からも分離されます。
     </para>
 
     <sect3 id="zend.dojo.form.decorators.dijitElement">
-        <title>Dijit要素デコレーター</title>
+        <title>Dijit 要素デコレーター</title>
 
         <para>
-            ちょうど<link linkend="zend.form.standardDecorators.viewHelper">Viewヘルパ・デコレーター</link>のように、
+            ちょうど <link linkend="zend.form.standardDecorators.viewHelper">View ヘルパ・デコレーター</link>のように、
             レンダリングのときにビュー・ヘルパーとして使用される要素で、
-            Dijit要素は<code>helper</code>プロパティを予期します。
-            Dijitパラメータは一般的に直接要素から引き出されますが、
-            <code>dijitParams</code>キー(そのキーの値は、任意の連想配列でしょう)による、
+            Dijit 要素は <property>helper</property> プロパティを予期します。
+            Dijit パラメータは一般的に直接要素から引き出されますが、
+            <property>dijitParams</property> キー(そのキーの値は、任意の連想配列でしょう)による、
             オプションとして渡されるかもしれません。
         </para>
 
         <para>
-            各々の要素がユニークなID(要素の<methodname>getId()</methodname>メソッドから取得されるように)
+            各々の要素がユニークな ID (要素の <methodname>getId()</methodname> メソッドから取得されるように)
             を持つことは、重要です。
-            繰り返しが<methodname>dojo()</methodname>ビュー・ヘルパーの範囲内で検出されるならば、
+            繰り返しが <methodname>dojo()</methodname> ビュー・ヘルパーの範囲内で検出されるならば、
             デコレーターは通知の引き金を引いて、
-            識別子に<methodname>uniqid()</methodname>からの戻りを追加することによってユニークなIDを作成します。
+            識別子に <methodname>uniqid()</methodname> からの戻りを追加することによってユニークな ID を作成します。
         </para>
 
         <para>
@@ -48,7 +48,7 @@
         </para>
 
         <example id="zend.dojo.form.decorators.dijitElement.usage">
-            <title>Dijit要素デコレーターの使用法</title>
+            <title>Dijit 要素デコレーターの使用法</title>
 
             <programlisting language="php"><![CDATA[
 $element->setDecorators(array(
@@ -62,39 +62,39 @@ $element->setDecorators(array(
     </sect3>
 
     <sect3 id="zend.dojo.form.decorators.dijitForm">
-        <title>Dijitフォーム・デコレーター</title>
+        <title>Dijit フォーム・デコレーター</title>
 
         <para>
-            Dijitフォーム・デコレーターは、
+            Dijit フォーム・デコレーターは、
             <link linkend="zend.form.standardDecorators.form">フォーム・デコレーター</link>と非常に似ています;
             実際、それが
-            同じビュー・ヘルパー名 ('form')を利用するので、実際、基本的に入れ替えて使うことができます。
+            同じビュー・ヘルパー名 ('form') を利用するので、実際、基本的に入れ替えて使うことができます。
         </para>
 
         <para>
-            設定のためにdijit.form.Formは少しもdijitパラメータを必要としないので、
-            プログラムされたdijitの生成が確実に機能できるように、
-            DOM IDが渡されるdijitフォーム・ビュー・ヘルパーが必要とすることが主な違いです。
+            設定のために <command>dijit.form.Form</command> は少しも dijit パラメータを必要としないので、
+            プログラムされた dijit の生成が確実に機能できるように、
+            <acronym>DOM</acronym> ID が渡される dijit フォーム・ビュー・ヘルパーが必要とすることが主な違いです。
             識別子としてフォーム名を渡すことによって、デコレーターはこれを確実にします。
         </para>
     </sect3>
 
     <sect3 id="zend.dojo.form.decorators.dijitContainer">
-        <title>DijitContainerベースのデコレーター</title>
+        <title>DijitContainer ベースのデコレーター</title>
 
         <para>
-            <code>DijitContainer</code>デコレーターは、実は、
+            <classname>DijitContainer</classname> デコレーターは、実は、
             いろいろな他のデコレーターが由来する抽象クラスです。
-            タイトル・サポートの追加で、それは<link
-                linkend="zend.dojo.form.decorators.dijitElement">Dijit要素</link>の同じ機能を提供します。
-            多くのレイアウトdijitはタイトルを要求するか、利用することができます;
-            利用できるのであれば、DijitContainerは要素の説明プロパティを利用して、
+            タイトル・サポートの追加で、それは <link
+                linkend="zend.dojo.form.decorators.dijitElement">Dijit要素</link> の同じ機能を提供します。
+            多くのレイアウト dijit はタイトルを要求するか、利用できます;
+            利用できるのであれば、 DijitContainer は要素の説明プロパティを利用して、
             渡されるならば、 'legend' もしくは 'title' デコレーター・オプションのどちらかを利用することもできます。
             対応する翻訳による翻訳アダプターが存在するならば、タイトルは翻訳されます。
         </para>
 
         <para>
-            以下は、<code>DijitContainer</code>から継承するデコレーターの一覧です:
+            以下は、 <classname>DijitContainer</classname> から継承するデコレーターの一覧です:
         </para>
 
         <itemizedlist>
@@ -108,7 +108,7 @@ $element->setDecorators(array(
         </itemizedlist>
 
         <example id="zend.dojo.form.decorators.dijitContainer.usage">
-            <title>Dijitコンテナ・デコレーター使用法</title>
+            <title>Dijit コンテナ・デコレーター使用法</title>
 
             <programlisting language="php"><![CDATA[
 // フォームで TabContainer を使う:

+ 23 - 23
documentation/manual/ja/module_specs/Zend_File_Transfer-Validators.xml

@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!-- Reviewed: no -->
-<!-- EN-Revision: 17685 -->
+<!-- EN-Revision: 20115 -->
 <sect1 id="zend.file.transfer.validators">
 
     <title>Zend_File_Transfer 用のバリデータ</title>
@@ -66,14 +66,14 @@
                 <code>FilesSize</code>: このバリデータはすべてのファイルのサイズをチェックします。
                 すべてのファイルのサイズを内部的に記憶し、
                 その合計が制限値を超えた場合にエラーをスローします。
-                サイズの最小値と最大値を指定することができます。
+                サイズの最小値と最大値を指定できます。
             </para>
         </listitem>
 
         <listitem>
             <para>
                 <code>ImageSize</code>: このバリデータは画像のサイズをチェックします。
-                幅と高さについて、最小値と最大値を検証することができます。
+                幅と高さについて、最小値と最大値を検証できます。
             </para>
         </listitem>
 
@@ -271,7 +271,7 @@ $upload->setValidators(array(
             <para>
                 <methodname>addValidator()</methodname>、<methodname>addValidators()</methodname> および
                 <methodname>setValidators()</methodname> は、それぞれ最後の引数
-                <code>$files</code> を指定することができます。
+                <code>$files</code> を指定できます。
                 この引数にはファイル名あるいはファイル名の配列を指定し、
                 指定したファイルに対してのみバリデータを設定します。
             </para>
@@ -287,7 +287,7 @@ $upload->addValidator('Size', false, 20000, 'file2');
         <para>
             一般的には、単純に <methodname>addValidators()</methodname>
             メソッドをコールすることになるでしょう。
-            これは何度でもコールすることができます。
+            これは何度でもコールできます。
         </para>
 
         <example id="zend.file.transfer.validators.usage.examplemultiple">
@@ -361,7 +361,7 @@ if ($upload->isValid()) {
             検証に失敗した場合は、何が問題だったのかについての情報を取得したくなることでしょう。
             <methodname>getMessages()</methodname> を使うとすべての検証メッセージを配列で取得できます。
             また <methodname>getErrors()</methodname> はすべてのエラーコードを返し、
-            <methodname>hasErrors()</methodname> は検証エラーが見つかった時点で true を返します。
+            <methodname>hasErrors()</methodname> は検証エラーが見つかった時点で <constant>TRUE</constant> を返します。
         </para>
 
     </sect2>
@@ -390,7 +390,7 @@ if ($upload->isValid()) {
                 </note>
 
                 <para>
-                    このオプションで、受け取りたいファイル数の最小値を指定することができます。
+                    このオプションで、受け取りたいファイル数の最小値を指定できます。
                 </para>
             </listitem>
 
@@ -400,7 +400,7 @@ if ($upload->isValid()) {
                 </para>
 
                 <para>
-                    このオプションで、受け取りたいファイル数を制限することができます。
+                    このオプションで、受け取りたいファイル数を制限できます。
                     それだけでなく、フォームで定義されている以上の数のファイルを送られるなどの攻撃を防ぐこともできます。
                 </para>
             </listitem>
@@ -453,7 +453,7 @@ $upload->addValidator('Count', false, array('min' =>1, 'max' => 5));
                 </para>
 
                 <para>
-                    異なるキーを使用して複数のハッシュを設定することができます。
+                    異なるキーを使用して複数のハッシュを設定できます。
                     すべてのキーの内容をチェックし、
                     どれにも一致しなかった場合にのみ検証が失敗します。
                 </para>
@@ -511,7 +511,7 @@ $upload->addValidator('Crc32', false, array('3b3652f', 'e612b69'));
         <para>
             大文字小文字を区別したチェックが有用なこともあります。
             そのため、コンストラクタの 2 番目のパラメータ
-            <code>$case</code> を指定できるようになっています。これを true
+            <code>$case</code> を指定できるようになっています。これを <constant>TRUE</constant>
             に設定すると、大文字小文字を区別して拡張子を検証します。
         </para>
 
@@ -562,7 +562,7 @@ $upload->addValidator('ExcludeExtension',
                 </para>
 
                 <para>
-                    このオプションで、許可したくないファイルの <acronym>MIME</acronym> 型を定義することができます。
+                    このオプションで、許可したくないファイルの <acronym>MIME</acronym> 型を定義できます。
                 </para>
             </listitem>
 
@@ -704,7 +704,7 @@ $upload->addValidator('Exists',
         <para>
             場合によっては大文字小文字を区別してチェックしたくなることもあるでしょう。
             そんなときのために、コンストラクタで 2 番目のパラメータ
-            <code>$case</code> を指定することができます。これを true
+            <code>$case</code> を指定できます。これを <constant>TRUE</constant>
             にすると、大文字小文字を区別して拡張子のチェックを行います。
         </para>
 
@@ -759,7 +759,7 @@ if (!$upload->isValid('C:\temp\myfile.MO')) {
                 </para>
 
                 <para>
-                    このオプションで、転送されるファイルの合計サイズの最大値を指定することができます。
+                    このオプションで、転送されるファイルの合計サイズの最大値を指定できます。
                     個別のファイルのサイズはチェックしません。
                 </para>
             </listitem>
@@ -772,8 +772,8 @@ if (!$upload->isValid('C:\temp\myfile.MO')) {
 
                 <para>
                     このオプションで、ユーザが受け取る結果が '10864' あるいは '10MB'
-                    のどちらの形式になるのかを指定することができます。デフォルト値は
-                    true で、'10MB' 形式となります。
+                    のどちらの形式になるのかを指定できます。デフォルト値は
+                    <constant>TRUE</constant> で、'10MB' 形式となります。
                 </para>
             </listitem>
         </itemizedlist>
@@ -999,7 +999,7 @@ $upload->addValidator('IsImage', false, 'jpeg');
                 </para>
 
                 <para>
-                    配列形式で複数のハッシュを設定することができます。
+                    配列形式で複数のハッシュを設定できます。
                     すべてのキーの内容をチェックし、
                     どれにも一致しなかった場合にのみ検証が失敗します。
                 </para>
@@ -1065,7 +1065,7 @@ $upload->addValidator('Hash',
                 </para>
 
                 <para>
-                    配列形式で複数のハッシュを設定することができます。
+                    配列形式で複数のハッシュを設定できます。
                     すべてのキーの内容をチェックし、
                     どれにも一致しなかった場合にのみ検証が失敗します。
                 </para>
@@ -1201,7 +1201,7 @@ $upload->addValidator('MimeType',
                 <code>fileinfo</code> も <code>mime_content_type</code>
                 も使えない場合は、セキュリティの問題に注意する必要があります。
                 <acronym>HTTP</acronym> から取得する <acronym>MIME</acronym> 型はセキュアではなく、
-                容易に改ざんすることができます。
+                容易に改ざんできます。
             </para>
         </note>
     </sect2>
@@ -1272,7 +1272,7 @@ $upload->addValidator('NotExists', false,
                 </para>
 
                 <para>
-                    配列形式で複数のハッシュを設定することができます。
+                    配列形式で複数のハッシュを設定できます。
                     すべてのキーの内容をチェックし、
                     どれにも一致しなかった場合にのみ検証が失敗します。
                 </para>
@@ -1312,7 +1312,7 @@ $upload->addValidator('Sha1',
                 </para>
 
                 <para>
-                    このオプションで、転送されるファイルの個々のサイズの最小値を指定することができます。
+                    このオプションで、転送されるファイルの個々のサイズの最小値を指定できます。
                 </para>
             </listitem>
 
@@ -1322,7 +1322,7 @@ $upload->addValidator('Sha1',
                 </para>
 
                 <para>
-                    このオプションで、転送されるファイルの個々のサイズを制限することができます。
+                    このオプションで、転送されるファイルの個々のサイズを制限できます。
                 </para>
             </listitem>
 
@@ -1334,8 +1334,8 @@ $upload->addValidator('Sha1',
 
                 <para>
                     このオプションで、ユーザが受け取る結果が '10864' あるいは '10MB'
-                    のどちらの形式になるのかを指定することができます。デフォルト値は
-                    true で、'10MB' 形式となります。
+                    のどちらの形式になるのかを指定できます。デフォルト値は
+                    <constant>TRUE</constant> で、'10MB' 形式となります。
                 </para>
             </listitem>
         </itemizedlist>

+ 2 - 2
documentation/manual/ja/module_specs/Zend_Queue-Adapters.xml

@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!-- Reviewed: no -->
-<!-- EN-Revision: 20115 -->
+<!-- EN-Revision: 20714 -->
 <sect1 id="zend.queue.adapters">
     <title>アダプタ</title>
 
@@ -408,7 +408,7 @@ $queue = new Zend_Queue('Db', $options);
 
             <para>
                 データベース<emphasis>CREATE TABLE ( ... )</emphasis> <acronym>SQL</acronym>
-                文が<filename>Zend/Queue/Adapter/Db/queue.sql</filename>にあります。
+                文が<filename>Zend/Queue/Adapter/Db/mysql.sql</filename>にあります。
             </para>
         </sect3>