Explorar o código

sync Japanese document with r15713.

git-svn-id: http://framework.zend.com/svn/framework/standard/trunk@15714 44c647ce-9c0f-0410-b52a-842ac1e357ba
takagi %!s(int64=16) %!d(string=hai) anos
pai
achega
a70fe2a20e

+ 2 - 2
documentation/manual/ja/module_specs/Zend_Auth_Adapter_Http.xml

@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <?xml version="1.0" encoding="UTF-8"?>
 <!-- Reviewed: no -->
 <!-- Reviewed: no -->
-<!-- EN-Revision: 15617 -->
+<!-- EN-Revision: 15713 -->
 <sect1 id="zend.auth.adapter.http">
 <sect1 id="zend.auth.adapter.http">
 
 
     <title>HTTP 認証アダプタ</title>
     <title>HTTP 認証アダプタ</title>
@@ -194,7 +194,7 @@
                 <code>resolve()</code> メソッドはテキストファイルを走査し、
                 <code>resolve()</code> メソッドはテキストファイルを走査し、
                 ユーザ名とレルムにマッチする行を探します。テキストファイルのフォーマットは
                 ユーザ名とレルムにマッチする行を探します。テキストファイルのフォーマットは
                 Apache の htpasswd ファイルと似た形式で
                 Apache の htpasswd ファイルと似た形式で
-                <programlisting><![CDATA[
+                <programlisting language="txt"><![CDATA[
 <username>:<realm>:<credentials>\n
 <username>:<realm>:<credentials>\n
 ]]></programlisting>
 ]]></programlisting>
                 のようになります。個々の行は
                 のようになります。個々の行は

+ 2 - 2
documentation/manual/ja/module_specs/Zend_Controller-Modular.xml

@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <?xml version="1.0" encoding="UTF-8"?>
 <!-- Reviewed: no -->
 <!-- Reviewed: no -->
-<!-- EN-Revision: 15617 -->
+<!-- EN-Revision: 15713 -->
 <sect1 id="zend.controller.modular">
 <sect1 id="zend.controller.modular">
     <title>モジュラーディレクトリ構造の規約の使用</title>
     <title>モジュラーディレクトリ構造の規約の使用</title>
 
 
@@ -13,7 +13,7 @@
             このディレクトリ構造は、次のようになります。
             このディレクトリ構造は、次のようになります。
         </para>
         </para>
 
 
-        <programlisting><![CDATA[
+        <programlisting language="txt"><![CDATA[
 docroot/
 docroot/
     index.php
     index.php
 application/
 application/

+ 3 - 3
documentation/manual/ja/module_specs/Zend_Db_Table.xml

@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <?xml version="1.0" encoding="UTF-8"?>
 <!-- Reviewed: no -->
 <!-- Reviewed: no -->
-<!-- EN-Revision: 15637 -->
+<!-- EN-Revision: 15713 -->
 <sect1 id="zend.db.table">
 <sect1 id="zend.db.table">
 
 
     <title>Zend_Db_Table</title>
     <title>Zend_Db_Table</title>
@@ -1122,7 +1122,7 @@ $rows = $table->fetchAll($select);
 $table = new Bugs();
 $table = new Bugs();
 
 
 // join する際には、from 部を指定して取得するのが重要です
 // join する際には、from 部を指定して取得するのが重要です
-$select = $table->select(Zend_Db_Table::SELECT_WITH_FROM_PART); 
+$select = $table->select(Zend_Db_Table::SELECT_WITH_FROM_PART);
 $select->setIntegrityCheck(false)
 $select->setIntegrityCheck(false)
        ->where('bug_status = ?', 'NEW')
        ->where('bug_status = ?', 'NEW')
        ->join('accounts', 'accounts.account_name = bugs.reported_by')
        ->join('accounts', 'accounts.account_name = bugs.reported_by')
@@ -1151,7 +1151,7 @@ $rows = $table->fetchAll($select);
 
 
                 <title>Zend_Db_Table_Select の整合性チェックを削除し、JOIN した行を許可する</title>
                 <title>Zend_Db_Table_Select の整合性チェックを削除し、JOIN した行を許可する</title>
 
 
-                <programlisting><![CDATA[
+                <programlisting language="php"><![CDATA[
 $table = new Bugs();
 $table = new Bugs();
 
 
 $select = $table->select(Zend_Db_Table::SELECT_WITH_FROM_PART)->setIntegrityCheck(false);
 $select = $table->select(Zend_Db_Table::SELECT_WITH_FROM_PART)->setIntegrityCheck(false);

+ 2 - 2
documentation/manual/ja/module_specs/Zend_File_Transfer-Introduction.xml

@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <?xml version="1.0" encoding="UTF-8"?>
 <!-- Reviewed: no -->
 <!-- Reviewed: no -->
-<!-- EN-Revision: 15617 -->
+<!-- EN-Revision: 15713 -->
 <sect1 id="zend.file.transfer.introduction">
 <sect1 id="zend.file.transfer.introduction">
 
 
     <title>Zend_File_Transfer</title>
     <title>Zend_File_Transfer</title>
@@ -55,7 +55,7 @@
             まずはファイルアップロードフォームから。
             まずはファイルアップロードフォームから。
             今回の例では。アップロードしたいファイルはひとつです。
             今回の例では。アップロードしたいファイルはひとつです。
         </para>
         </para>
-        <programlisting><![CDATA[
+        <programlisting language="xml"><![CDATA[
 <form enctype="multipart/form-data" action="/file/upload" method="POST">
 <form enctype="multipart/form-data" action="/file/upload" method="POST">
     <input type="hidden" name="MAX_FILE_SIZE" value="100000" />
     <input type="hidden" name="MAX_FILE_SIZE" value="100000" />
         アップロードするファイルを選択: <input name="uploadedfile" type="file" />
         アップロードするファイルを選択: <input name="uploadedfile" type="file" />

+ 3 - 3
documentation/manual/ja/module_specs/Zend_Rest_Server.xml

@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <?xml version="1.0" encoding="UTF-8"?>
 <!-- Reviewed: no -->
 <!-- Reviewed: no -->
-<!-- EN-Revision: 15617 -->
+<!-- EN-Revision: 15713 -->
 <sect1 id="zend.rest.server">
 <sect1 id="zend.rest.server">
     <title>Zend_Rest_Server</title>
     <title>Zend_Rest_Server</title>
 
 
@@ -93,7 +93,7 @@ $server->handle();
 
 
         <example id="zend.rest.server.customstatus.example-1">
         <example id="zend.rest.server.customstatus.example-1">
             <title>独自のステータスを返す</title>
             <title>独自のステータスを返す</title>
-            <programlisting><![CDATA[
+            <programlisting language="php"><![CDATA[
 /**
 /**
  * Say Hello
  * Say Hello
  *
  *
@@ -125,7 +125,7 @@ $server->handle();
         <example id="zend.rest.server.customxml.example-1">
         <example id="zend.rest.server.customxml.example-1">
             <title>独自の XML を返す</title>
             <title>独自の XML を返す</title>
 
 
-            <programlisting><![CDATA[
+            <programlisting language="php"><![CDATA[
 /**
 /**
  * Say Hello
  * Say Hello
  *
  *

+ 3 - 3
documentation/manual/ja/module_specs/Zend_Search_Lucene-Extending.xml

@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <?xml version="1.0" encoding="UTF-8"?>
 <!-- Reviewed: no -->
 <!-- Reviewed: no -->
-<!-- EN-Revision: 15617 -->
+<!-- EN-Revision: 15713 -->
 <sect1 id="zend.search.lucene.extending">
 <sect1 id="zend.search.lucene.extending">
     <title>拡張性</title>
     <title>拡張性</title>
 
 
@@ -372,7 +372,7 @@ Zend_Search_Lucene_Search_Similarity::setDefault($mySimilarity);
         <para>
         <para>
         Zend_Search_Lucene_Storage_Directory のメソッドは以下のとおりです。
         Zend_Search_Lucene_Storage_Directory のメソッドは以下のとおりです。
         </para>
         </para>
-        <programlisting><![CDATA[
+        <programlisting language="php"><![CDATA[
 abstract class Zend_Search_Lucene_Storage_Directory {
 abstract class Zend_Search_Lucene_Storage_Directory {
 /**
 /**
  * 保存先を閉じます
  * 保存先を閉じます
@@ -467,7 +467,7 @@ abstract function getFileObject($filename);
         Zend_Search_Lucene_Storage_File クラスを実装する際に
         Zend_Search_Lucene_Storage_File クラスを実装する際に
         オーバーロードしなければならないメソッドは 2 つだけです。
         オーバーロードしなければならないメソッドは 2 つだけです。
         </para>
         </para>
-        <programlisting><![CDATA[
+        <programlisting language="php"><![CDATA[
 class MyFile extends Zend_Search_Lucene_Storage_File {
 class MyFile extends Zend_Search_Lucene_Storage_File {
     /**
     /**
      * ファイル上の位置を指定し、そこにファイルポインタを進めます。
      * ファイル上の位置を指定し、そこにファイルポインタを進めます。

+ 7 - 7
documentation/manual/ja/module_specs/Zend_Service_Amazon.xml

@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <?xml version="1.0" encoding="UTF-8"?>
 <!-- Reviewed: no -->
 <!-- Reviewed: no -->
-<!-- EN-Revision: 15617 -->
+<!-- EN-Revision: 15713 -->
 <sect1 id="zend.service.amazon">
 <sect1 id="zend.service.amazon">
     <title>Zend_Service_Amazon</title>
     <title>Zend_Service_Amazon</title>
     <sect2 id="zend.service.amazon.introduction">
     <sect2 id="zend.service.amazon.introduction">
@@ -64,7 +64,7 @@
                 この例では、Amazon で PHP に関する書籍を検索し、
                 この例では、Amazon で PHP に関する書籍を検索し、
                 結果の一覧を表示します。
                 結果の一覧を表示します。
             </para>
             </para>
-            <programlisting><![CDATA[
+            <programlisting language="php"><![CDATA[
 $amazon = new Zend_Service_Amazon('AMAZON_API_KEY');
 $amazon = new Zend_Service_Amazon('AMAZON_API_KEY');
 $results = $amazon->itemSearch(array('SearchIndex' => 'Books',
 $results = $amazon->itemSearch(array('SearchIndex' => 'Books',
                                      'Keywords' => 'php'));
                                      'Keywords' => 'php'));
@@ -80,7 +80,7 @@ foreach ($results as $result) {
                 しかし、ここではクエリ API を使用します。この API
                 しかし、ここではクエリ API を使用します。この API
                 は、Fluent Interface パターンと似た形式です。
                 は、Fluent Interface パターンと似た形式です。
             </para>
             </para>
-            <programlisting><![CDATA[
+            <programlisting language="php"><![CDATA[
 $query = new Zend_Service_Amazon_Query('AMAZON_API_KEY');
 $query = new Zend_Service_Amazon_Query('AMAZON_API_KEY');
 $query->category('Books')->Keywords('PHP');
 $query->category('Books')->Keywords('PHP');
 $results = $query->search();
 $results = $query->search();
@@ -99,7 +99,7 @@ foreach ($results as $result) {
         </para>
         </para>
         <example id="zend.service.amazon.countrycodes.example.country_code">
         <example id="zend.service.amazon.countrycodes.example.country_code">
             <title>Amazon Web Service の国の選択</title>
             <title>Amazon Web Service の国の選択</title>
-            <programlisting><![CDATA[
+            <programlisting language="php"><![CDATA[
 // 日本の Amazon に接続します
 // 日本の Amazon に接続します
 $amazon = new Zend_Service_Amazon('AMAZON_API_KEY', 'JP');
 $amazon = new Zend_Service_Amazon('AMAZON_API_KEY', 'JP');
 ]]></programlisting>
 ]]></programlisting>
@@ -120,7 +120,7 @@ $amazon = new Zend_Service_Amazon('AMAZON_API_KEY', 'JP');
         </para>
         </para>
         <example id="zend.service.amazon.itemlookup.example.asin">
         <example id="zend.service.amazon.itemlookup.example.asin">
             <title>ASIN を使用した Amazon の商品検索</title>
             <title>ASIN を使用した Amazon の商品検索</title>
-            <programlisting><![CDATA[
+            <programlisting language="php"><![CDATA[
 $amazon = new Zend_Service_Amazon('AMAZON_API_KEY');
 $amazon = new Zend_Service_Amazon('AMAZON_API_KEY');
 $item = $amazon->itemLookup('B0000A432X');
 $item = $amazon->itemLookup('B0000A432X');
 ]]></programlisting>
 ]]></programlisting>
@@ -149,7 +149,7 @@ $item = $amazon->itemLookup('B0000A432X');
         </para>
         </para>
         <example id="zend.service.amazon.itemsearch.example.basic">
         <example id="zend.service.amazon.itemsearch.example.basic">
             <title>Amazon の商品検索の実行</title>
             <title>Amazon の商品検索の実行</title>
-            <programlisting><![CDATA[
+            <programlisting language="php"><![CDATA[
 $amazon = new Zend_Service_Amazon('AMAZON_API_KEY');
 $amazon = new Zend_Service_Amazon('AMAZON_API_KEY');
 $results = $amazon->itemSearch(array('SearchIndex' => 'Books',
 $results = $amazon->itemSearch(array('SearchIndex' => 'Books',
                                      'Keywords' => 'php'));
                                      'Keywords' => 'php'));
@@ -213,7 +213,7 @@ foreach ($results as $result) {
                     この例では、もうひとつのクエリ API のインターフェイスを使用して、
                     この例では、もうひとつのクエリ API のインターフェイスを使用して、
                     オプションとその値を設定します。
                     オプションとその値を設定します。
                 </para>
                 </para>
-                <programlisting><![CDATA[
+                <programlisting language="php"><![CDATA[
 $query = new Zend_Service_Amazon_Query('MY_API_KEY');
 $query = new Zend_Service_Amazon_Query('MY_API_KEY');
 $query->Category('Books')->Keywords('PHP');
 $query->Category('Books')->Keywords('PHP');
 $results = $query->search();
 $results = $query->search();

+ 8 - 8
documentation/manual/ja/module_specs/Zend_Service_Yahoo.xml

@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <?xml version="1.0" encoding="UTF-8"?>
 <!-- Reviewed: no -->
 <!-- Reviewed: no -->
-<!-- EN-Revision: 15157 -->
+<!-- EN-Revision: 15713 -->
 <sect1 id="zend.service.yahoo">
 <sect1 id="zend.service.yahoo">
     <title>Zend_Service_Yahoo</title>
     <title>Zend_Service_Yahoo</title>
     <sect2 id="zend.service.yahoo.introduction">
     <sect2 id="zend.service.yahoo.introduction">
@@ -30,7 +30,7 @@
         </para>
         </para>
         <example id="zend.service.yahoo.websearch.example-1">
         <example id="zend.service.yahoo.websearch.example-1">
             <title>Yahoo! を使用したウェブの検索</title>
             <title>Yahoo! を使用したウェブの検索</title>
-            <programlisting><![CDATA[
+            <programlisting language="php"><![CDATA[
 $yahoo = new Zend_Service_Yahoo("YAHOO_APPLICATION_ID");
 $yahoo = new Zend_Service_Yahoo("YAHOO_APPLICATION_ID");
 $results = $yahoo->webSearch('PHP');
 $results = $yahoo->webSearch('PHP');
 foreach ($results as $result) {
 foreach ($results as $result) {
@@ -53,7 +53,7 @@ foreach ($results as $result) {
         </para>
         </para>
         <example id="zend.service.yahoo.imagesearch.example-1">
         <example id="zend.service.yahoo.imagesearch.example-1">
             <title>Yahoo! を使用した画像の検索</title>
             <title>Yahoo! を使用した画像の検索</title>
-            <programlisting><![CDATA[
+            <programlisting language="php"><![CDATA[
 $yahoo = new Zend_Service_Yahoo("YAHOO_APPLICATION_ID");
 $yahoo = new Zend_Service_Yahoo("YAHOO_APPLICATION_ID");
 $results = $yahoo->imageSearch('PHP');
 $results = $yahoo->imageSearch('PHP');
 foreach ($results as $result) {
 foreach ($results as $result) {
@@ -73,7 +73,7 @@ foreach ($results as $result) {
         </para>
         </para>
         <example id="zend.service.yahoo.videosearch.example-1">
         <example id="zend.service.yahoo.videosearch.example-1">
             <title>Yahoo! を使用した動画の検索</title>
             <title>Yahoo! を使用した動画の検索</title>
-            <programlisting><![CDATA[
+            <programlisting language="php"><![CDATA[
 $yahoo = new Zend_Service_Yahoo("YAHOO_APPLICATION_ID");
 $yahoo = new Zend_Service_Yahoo("YAHOO_APPLICATION_ID");
 $results = $yahoo->videoSearch('PHP');
 $results = $yahoo->videoSearch('PHP');
 foreach ($results as $result) {
 foreach ($results as $result) {
@@ -93,7 +93,7 @@ foreach ($results as $result) {
         </para>
         </para>
         <example id="zend.service.yahoo.localsearch.example-1">
         <example id="zend.service.yahoo.localsearch.example-1">
             <title>Yahoo! を使用した Local Businesses and Services の検索</title>
             <title>Yahoo! を使用した Local Businesses and Services の検索</title>
-            <programlisting><![CDATA[
+            <programlisting language="php"><![CDATA[
 $yahoo = new Zend_Service_Yahoo("YAHOO_APPLICATION_ID");
 $yahoo = new Zend_Service_Yahoo("YAHOO_APPLICATION_ID");
 $results = $yahoo->localSearch('Apple Computers', array('zip' => '95014'));
 $results = $yahoo->localSearch('Apple Computers', array('zip' => '95014'));
 foreach ($results as $result) {
 foreach ($results as $result) {
@@ -112,7 +112,7 @@ foreach ($results as $result) {
         </para>
         </para>
         <example id="zend.service.yahoo.newssearch.example-1">
         <example id="zend.service.yahoo.newssearch.example-1">
             <title>Yahoo! News の検索</title>
             <title>Yahoo! News の検索</title>
-            <programlisting><![CDATA[
+            <programlisting language="php"><![CDATA[
 $yahoo = new Zend_Service_Yahoo("YAHOO_APPLICATION_ID");
 $yahoo = new Zend_Service_Yahoo("YAHOO_APPLICATION_ID");
 $results = $yahoo->newsSearch('PHP');
 $results = $yahoo->newsSearch('PHP');
 foreach ($results as $result) {
 foreach ($results as $result) {
@@ -132,7 +132,7 @@ foreach ($results as $result) {
         </para>
         </para>
         <example id="zend.service.yahoo.inlinkdatasearch.example-1">
         <example id="zend.service.yahoo.inlinkdatasearch.example-1">
             <title>Yahoo! Site Explorer Inbound Links の検索</title>
             <title>Yahoo! Site Explorer Inbound Links の検索</title>
-            <programlisting><![CDATA[
+            <programlisting language="php"><![CDATA[
 $yahoo = new Zend_Service_Yahoo("YAHOO_APPLICATION_ID");
 $yahoo = new Zend_Service_Yahoo("YAHOO_APPLICATION_ID");
 $results = $yahoo->inlinkDataSearch('http://framework.zend.com/');
 $results = $yahoo->inlinkDataSearch('http://framework.zend.com/');
 foreach ($results as $result) {
 foreach ($results as $result) {
@@ -152,7 +152,7 @@ foreach ($results as $result) {
         </para>
         </para>
         <example id="zend.service.yahoo.pagedatasearch.example-1">
         <example id="zend.service.yahoo.pagedatasearch.example-1">
             <title>Yahoo! Site Explorer の PageData の検索</title>
             <title>Yahoo! Site Explorer の PageData の検索</title>
-            <programlisting><![CDATA[
+            <programlisting language="php"><![CDATA[
 $yahoo = new Zend_Service_Yahoo("YAHOO_APPLICATION_ID");
 $yahoo = new Zend_Service_Yahoo("YAHOO_APPLICATION_ID");
 $results = $yahoo->pageDataSearch('http://framework.zend.com/');
 $results = $yahoo->pageDataSearch('http://framework.zend.com/');
 foreach ($results as $result) {
 foreach ($results as $result) {