소스 검색

[DOCUMENTATION]Japanese sync 18389, 18395, 18417, 18418, 18419

git-svn-id: http://framework.zend.com/svn/framework/standard/trunk@18426 44c647ce-9c0f-0410-b52a-842ac1e357ba
yoshida@zend.co.jp 16 년 전
부모
커밋
91fd3b6945

+ 5 - 5
documentation/manual/ja/module_specs/Zend_Acl-Refining.xml

@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!-- Reviewed: no -->
-<!-- EN-Revision: 15783 -->
+<!-- EN-Revision: 18389 -->
 <sect1 id="zend.acl.refining">
 
     <title>アクセス制御の洗練</title>
@@ -52,16 +52,16 @@ $acl->addRole(new Zend_Acl_Role('marketing'), 'staff');
 // 規則を適用するリソースを作成します
 
 // ニュースレター
-$acl->add(new Zend_Acl_Resource('newsletter'));
+$acl->addResource(new Zend_Acl_Resource('newsletter'));
 
 // ニュース
-$acl->add(new Zend_Acl_Resource('news'));
+$acl->addResource(new Zend_Acl_Resource('news'));
 
 // 最新ニュース
-$acl->add(new Zend_Acl_Resource('latest'), 'news');
+$acl->addResource(new Zend_Acl_Resource('latest'), 'news');
 
 // お知らせ
-$acl->add(new Zend_Acl_Resource('announcement'), 'news');
+$acl->addResource(new Zend_Acl_Resource('announcement'), 'news');
 ]]></programlisting>
 
         <para>

+ 39 - 0
documentation/manual/ja/module_specs/Zend_Application-AvailableResources-Router.xml

@@ -0,0 +1,39 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- Reviewed: no -->
+<!-- EN-Revision: 18418 -->
+<sect2 id="zend.application.available-resources.router">
+    <title>Zend_Application_Resource_Router</title>
+
+    <para>
+        <classname>Zend_Application_Resource_Router</classname>は、
+        フロント・コントローラで登録されるようにルータを構成するために利用できます。
+        構成オプションは、<link
+            linkend="zend.controller.router.routes.standard">
+            <classname>Zend_Controller_Router_Route</classname>
+            オプション</link>毎にあります。
+    </para>
+
+    <example id="zend.application.available-resources.router.configExample">
+        <title>ルータ・リソース構成の例</title>
+
+        <para>
+            下記は、ルータ・リソースを設定する方法を示す、
+            <acronym>INI</acronym>スニペットの例です。
+        </para>
+
+        <programlisting language="ini"><![CDATA[
+resources.router.routes.route_id.route = "/login"
+resources.router.routes.route_id.defaults.module = "user"
+resources.router.routes.route_id.defaults.controller = "login"
+resources.router.routes.route_id.defaults.action = "index"
+
+; 任意でチェイン・ネーム・セパレータも設定できます。
+resources.router.chainNameSeparator = "_"
+]]></programlisting>
+        
+        <para>チェイン・ネーム・セパレータについての詳細は、
+            <link linkend="zend.controller.router.routes.chain.config">この節</link>
+            をご覧ください。
+        </para>
+    </example>
+</sect2>

+ 2 - 1
documentation/manual/ja/module_specs/Zend_Application-AvailableResources.xml

@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!-- Reviewed: no -->
-<!-- EN-Revision: 17436 -->
+<!-- EN-Revision: 18419 -->
 <sect1 id="zend.application.available-resources" xmlns:xi="http://www.w3.org/2001/XInclude">
     <title>利用できるリソースプラグイン</title>
 
@@ -13,6 +13,7 @@
     <xi:include href="Zend_Application-AvailableResources-Frontcontroller.xml" />
     <xi:include href="Zend_Application-AvailableResources-Modules.xml" />
     <xi:include href="Zend_Application-AvailableResources-Navigation.xml" />
+    <xi:include href="Zend_Application-AvailableResources-Router.xml" />
     <xi:include href="Zend_Application-AvailableResources-Session.xml" />
     <xi:include href="Zend_Application-AvailableResources-View.xml" />
 </sect1>

+ 2 - 3
documentation/manual/ja/module_specs/Zend_CodeGenerator-Reference.xml

@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!-- Reviewed: no -->
-<!-- EN-Revision: 18188 -->
+<!-- EN-Revision: 18423 -->
 <sect1 id="zend.codegenerator.reference">
     <title>Zend_CodeGeneratorリファレンス</title>
 
@@ -490,8 +490,7 @@ $parameter->setDefaultValue(
 $parameter->setDefaultValue(
     new Zend_CodeGenerator_Php_Parameter_DefaultValue("array('foo', 'bar')")
 );
-]]>
-            </programlisting>
+]]></programlisting>
 
             <para>
                 内部的には<methodname>setDefaultValue()</methodname>も

+ 4 - 4
documentation/manual/ja/module_specs/Zend_Tool_Framework-WritingProviders.xml

@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!-- Reviewed: no -->
-<!-- EN-Revision: 18380 -->
+<!-- EN-Revision: 18395 -->
 <sect1 id="zend.tool.framework.writing-providers">
     <title>Zend_Tool_Frameworkを利用してプロバイダを作成する</title>
 
@@ -12,9 +12,9 @@
     </para>
 
     <sect2 id="zend.tool.framework.writing-providers.loading">
-        <!-- TODO: to be translated -->
-        <title>How Zend Tool finds your Providers</title>
+        <title>Zend Tool はどのようにプロバイダを見つけるか</title>
 
+        <!-- TODO: to be translated -->
         <para>
             By default Zend Tool uses the IncludePathLoader to find all
             the providers that you can run. It recursivly iterates all
@@ -45,7 +45,7 @@
             </listitem>
             <listitem>
                 <para>
-                    If your provider has a method <methodname>getCode()</methodname>
+                    If your provider has a method <methodname>getName()</methodname>
                     it will be used instead of the previous method to determine
                     the name.
                 </para>

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

@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!-- Reviewed: no -->
-<!-- EN-Revision: 18028 -->
+<!-- EN-Revision: 18417 -->
 <sect2 id="zend.validate.Db">
     <title>Db_RecordExists および Db_NoRecordExists</title>
 
@@ -155,7 +155,6 @@ if ($validator->isValid($username)) {
         <title>データベースアダプタ</title>
 
         <para>
-            バリデータのインスタンスを作成する際の 4 番目のパラメータで、
             アダプタを指定することもできます。
             複数のデータベースアダプタを使用している場合や
             デフォルトのアダプタを設定していない場合などにこれを使用します。