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

[DOCUMENT] Japanese sync

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

+ 4 - 4
documentation/manual/ja/module_specs/Zend_Cache-Frontends.xml

@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!-- Reviewed: no -->
-<!-- EN-Revision: 20765 -->
+<!-- EN-Revision: 21130 -->
 <sect1 id="zend.cache.frontends">
     <title><classname>Zend_Cache</classname> のフロントエンド</title>
 
@@ -600,10 +600,10 @@ $result = $cache->foobar2('1', '2');
                     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
+                    </methodname> method, for example,
+                    <command>$front->setParam('disableOutputBuffering', true);</command> or adding
                     "resources.frontcontroller.params.disableOutputBuffering = true"
-                    to your bootstrap configuration file (assumed INI) if using
+                    to your bootstrap configuration file (assumed <acronym>INI</acronym>) if using
                     <classname>Zend_Application</classname>.
                 </para>
             </note>

+ 65 - 2
documentation/manual/ja/module_specs/Zend_Log-Overview.xml

@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!-- Reviewed: no -->
-<!-- EN-Revision: 20792 -->
+<!-- EN-Revision: 21740 -->
 <sect1 id="zend.log.overview">
     <title>概要</title>
 
@@ -118,7 +118,7 @@ $logger = null;
 ]]></programlisting>
 
       このように明示的にログを破棄することは必須ではありません。
-      PHP の終了時に、この処理が自動的に行われます。
+      <acronym>PHP</acronym> の終了時に、この処理が自動的に行われます。
     </para>
   </sect2>
 
@@ -224,4 +224,67 @@ $logger->setEventItem('pid', getmypid());
       さらに詳しく学ぶには、フォーマッタの節を参照ください。
     </para>
   </sect2>
+
+    <!-- TODO : to be translated -->
+    <sect2 id="zend.log.overview.as-errorHandler">
+        <title>Log PHP Errors</title>
+
+        <para>
+            Zend_Log can also be used to log <acronym>PHP</acronym> errors.  Calling
+            <methodname>registerErrorHandler()</methodname> will add Zend_Log before the current
+            error handler, and will pass the error along as well.
+        </para>
+
+        <table id="zend.log.overview.as-errorHandler.properties.table-1">
+            <title>Zend_Log events from PHP errors have the additional fields matching
+            <methodname>handler  ( int $errno  , string $errstr  [, string $errfile  [, int $errline  [, array $errcontext  ]]] )</methodname>
+            from <ulink url="http://us3.php.net/manual/en/function.set-error-handler.php">set_error_handler</ulink></title>
+
+            <tgroup cols="3">
+                <thead>
+                    <row>
+                        <entry>Name</entry>
+                        <entry>Error Handler Paramater</entry>
+                        <entry>Description</entry>
+                    </row>
+                </thead>
+
+                <tbody>
+                    <row>
+                        <entry>message</entry>
+                        <entry>errstr</entry>
+                        <entry>Contains the error message, as a string.</entry>
+                    </row>
+
+                    <row>
+                        <entry>errno</entry>
+                        <entry>errno</entry>
+                        <entry>Contains the level of the error raised, as an integer.</entry>
+                    </row>
+
+                    <row>
+                        <entry>file</entry>
+                        <entry>errfile</entry>
+                        <entry>Contains the filename that the error was raised in, as a string.</entry>
+                    </row>
+
+                    <row>
+                        <entry>line</entry>
+                        <entry>errline</entry>
+                        <entry>Contains the line number the error was raised at, as an integer. </entry>
+                    </row>
+
+                    <row>
+                        <entry>context</entry>
+                        <entry>errcontext</entry>
+                        <entry>(optional) An array that points to the active symbol table at the point the
+                        error occurred. In other words, errcontext  will contain an array of every variable
+                        that existed in the scope the error was triggered in. User error handler must not
+                        modify error context.</entry>
+                    </row>
+
+                </tbody>
+            </tgroup>
+        </table>
+    </sect2>
 </sect1>

+ 2 - 2
documentation/manual/ja/module_specs/Zend_Log-Writers.xml

@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!-- Reviewed: no -->
-<!-- EN-Revision: 20792 -->
+<!-- EN-Revision: 21740 -->
 <sect1 id="zend.log.writers" xmlns:xi="http://www.w3.org/2001/XInclude">
   <title>ライター</title>
   <para>
@@ -18,7 +18,7 @@
     </para>
 
     <para>
-      ログのデータを PHP の出力バッファに書き出すには、URL <code>php://output</code>
+      ログのデータを <acronym>PHP</acronym> の出力バッファに書き出すには、URL <code>php://output</code>
       を使用します。一方、ログのデータを直接 <constant>STDERR</constant>
       のようなストリームに送ることもできます (<code>php://stderr</code>)。
 

+ 4 - 4
documentation/manual/ja/module_specs/Zend_OpenId-Introduction.xml

@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!-- Reviewed: no -->
-<!-- EN-Revision: 17175 -->
+<!-- EN-Revision: 20843 -->
 <sect1 id="zend.openid.introduction">
     <title>導入</title>
     <para>
@@ -17,14 +17,14 @@
             を作成します。この ID は、OpenID がサポートする場所ならどこでも使用可能です。
             OpenID 対応のサイトでは、
             ユーザ名やパスワードといった旧来の認証情報を覚えておく必要がなくなるわけです。
-            すべての OpenID 対応サイトで単一の OpenID による ID を使用することができます。
+            すべての OpenID 対応サイトで単一の OpenID による ID を使用できます。
             この ID は、通常は <acronym>URL</acronym> となります。
             これはそのユーザの個人ページの <acronym>URL</acronym> かもしれませんし、
             blog などの他の情報を含むリソースの <acronym>URL</acronym> かもしれません。
             ユーザ名やパスワードの組み合わせをたくさん覚える必要はもうありません。
             ひとつの ID ですべてのインターネットサービスが使用できるのです。
             OpenID はオープンで、中央管理されておらずフリーなユーザ中心のソリューションです。
-            各自がどの OpenID プロバイダを使用するかを選択することができますし、
+            各自がどの OpenID プロバイダを使用するかを選択できますし、
             独自の ID サーバを作成することもできます。
             OpenID 対応のサイトや ID プロバイダを作成する際に、
             どこかの許可を得る必要はありません。
@@ -125,7 +125,7 @@
             OpenID 対応のサイトを開発するためのものです。もうひとつは
             <classname>Zend_OpenId_Provider</classname> で、これは OpenID
             サーバを開発するためのものです。これらはお互いに完全に独立しており、
-            それぞれ個別に使用することができます。
+            それぞれ個別に使用できます。
         </para>
 
         <para>

+ 1 - 1
documentation/manual/ja/module_specs/Zend_OpenId-Provider.xml

@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!-- Reviewed: no -->
-<!-- EN-Revision: 17175 -->
+<!-- EN-Revision: 20872 -->
 <sect1 id="zend.openid.provider">
     <title>Zend_OpenId_Provider</title>
     <para>

+ 1 - 1
documentation/manual/ja/module_specs/Zend_Paginator-Advanced.xml

@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!-- Reviewed: no -->
-<!-- EN-Revision: 17632 -->
+<!-- EN-Revision: 20843 -->
 <sect1 id="zend.paginator.advanced">
     <title>高度な使用法</title>
 

+ 1 - 1
documentation/manual/ja/module_specs/Zend_Paginator-Introduction.xml

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

+ 1 - 1
documentation/manual/ja/module_specs/Zend_Pdf-Create.xml

@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!-- Reviewed: no -->
-<!-- EN-Revision: 17227 -->
+<!-- EN-Revision: 20854 -->
 <sect1 id="zend.pdf.create">
     <title>PDF ドキュメントの作成および読み込み</title>
     <para>

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

@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!-- Reviewed: no -->
-<!-- EN-Revision: 17405 -->
+<!-- EN-Revision: 20810 -->
 <sect1 id="zend.soap.client">
     <title>Zend_Soap_Client</title>
 

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

@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!-- Reviewed: no -->
-<!-- EN-Revision: 17175 -->
+<!-- EN-Revision: 20810 -->
 <sect1 id="zend.soap.server">
     <title>Zend_Soap_Server</title>
 

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

@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!-- Reviewed: no -->
-<!-- EN-Revision: 20115 -->
+<!-- EN-Revision: 20810 -->
 <sect1 id="zend.soap.wsdl">
     <title>WSDLアクセッサ</title>
 

+ 1 - 1
documentation/manual/ja/module_specs/Zend_Test-PHPUnit-Bootstrapping.xml

@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!-- Reviewed: no -->
-<!-- EN-Revision: 19568 -->
+<!-- EN-Revision: 20807 -->
 <sect2 id="zend.test.phpunit.bootstrapping">
     <title>テストケースの起動</title>
 

+ 2 - 2
documentation/manual/ja/module_specs/Zend_Test-PHPUnit-Examples.xml

@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!-- Reviewed: no -->
-<!-- EN-Revision: 17175 -->
+<!-- EN-Revision: 20807 -->
 <sect2 id="zend.test.phpunit.examples">
     <title>例</title>
 
@@ -308,7 +308,7 @@ class UserControllerTest extends Zend_Test_PHPUnit_ControllerTestCase
             テスト時と実運用時には別のデータベースを使用することを推奨します。
             また、特に (ファイルあるいはインメモリ形式の) SQLite
             を使うことを推奨します。どちらも別のサーバを必要とせず、
-            大半の <acronym>SQL</acronym> 構文を使用することができます。
+            大半の <acronym>SQL</acronym> 構文を使用できます。
         </para>
     </example>
 </sect2>

+ 1 - 1
documentation/manual/ja/module_specs/Zend_TimeSync-Working.xml

@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!-- Reviewed: no -->
-<!-- EN-Revision: 19568 -->
+<!-- EN-Revision: 20807 -->
 <sect1 id="zend.timesync.working">
 
     <title>Zend_TimeSync の動作</title>

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

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

+ 1 - 1
documentation/manual/ja/module_specs/Zend_Tool_Project-Providers.xml

@@ -5,7 +5,7 @@
     <title>Zend_Tool プロジェクトプロバイダー</title>
 
     <para>
-        下記は<classname>Zend_Tool_Project</classname>とともに出荷されたプロバイダーすべての一覧です。
+        下記は <classname>Zend_Tool_Project</classname> とともに出荷されたプロバイダーすべての一覧です。
     </para>
 
     <table id="zend.tool.project.project-provider">

+ 1 - 1
documentation/manual/ja/module_specs/Zend_Translate-Adapters.xml

@@ -317,7 +317,7 @@
 
         <para>
             <classname>Zend_Translate</classname> に、自作のアダプタクラスを組み込むこともできます。
-            これは、<classname>Zend_Translate</classname> に組み込まれている標準のアダプタクラスと同様に使うことができます。
+            これは、<classname>Zend_Translate</classname> に組み込まれている標準のアダプタクラスと同様に使できます。
         </para>
 
         <para>

+ 1 - 1
documentation/manual/ja/module_specs/Zend_View-Helpers.xml

@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!-- Reviewed: no -->
-<!-- EN-Revision: 20227 -->
+<!-- EN-Revision: 20799 -->
 <sect1 id="zend.view.helpers" xmlns:xi="http://www.w3.org/2001/XInclude">
     <title>ビューヘルパー</title>
 

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

@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!-- Reviewed: no -->
-<!-- EN-Revision: 18817 -->
+<!-- EN-Revision: 20799 -->
 <sect1 id="zend.wildfire.chapter">
 
   <title>Zend_Wildfire</title>