Просмотр исходного кода

[DOCUMENT]fix several untranslated TODOs

git-svn-id: http://framework.zend.com/svn/framework/standard/trunk@23826 44c647ce-9c0f-0410-b52a-842ac1e357ba
yoshida@zend.co.jp 15 лет назад
Родитель
Сommit
0e06da402b

+ 7 - 10
documentation/manual/ja/module_specs/Zend_Application-AvailableResources-Frontcontroller.xml

@@ -81,10 +81,9 @@
                 フロントコントローラのプラグイン・クラス名配列
                 このリソースは、各々のクラスを(コンストラクタ引数なしで)インスタンス化して、
                 それからフロントコントローラでインスタンスを登録します。
-                <!-- TODO : to be translated -->
-                If you want to
-                register a plugin with a particular stack index, you need to provide an array with
-                two keys <property>class</property> and <property>stackIndex</property>.
+                独自のスタック・インデックスでプラグインを登録したい場合は、
+                2つのキー <property>class</property> および <property>stackIndex</property>
+                を持つ配列を与える必要があります。
             </para>
         </listitem>
 
@@ -95,12 +94,11 @@
             </para>
         </listitem>
 
-        <!-- TODO : to be translated -->
         <listitem>
             <para>
-                <emphasis><property>returnresponse</property></emphasis>: whether or not to return
-                the response object after dispatching the front controller. Value should be a
-                boolean; by default, this is disabled.
+                <emphasis><property>returnresponse</property></emphasis>:
+                フロント・コントローラをディスパッチした後にレスポンス・オブジェクトを返すべきかどうか。
+                値は、ブーリアンでなければなりません。デフォルトで、これは無効です。
             </para>
         </listitem>
     </itemizedlist>
@@ -118,7 +116,6 @@
             下記は、フロントコントローラ・リソースを設定する方法を示す<acronym>INI</acronym>スニペット・サンプルです。
         </para>
 
-        <!-- TODO : to be translated -->
         <programlisting language="ini"><![CDATA[
 [production]
 resources.frontController.controllerDirectory = APPLICATION_PATH "/controllers"
@@ -135,7 +132,7 @@ resources.frontController.plugins.baz.stackIndex = 123
 resources.frontController.returnresponse = 1
 resources.frontController.env = APPLICATION_ENV
 
-; The following proxies to:
+; 下記の代用です:
 ;Zend_Controller_Action_HelperBroker::addPath('Helper_Path', $helperPrefix);
 resources.frontController.actionHelperPaths.HELPER_Prefix = "My/Helper/Path"
 ]]></programlisting>

+ 14 - 13
documentation/manual/ja/module_specs/Zend_Application-CoreFunctionality-Bootstrap_Bootstrap.xml

@@ -20,18 +20,19 @@
         このクラスを単純に使って、利用するリソースプラグインのリストを与えたいことでしょう。
     </para>
 
-    <!-- TODO : to be translated -->
     <sect3 id="zend.application.core-functionality.bootstrap-bootstrap.autoloading">
-        <title>Enabling Application Autoloading</title>
+        <title>アプリケーションのオートローディングを有効にする</title>
 
         <para>
-            Additionally, this bootstrap implementation provides the ability to specify the
-            "namespace" or class prefix for resources located in its tree, which will enable
-            autoloading of various application resources; essentially, it instantiates a <link
+            さらに、このブートストラップ実装により、
+            そのツリーに位置するリソースに対する "namespace" またはクラス接頭辞を指定できるようになります。
+            それにより、様々なアプリケーション・リソースをオートローディングできるようになります。
+            基本的に、それは <link
                 linkend="zend.loader.autoloader-resource.module">Zend_Application_Module_Autoloader</link>
-            object, providing the requested namespace and the bootstrap's directory as arguments.
-            You may enable this functionality by providing a namespace to the "appnamespace"
-            configuration option. As an INI example:
+            オブジェクトのインスタンスを生成します。
+            そして引数として、要求された名前空間およびブートストラップのディレクトリを提示します。
+            "appnamespace" 構成オプションに名前空間を提示することにより、この機能を使用可能にできるでしょう。
+            INI 例としては、
         </para>
 
         <programlisting language="ini"><![CDATA[
@@ -39,7 +40,7 @@ appnamespace = "Application"
 ]]></programlisting>
 
         <para>
-            Or in XML:
+            または XMLで、
         </para>
 
         <programlisting language="xml"><![CDATA[
@@ -47,13 +48,13 @@ appnamespace = "Application"
 ]]></programlisting>
 
         <para>
-            By default, <classname>Zend_Tool</classname> will enable this option with the value
-            "Application".
+            デフォルトでは、<classname>Zend_Tool</classname> は、
+            "Application" 変数でこのオプションを有効にします。
         </para>
 
         <para>
-            Alternately, you can simply define the <varname>$_appNamespace</varname> property of your
-            bootstrap class with the appropriate value:
+            あるいは、ブートストラップ・クラスの <varname>$_appNamespace</varname>
+            プロパティを適切な値で簡単に定義できます。
         </para>
 
         <programlisting language="php"><![CDATA[

+ 2 - 2
documentation/manual/ja/module_specs/Zend_Filter-FilterChains.xml

@@ -34,10 +34,10 @@ $username = $filterChain->filter($_POST['username']);
         フィルタチェインに追加できます。
     </para>
 
-    <!-- TODO : to be translated -->
     <sect2 id="zend.filter.filter_chains.order">
-        <title>Changing filter chain order</title>
+        <title>フィルタチェインの順序を変更</title>
 
+        <!-- TODO : to be translated -->
         <para>
             Since 1.10, the <classname>Zend_Filter</classname> chain also
             supports altering the chain by prepending or appending filters. For

+ 2 - 2
documentation/manual/ja/module_specs/Zend_Form-Forms.xml

@@ -1459,10 +1459,10 @@ $messages = $form->getMessages('username');
             </para>
         </sect3>
 
-        <!-- TODO : to be translated -->
         <sect3 id="zend.form.forms.validation.values">
-            <title>Retrieving Valid Values Only</title>
+            <title>正しい値だけを取得</title>
 
+            <!-- TODO : to be translated -->
             <para>
                 There are scenarios when you want to allow your user to work on a valid form
                 in several steps. Meanwhile you allow the user to save the form with any

+ 19 - 18
documentation/manual/ja/module_specs/Zend_Log-Overview.xml

@@ -241,27 +241,27 @@ $logger->setEventItem('pid', getmypid());
     </para>
   </sect2>
 
-    <!-- TODO : to be translated -->
     <sect2 id="zend.log.overview.as-errorHandler">
-        <title>Log PHP Errors</title>
+        <title>PHP のエラーを記録</title>
 
         <para>
-            <classname>Zend_Log</classname> can also be used to log <acronym>PHP</acronym> errors.  Calling
-            <methodname>registerErrorHandler()</methodname> will add <classname>Zend_Log</classname> before the current
-            error handler, and will pass the error along as well.
+            <classname>Zend_Log</classname> は、<acronym>PHP</acronym> のエラーを記録するためにも使えます。
+            <methodname>registerErrorHandler()</methodname> を呼び出すと、現行のエラーハンドラの前に
+            <classname>Zend_Log</classname> を追加して、同様に一緒にエラーを渡します。
         </para>
 
         <table id="zend.log.overview.as-errorHandler.properties.table-1">
-            <title>Zend_Log events from PHP errors have the additional fields matching
+            <title>PHP エラー由来の Zend_Log イベントには、
+            <ulink url="http://php.net/manual/ja/function.set-error-handler.php">set_error_handler</ulink> 由来の
             <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>
+            に一致する追加の項目があります</title>
 
             <tgroup cols="3">
                 <thead>
                     <row>
-                        <entry>Name</entry>
-                        <entry>Error Handler Paramater</entry>
-                        <entry>Description</entry>
+                        <entry>名前</entry>
+                        <entry>エラーハンドラ・パラメータ</entry>
+                        <entry>説明</entry>
                     </row>
                 </thead>
 
@@ -269,34 +269,35 @@ $logger->setEventItem('pid', getmypid());
                     <row>
                         <entry>message</entry>
                         <entry>errstr</entry>
-                        <entry>Contains the error message, as a string.</entry>
+                        <entry>エラーメッセージ(文字列)</entry>
                     </row>
 
                     <row>
                         <entry>errno</entry>
                         <entry>errno</entry>
-                        <entry>Contains the level of the error raised, as an integer.</entry>
+                        <entry>エラーの発生レベル(整数)</entry>
                     </row>
 
                     <row>
                         <entry>file</entry>
                         <entry>errfile</entry>
-                        <entry>Contains the filename that the error was raised in, as a string.</entry>
+                        <entry>エラーが発生したファイル名(文字列)</entry>
                     </row>
 
                     <row>
                         <entry>line</entry>
                         <entry>errline</entry>
-                        <entry>Contains the line number the error was raised at, as an integer. </entry>
+                        <entry>エラーが発生した行番号(整数)</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>
+                        <entry>
+                            (任意) エラーが発生した場所のアクティブシンボルテーブルを指す配列。
+                            つまり、エラーが発生したスコープ内に存在するすべての変数の配列です。
+                            ユーザエラーハンドラは、決してエラーコンテキストを書き換えてはいけません。
+                        </entry>
                     </row>
 
                 </tbody>

+ 2 - 3
documentation/manual/ja/module_specs/Zend_Navigation-Pages-Factory.xml

@@ -23,9 +23,8 @@
     <para>
         <code>type</code>が与えられると、
         ファクトリは、その値が作成されるべきであるクラスの名前であると仮定します。
-        <!-- TODO -->
-        If the value is
-        <code>mvc</code> or <code>uri</code> and <acronym>MVC</acronym>/URI page will be created.
+        もし、値が <code>mvc</code> または <code>uri</code> ならば、
+        <acronym>MVC</acronym>/URI 画面が作成されます。
     </para>
 
     <example id="zend.navigation.pages.factory.example.mvc">

+ 4 - 8
documentation/manual/ja/module_specs/Zend_Queue-Stomp.xml

@@ -36,14 +36,10 @@
 
             <listitem>
                 <para>
-                    <classname>Zend_Queue_Stomp_Client</classname>.
-                    このクラスは
-                    <!-- TODO -->
-                    provides 基本関数 to
-                    <methodname>send()</methodname> and
-                    <methodname>receive()</methodname>
-                    <classname>Zend_Queue_Stomp_Frame</classname>s to and from a
-                    Stomp互換サーバ
+                    <classname>Zend_Queue_Stomp_Client</classname>。
+                    このクラスは、<classname>Zend_Queue_Stomp_Frame</classname> を
+                    Stomp 互換サーバに <methodname>send()</methodname> したり、
+                    Stomp 互換サーバから、<methodname>receive()</methodname> する基本関数を提供します。
                 </para>
             </listitem>
         </itemizedlist>

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

@@ -404,6 +404,7 @@ Zend_Translate::clearCache();
             </para>
         </note>
 
+        <!-- TODO : to be translated -->
         <para>
             When the attached cache supports tagging you can set a own tag string by using the
             option <property>tag</property>. This allows you do delete only the cache from this

+ 18 - 11
documentation/manual/ja/module_specs/Zend_Translate-Additional.xml

@@ -75,10 +75,11 @@ $translate->addTranslation(
                     </row>
                 </thead>
                 <tbody>
-                     <row>
+                    <row>
                         <entry>adapter</entry>
-                        <entry><classname>Zend_Translate</classname> only</entry>
+                        <entry><classname>Zend_Translate</classname> のみ</entry>
 
+                        <!-- TODO : to be translated -->
                         <entry>
                             Defines the adapter which will be used for the translation. This option
                             can only be given when a new instance of
@@ -102,8 +103,9 @@ $translate->addTranslation(
 
                     <row>
                         <entry>cache</entry>
-                        <entry>all</entry>
+                        <entry>すべて</entry>
 
+                        <!-- TODO : to be translated -->
                         <entry>
                             Sets a cache for the translation adapter. This must be a instance of
                             <classname>Zend_Cache_Core</classname>
@@ -171,14 +173,14 @@ $translate->addTranslation(
                             ログに書き込まれるメッセージ
                         </entry>
                         <entry>
-                            <emphasis>Untranslated message within '%locale%': %message%</emphasis>
+                            <emphasis>'%locale%': %message% 内で翻訳されていないメッセージ</emphasis>
                         </entry>
                     </row>
 
                      <row>
                         <entry>logPriority</entry>
-                        <entry>all</entry>
-                        <entry>The priority which is used to write the message into the log</entry>
+                        <entry>すべて</entry>
+                        <entry>ログにメッセージを書き込むために使用される優先度</entry>
 
                         <entry>
                             <emphasis>5</emphasis>
@@ -208,8 +210,9 @@ $translate->addTranslation(
 
                      <row>
                         <entry>route</entry>
-                        <entry>all</entry>
+                        <entry>すべて</entry>
 
+                        <!-- TODO : to be translated -->
                         <entry>
                             This option allows to use reroute from non existing translations to
                             other languages. See the <link
@@ -237,8 +240,9 @@ $translate->addTranslation(
 
                      <row>
                         <entry>tag</entry>
-                        <entry>all</entry>
+                        <entry>すべて</entry>
 
+                        <!-- TODO : to be translated -->
                         <entry>
                             Sets an individual tag which is used for the attached cache. Using this
                             option allows to use and clear the cache for single instances. When this
@@ -490,8 +494,9 @@ $translate->getLocale();
         </sect3>
 
         <sect3 id="zend.translate.additional.languages.territory">
-            <title>Using a country as language</title>
+            <title>言語として国を使用</title>
 
+            <!-- TODO : to be translated -->
             <para>
                 You can also use a country as locale parameter. This could be useful when you
                 provide your user with flags, which represent the country in which he lives, and
@@ -538,7 +543,7 @@ $translate = new Zend_Translate(
 
     <sect2 id="zend.translate.additional.detection">
 
-        <title>自動的なソース検出</title>
+        <title>自動的なソース検出</title>
 
         <para>
             <classname>Zend_Translate</classname> は、翻訳ソースを自動的に検出できます。
@@ -782,8 +787,9 @@ $translate = new Zend_Translate(
         </sect3>
 
         <sect3 id="zend.translate.additional.detection.ignore">
-            <title>Ignoring special files and directories</title>
+            <title>特定のファイルやディレクトリを無視</title>
 
+            <!-- TODO : to be translated -->
             <para>
                 Sometimes it is useful to exclude files or even directories from being added
                 automatically. Therefor you can use the <property>ignore</property> option which
@@ -1176,6 +1182,7 @@ $translate->translate('unknown string');
 ]]></programlisting>
         </example>
 
+        <!-- TODO : to be translated -->
         <para>
             Additionally you are also able to change the priority which is used to write the message
             into the log. Per default the priority <emphasis>Zend_Log::NOTICE</emphasis> is used.

+ 8 - 11
documentation/manual/ja/module_specs/Zend_Translate-SourceCreation.xml

@@ -235,26 +235,23 @@ $translate = new Zend_Translate(
             全言語を対象とするようになっています。
         </para>
 
-        <!-- TODO : to be translated -->
         <note>
-            <title>Option useId</title>
+            <title>オプション useId</title>
 
             <para>
-                When you set the <emphasis>useId</emphasis> option to <constant>FALSE</constant>
-                then the <emphasis>srclang</emphasis> header will be used to define the language
-                which sets the message.
+                <emphasis>useId</emphasis> オプションを <constant>FALSE</constant> に設定すると、
+                <emphasis>srclang</emphasis> ヘッダが、メッセージを設定する言語を定義するために使われます。
             </para>
 
             <para>
-                In our example the message key would <emphasis>message1</emphasis> per default.
-                When this option is set to <constant>FALSE</constant> the message key
-                <emphasis>Nachricht1</emphasis> would be used.
+                私たちの例では、メッセージのキーは既定では <emphasis>message1</emphasis> です。
+                このオプションが <constant>FALSE</constant> に設定されると、
+                メッセージのキー <emphasis>Nachricht1</emphasis> が使われます。
             </para>
 
             <para>
-                Note that the <emphasis>tuv</emphasis> entry which is related to the
-                <emphasis>srclang</emphasis> entry must be the first
-                <emphasis>tuv</emphasis> entry which is set like shown in the above example.
+                <emphasis>srclang</emphasis> 項目に関係する <emphasis>tuv</emphasis> 項目が、
+                上記の例に示されたように設定される最初の <emphasis>tuv</emphasis> 項目でなければいけないことに注意してください。
             </para>
         </note>
     </sect2>

+ 7 - 9
documentation/manual/ja/module_specs/Zend_Validate-InArray.xml

@@ -11,33 +11,31 @@
         それは、多次元配列を確認することもできます。
     </para>
 
-    <!-- TODO : to be translated -->
     <sect3 id="zend.validate.set.in_array.options">
-        <title>Supported options for Zend_Validate_InArray</title>
+        <title>Zend_Validate_InArray でサポートされるオプション</title>
 
         <para>
-            The following options are supported for <classname>Zend_Validate_InArray</classname>:
+            下記のオプションが <classname>Zend_Validate_InArray</classname> でサポートされます。
         </para>
 
         <itemizedlist>
             <listitem>
                 <para>
-                    <emphasis><property>haystack</property></emphasis>: Sets the haystack for the
-                    validation.
+                    <emphasis><property>haystack</property></emphasis>: 検証に対するヘイスタックを設定します。
                 </para>
             </listitem>
 
             <listitem>
                 <para>
-                    <emphasis><property>recursive</property></emphasis>: Defines if the validation
-                    should be done recursive. This option defaults to <constant>FALSE</constant>.
+                    <emphasis><property>recursive</property></emphasis>: 検証が再帰的に行なわれるべきかどうか定義します。
+                    このオプションの既定値は <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>.
+                    <emphasis><property>strict</property></emphasis>: 検証が厳密に行なわれるべきかどうか定義します。
+                    このオプションの既定値は <constant>FALSE</constant> です。
                 </para>
             </listitem>
         </itemizedlist>

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

@@ -65,13 +65,13 @@ echo $server->handle();
         </para>
     </sect2>
 
-    <!-- TODO : to be translation -->
     <sect2 id="zend.xmlrpc.server.anatomy">
-        <title>Anatomy of a webservice</title>
+        <title>Web サービスの解剖図</title>
 
         <sect3 id="zend.xmlrpc.server.anatomy.general">
-            <title>General considerations</title>
+            <title>一般的な考慮点</title>
 
+            <!-- TODO : to be translation -->
             <para>
                 For maximum performance it is recommended to use a simple
                 bootstrap file for the server component. Using
@@ -415,10 +415,10 @@ echo $server->handle();
 ]]></programlisting>
         </example>
 
-        <!-- TODO : to be translated -->
         <example id="zend.xmlrpc.server.use.attach-class-with-arguments">
-            <title>Attaching a class with arguments</title>
+            <title>引数にクラスを添付</title>
 
+            <!-- TODO : to be translated -->
             <para>
                 The following example illustrates how to attach a class' public
                 methods and passing arguments to its methods. This can be used to specify certain
@@ -676,16 +676,16 @@ echo $server->handle($request);
 ]]></programlisting>
         </example>
 
-        <!-- TODO : to be translated -->
         <note>
             <para>
-                The server cache file should be located outside the document root.
+                サーバーのキャッシュファイルは、ドキュメントルートの外部に配置されるべきです。
             </para>
         </note>
 
         <example id="zend.xmlrpc.server.performance.xmlgen">
             <title>XML 生成を最適化</title>
 
+            <!-- TODO : to be translated -->
             <para>
                 <classname>Zend_XmlRpc_Server</classname> uses
                 <classname>DOMDocument</classname> of <acronym>PHP</acronym>