[PHP-DOC] cvs: phpdoc /ja/features images.xml /ja/functions filesystem.xml mcrypt.xml regex.xml From: Rui Hirokawa (louis <email protected>)
Date: 08/13/00

hirokawa Sun Aug 13 08:09:17 2000 EDT

  Modified files:
    /phpdoc/ja/features images.xml
    /phpdoc/ja/functions filesystem.xml mcrypt.xml regex.xml
  Log:
  update translation in mcrypt.xml
  
Index: phpdoc/ja/features/images.xml
diff -u phpdoc/ja/features/images.xml:1.1 phpdoc/ja/features/images.xml:1.2
--- phpdoc/ja/features/images.xml:1.1 Fri Dec 24 18:07:18 1999
+++ phpdoc/ja/features/images.xml Sun Aug 13 08:09:17 2000
@@ -1,13 +1,14 @@
  <chapter id="features.images">
- <title>GIF 画像の作成</title>
+ <title>イメージの作成および操作</title>
 
   <simpara>
- PHP の用途は、HTML 出力のみを作成するだけではありません。
- GIF イメージファイルを作成したり、
- GIF イメージストリームを作成したりすることにさえ使用することが
- できます。
- この機能を使用するためには、GD イメージ関数ライブラリと共に PHP
- をコンパイルする必要があります。
+ PHP の用途は、HTML 出力のみを作成するだけではありません。PHPにより
+ gif, png, jpg, wbmp, xpm といった様々なイメージフォーマットでイメー
+ ジファイルを作成したり操作したりすることも可能です。更に便利なこと
+ にPHPはイメージストリームを直接ブラウザに出力することも可能です。こ
+ の機能を動作させるには、イメージ関数のGDライブラリとともにPHPをコン
+ パイルする必要があります。GDとPHPは使用するイメージフォーマットによ
+ り他のライブラリも必要とします。
   </simpara>
 
   <para>
@@ -28,7 +29,7 @@
    </example>
 
    この例は、次のようなタグのあるページからコールされます。
- &lt;img src=&quot;button.php3?text&quot;&gt;
+ &lt;img src=&quot;button.php?text&quot;&gt;
     上の button.php3 スクリプトは文字列 &quot;text&quot; を引数とし、
     その文字列をここではベースイメージ &quot;images/button1.gif&quot; の上に
     重ね描きし、結果のイメージを出力します。
@@ -49,7 +50,7 @@
 sgml-indent-step:1
 sgml-indent-data:t
 sgml-parent-document:nil
-sgml-default-dtd-file:"../manual.ced"
+sgml-default-dtd-file:"../../manual.ced"
 sgml-exposed-tags:nil
 sgml-local-catalogs:nil
 sgml-local-ecat-files:nil
Index: phpdoc/ja/functions/filesystem.xml
diff -u phpdoc/ja/functions/filesystem.xml:1.13 phpdoc/ja/functions/filesystem.xml:1.14
--- phpdoc/ja/functions/filesystem.xml:1.13 Fri Aug 11 21:15:42 2000
+++ phpdoc/ja/functions/filesystem.xml Sun Aug 13 08:09:17 2000
@@ -40,7 +40,6 @@
    </refsect1>
   </refentry>
 
-
   <refentry id="function.chgrp">
    <refnamediv>
     <refname>chgrp</refname>
@@ -56,7 +55,8 @@
      </funcprototype>
     </funcsynopsis>
     <para>
- ファイルfilenameのグループをgroupに変更しようと試みます。
+ ファイル<parameter>filename</parameter>のグループを
+ <parameter>group</parameter>に変更しようと試みます。
      スーパーユーザのみがファイルのグループを任意に変更できます。
      その他のユーザは、ファイルのグループをそのユーザがメンバーとして
      属しているグループに変更できます。
@@ -97,8 +97,9 @@
     </para>
     <para>
      <parameter>mode</parameter>は自動的には8進数と見なされないので
- 注意して下さい。正しく指定するためには、<parameter>mode</parameter>
- の前にゼロ(0)を付ける必要があります。
+ 注意して下さい。このため、("g+w"のような)文字列は正常に動作しませ
+ ん。意図した操作を行うには、<parameter>mode</parameter>の前にゼロ
+ (0)を付ける必要があります。
      <informalexample>
       <programlisting role="php">
 chmod( "/somedir/somefile", 755 ); // 10 進数; おそらく間違い
@@ -147,11 +148,6 @@
      <function>chown</function>および<function>chmod</function>
      も参照下さい。
     </para>
- <note>
- <simpara>
- この関数は、Windowsでは動作しません。
- </simpara>
- </note>
    </refsect1>
   </refentry>
 
@@ -315,8 +311,8 @@
      </funcprototype>
     </funcsynopsis>
     <para>
- この関数は、ディレクトリを有する文字列を引数とし、対応するディスク
- で利用可能なバイト数を返します。
+ ディレクトリを指定することにより、この関数は対応するファイルシス
+ テムまたはディスクパーティションで利用可能なバイト数を返します。
     </para>
     <para>
      <example>
@@ -970,7 +966,7 @@
        <simpara>
         ロック中に <function>flock</function>でブロックを行いたくない場
         合は、<parameter>operation</parameter> に LOCK_NB ( PHP 4.0.1
- よۥ前の場合は 4 に設定します)を加えます。
+ よ゛ťɍの場合は 4 に設定します)を加えます。
        </simpara>
       </listitem>
      </itemizedlist>
@@ -1688,7 +1684,7 @@
      <function>clearstatcache</function>を参照下さい。
     </para>
     <para>
- <function>is_writeable</function>も参照下さい。
+ <function>is_writeable</function>も参照さい。
     </para>
    </refsect1>
   </refentry>
Index: phpdoc/ja/functions/mcrypt.xml
diff -u phpdoc/ja/functions/mcrypt.xml:1.5 phpdoc/ja/functions/mcrypt.xml:1.6
--- phpdoc/ja/functions/mcrypt.xml:1.5 Fri Aug 11 21:15:42 2000
+++ phpdoc/ja/functions/mcrypt.xml Sun Aug 13 08:09:17 2000
@@ -491,7 +491,7 @@
     <para>
      source には、MCRYPT_RAND (システムの乱数生成器),
      MCRYPT_DEV_RANDOM (/dev/random からデータを読む) ,MCRYPT_DEV_URANDOM
- (/dev/urandom からータを読む) を指定できます。
+ (/dev/urandom からüタを読む) を指定できます。
      MCRYPT_RAND を使用した場合、乱数生成器を初期化するために
      必ず前もって srand() をコールして下さい。
     </para>
@@ -894,19 +894,18 @@
      </funcprototype>
     </funcsynopsis>
     <para>
- <function>Mcrypt_get_iv_size</function> returns the size of
- the Initialisation Vector (IV). On error the function returns
- FALSE. If the IV is ignored in the specified cipher/mode
- combination zero is returned.
+ <function>mcrypt_get_iv_size</function> は初期化ベクトル(IV)の大
+ きさを返します。エラーの際にはfalseを返します。IVが指定した暗号/
+ モードで無視される場合にはゼロが返されます。
     </para>
     <para>
- <parameter>Cipher</parameter> is one of the MCRYPT_ciphername
- constants of the name of the algorithm as string.
+ <parameter>cipher</parameter> には、アルゴリズム名を表す定数
+ MCRYPT_暗号名の一つを文字列で指定します。
     </para>
     <para>
- <parameter>Mode</parameter> is one of the MCRYPT_MODE_modename
- constants of one of "ecb", "cbc", "cfb", "ofb", "nofb" or
- "stream".
+ <parameter>mode</parameter> には、"ecb", "cbc", "cfb", "ofb",
+ "nofb" ,"stream" のどれかを用いて定数 MCRYPT_MODE_モード名を
+ 指定します。
     </para>
    </refsect1>
   </refentry>
@@ -933,40 +932,38 @@
      </funcprototype>
     </funcsynopsis>
     <para>
- <function>Mcrypt_encrypt</function> encrypts the data
- and returns the encrypted data.
+ <function>mcrypt_encrypt</function> はデータを暗号化し、暗号化さ
+ れたデータを返します。
     </para>
     <para>
- <parameter>Cipher</parameter> is one of the MCRYPT_ciphername
- constants of the name of the algorithm as string.
+ <parameter>cipher</parameter> には、アルゴリズム名を表す定数
+ MCRYPT_暗号名の一つを文字列で指定します。
     </para>
     <para>
- <parameter>Key</parameter> is the key with which the data
- will be encrypted. If it's smaller that the required keysize, it
- is padded with '\0'.
+ <parameter>key</parameter> は、データを暗号化する際のキーです。必
+ 要なキー長よりも小さい場合には、'\0' gめられます。
     </para>
     <para>
- <parameter>Data</parameter> is the data that will be encrypted
- with the given cipher and mode. If the size of the data is not
- n * blocksize, the data will be padded with '\0'. The returned
- crypttext can be larger that the size of the data that is given
- by <parameter>data</parameter>.
+ <parameter>data</parameter> は、指定した暗号およびモードで暗号化
+ されます。データの大きさが n * blocksize でない場合、データは、
+ '\0'で埋められます。返される暗号化されたテキストは、
+ <parameter>data</parameter>んで指定したデータの大きさよりも大きく
+ なる可能性があります。
     </para>
     <para>
- <parameter>Mode</parameter> is one of the MCRYPT_MODE_modename
- constants of one of "ecb", "cbc", "cfb", "ofb", "nofb" or
- "stream".
+ <parameter>mode</parameter> には、"ecb", "cbc", "cfb", "ofb",
+ "nofb" ,"stream" のどれかを用いて定数 MCRYPT_MODE_モード名を
+ 指定します。
     </para>
     <para>
- The <parameter>IV</parameter> parameter is used for the
- initialisation in CBC, CFB, OFB modes, and in some algorithms
- in STREAM mode. If you do not supply an IV, while it is needed
- for an algorithm, the function issues a warning and uses an
- IV with all bytes set to '\0'.
+ パラメータ <parameter>IV</parameter> は、CBC, CFB, OFB モードおよ
+ びSREAMモードのいくつかのアルゴリズムの初期化の際に使用されます。
+ アルゴリズムで必要とするIVを指定しない場合、この関数は警告を発生
+ し、全てのバイトを'\0'に設定したIVを使用します。
     </para>
     <para>
      <example>
- <title><function>Mcrypt_encrypt</function> Example</title>
+ <title><function>mcrypt_encrypt</function> の例</title>
       <programlisting role="php">
 &lt;?php
 $iv = mcrypt_create_iv (mcrypt_get_iv_size (MCRYPT_RIJNDAEL_256, MCRYPT_MODE_ECB), MCRYPT_RAND);
@@ -979,7 +976,7 @@
 ?&gt;
       </programlisting>
      </example>
- The above example will print out:
+ 上記の例の出力は次のようになります。
      <programlisting>
 42
 64
@@ -991,7 +988,9 @@
   <refentry id="function.mcrypt-decrypt">
    <refnamediv>
     <refname>mcrypt_decrypt</refname>
- <refpurpose>指定したパラメータで暗号化されたテキストを複合する</refpurpose>
+ <refpurpose>
+ 指定したパラメータで暗号化されたテキストを複合化する
+ </refpurpose>
    </refnamediv>
    <refsect1>
     <title>説明</title>
@@ -1010,34 +1009,34 @@
      </funcprototype>
     </funcsynopsis>
     <para>
- <function>Mcrypt_decrypt</function> decrypts the data
- and returns the unencrypted data.
+ <function>mcrypt_decrypt</function> はデータを複合化し、
+ 複合化されたデータを返します。
     </para>
     <para>
- <parameter>Cipher</parameter> is one of the MCRYPT_ciphername
- constants of the name of the algorithm as string.
+ <parameter>cipher</parameter> には、アルゴリズム名を表す定数
+ MCRYPT_暗号名の一つを文字列で指定します。
     </para>
     <para>
- <parameter>Key</parameter> is the key with which the data
- is encrypted. If it's smaller that the required keysize, it
- is padded with '\0'.
+ <parameter>key</parameter> は、データを暗号化する際のキーです。必
+ 要なキー長よりも小さい場合には、'\0' で埋められます。
     </para>
     <para>
- <parameter>Data</parameter> is the data that will be decrypted
- with the given cipher and mode. If the size of the data is not
- n * blocksize, the data will be padded with '\0'.
+ <parameter>data</parameter> は、指定した暗号およびモードで暗号化
+ されます。データの大きさが n * blocksize でない場合、データは、
+ '\0'で埋められます。返される暗号化されたテキストは、
+ <parameter>data</parameter>んで指定したデータの大きさよりも大きく
+ なる可能性があります。
     </para>
     <para>
- <parameter>Mode</parameter> is one of the MCRYPT_MODE_modename
- constants of one of "ecb", "cbc", "cfb", "ofb", "nofb" or
- "stream".
+ <parameter>mode</parameter> には、"ecb", "cbc", "cfb", "ofb",
+ "nofb" ,"stream" のどれかを用いて定数 MCRYPT_MODE_モード名を
+ 指定します。
     </para>
     <para>
- The <parameter>IV</parameter> parameter is used for the
- initialisation in CBC, CFB, OFB modes, and in some algorithms
- in STREAM mode. If you do not supply an IV, while it is needed
- for an algorithm, the function issues a warning and uses an
- IV with all bytes set to '\0'.
+ パラメータ <parameter>IV</parameter> は、CBC, CFB, OFB モードおよ
+ びSREAMモードのいくつかのアルゴリズムの初期化の際に使用されます。
+ アルゴリズムで必要とするIVを指定しない場合、この関数は警告を発生
+ し、全てのバイトを'\0'に設定したIVを使用します。
     </para>
    </refsect1>
   </refentry>
@@ -1061,36 +1060,38 @@
      </funcprototype>
     </funcsynopsis>
     <para>
- This function opens the module of the algorithm and the mode
- to be used. The name of the algorithm is specified in algorithm,
- eg "twofish" or is one of the MCRYPT_ciphername constants.
- The library is closed by calling
- <function>mcrypt_module_close</function>, but there is no need
- to call that function if <function>mcrypt_generic_end</function>
- is called. Normally it returns an encryption descriptor, or
- FALSE on error.
- </para>
- <para>
- The <parameter>algorithm_directory</parameter> and
- <parameter>mode_directory</parameter> are used to locate the
- encryption modules. When you supply a directory name, it is used.
- When you set one of these to the empty string (""), the value set
- by the <parameter>mcrypt.algorithms_dir</parameter> or
- <parameter>mcrypt.modes_dir</parameter> ini-directive is used.
- When these are not set, the default directory are used that are
- compiled in into libmcrypt (usally /usr/local/lib/libmcrypt).
+ この関数は、使用するアルゴリズムおよびモードのモジュールをオープ
+ ンします。アルゴリズム名は、"twofish" または定数 MCRYPT_暗号名に
+ より algorithm で指定します。
+ ライブラリは<function>mcrypt_module_close</function>をコールする
+ ことによりクローズされますが、
+ <function>mcrypt_generic_end</function>をコールする場合には、この
+ 関数をコールする必要はありません。通常、この関数は暗号化ディスク
+ クリプタを返し、エラーの際にfalseを返します。
+ </para>
+ <para>
+ 暗号化モジュールの位置を指定する際には
+ <parameter>algorithm_directory</parameter> および
+ <parameter>mode_directory</parameter> が使用されます。
+ ディレクトリ名を指定した場合には、これが使用されます。
+ これらの一つに空の文字列("")を指定した場合、ini ディエクティブの
+ <parameter>mcrypt.algorithms_dir</parameter> または
+ <parameter>mcrypt.modes_dir</parameter>に設定された値が使用されま
+ す。これらが設定されていない場合、libmcryptをコンパイルした際のデ
+ フォルトのディレクトリ (通常は/usr/local/lib/libmcrypt)が使用され
+ ます。
     </para>
     <para>
      <example>
- <title><function>Mcrypt_module_open</function> Example</title>
+ <title><function>mcrypt_module_open</function> の例</title>
       <programlisting role="php">
 &lt;?php
 $td = mcrypt_module_open (MCRYPT_DES, "", MCRYPT_MODE_ECB, "/usr/lib/mcrypt-modes");
 ?&gt;
       </programlisting>
      </example>
- The above example will try to open the DES cipher from the default
- directory and the EBC mode from the directory /usr/lib/mcrypt-modes.
+ 上記の例は、デフォルトのディレクトリからDES暗号、ディレクトリ
+ /usr/lib/mcrypt-modesからEBCモードをオープンします。
     </para>
    </refsect1>
   </refentry>
@@ -1111,21 +1112,21 @@
      </funcprototype>
     </funcsynopsis>
     <para>
- The maximum length of the key should be the one obtained by
- calling <function>mcrypt_enc_get_key_size</function> and every
- value smaller than this is legal. The IV should normally have
- the size of the algorithms block size, but you must obtain the
- size by calling <function>mcrypt_enc_get_iv_size</function>.
- IV is ignored in ECB. IV MUST exist in CFB, CBC, STREAM, nOFB
- and OFB modes. It needs to be random and unique (but not secret).
- The same IV must be used for encryption/decryption. If you do not
- want to use it you should set it to zeros, but this is not
- recommended. The function returns (-1) on error.
+ キーの最大長は、<function>mcrypt_enc_get_key_size</function>をコー
+ ルした際に得られるキー長の一つである必要があり、この値より小さな
+ 値は全て有効です。IVは通常そのアルゴリズムのブロック長と同じ大き
+ さですが、<function>mcrypt_enc_get_iv_size</function>をコールする
+ ことにより、その大きさを得る必要があります。IVはECBでは無視されま
+ す。IVはCFB、CBC、STREAM、nOFBでは必須です。
+ IVはランダムで一意である必要があります(しかし、秘密ではある必要
+ はありません)。暗号化と複合化で同じIVを使用する必要があります。
+ IVを使用したくない場合にはゼロに設定しますが、これは推奨されませ
+ ん。この関数はエラーの際に (-1) を返します。
     </para>
     <para>
- You need to call this function before every
- <function>mcrypt_generic</function> or
- <function>mdecrypt_generic</function>.
+ <function>mcrypt_generic</function> または
+ <function>mdecrypt_generic</function> をコールする前に常にこの関
+ 数をコールする必要があります。
     </para>
    </refsect1>
   </refentry>
@@ -1145,11 +1146,10 @@
      </funcprototype>
     </funcsynopsis>
     <para>
- This function encrypts data. The data is padded with "\0"
- to make sure the length of the data is n * blocksize. This
- function returns the encrypted data. Note that the length
- of the returned string can in fact be longer then the input,
- due to the padding of the data.
+ この関数は、データを暗号化します。データ長をn * blocksizeとするた
+ めにデータは"\0"で埋められます。この関数は、暗号化されたデータを
+ 返します。データのパディングが行われるため、返される文字列の長さ
+ は入力よりも長いことがあることに注意して下さい。
     </para>
    </refsect1>
   </refentry>
@@ -1157,7 +1157,7 @@
   <refentry id="function.mdecrypt-generic">
    <refnamediv>
     <refname>mdecrypt_generic</refname>
- <refpurpose>データを複合する</refpurpose>
+ <refpurpose>データを複合化する</refpurpose>
    </refnamediv>
    <refsect1>
     <title>説明</title>
@@ -1169,13 +1169,13 @@
      </funcprototype>
     </funcsynopsis>
     <para>
- This function decrypts data. Note that the length of the
- returned string can in fact be longer then the unencrypted
- string, due to the padding of the data.
+ この関数は、データを複合化します。データのパディングが行われるた
+ め、返される文字列の長さは暗号化前の文字列の長さよりも長くなる可
+ 能性があることに注意して下さい。
     </para>
     <para>
      <example>
- <title><function>Mdecrypt_generic</function> Example</title>
+ <title><function>mdecrypt_generic</function> の例</title>
       <programlisting role="php">
 &lt;?php
 $iv_size = mcrypt_enc_get_iv_size ($td));
@@ -1194,8 +1194,8 @@
 ?&gt;
       </programlisting>
      </example>
- The above example shows how to check if the data before the
- encryption is the same as the data after the decryption.
+ 上記の例は、暗号化前のデータ複合化したデータと同じであるかどうか
+ を調べる方法を示すものです。
     </para>
    </refsect1>
   </refentry>
@@ -1214,9 +1214,9 @@
      </funcprototype>
     </funcsynopsis>
     <para>
- This function terminates encryption specified by the encryption
- descriptor (td). Actually it clears all buffers, and closes
- all the modules used. Returns FALSE on error, or TRUE on succes.
+ この関数は、暗号化記述子(td) で指定した暗号化処理を終了します。
+ この関数は全てのバッファをクリアし、使用した全てのモジュールをク
+ ローズします。エラーの場合にfalse、成功時にtrueを返します。
     </para>
    </refsect1>
   </refentry>
@@ -1235,9 +1235,9 @@
      </funcprototype>
     </funcsynopsis>
     <para>
- This function runs the self test on the algorithm specified by the
- descriptor td. If the self test succeeds it returns zero. In case
- of an error, it returns 1.
+ この関数は、記述子tdで指定したアルゴリズムのセルフテストを実行し
+ ます。セルフテストが成功した場合はゼロを返します。エラーの場合は1
+ を返します。
     </para>
    </refsect1>
   </refentry>
@@ -1258,8 +1258,9 @@
      </funcprototype>
     </funcsynopsis>
     <para>
- This function returns 1 if the mode is for use with block algorithms,
- otherwise it returns 0. (eg. 0 for stream, and 1 for cbc, cfb, ofb).
+ この関数は、モードがブロックアルゴリズムを使用している場合に 1、
+ その他の場合に 0 を返します。(例えば、streamでは 0、cbc, cfb, ofb
+ では 1)
     </para>
    </refsect1>
   </refentry>
@@ -1281,8 +1282,8 @@
      </funcprototype>
     </funcsynopsis>
     <para>
- This function returns 1 if the algorithm is a block algorithm,
- or 0 if it is a stream algorithm.
+ この関数は、アルゴリズムがブロックアルゴリズムである場合に 1、ス
+ トリームアルゴリズムである場合に 0 を返します。
     </para>
    </refsect1>
   </refentry>
@@ -1303,9 +1304,9 @@
      </funcprototype>
     </funcsynopsis>
     <para>
- This function returns 1 if the mode outputs blocks of bytes or
- 0 if it outputs bytes. (eg. 1 for cbc and ecb, and 0 for cfb and
- stream).
+ この関数は、バイトブロックを出力するモードの場合に 1、バイト出力
+ を行うモードの場合に 0 を返します。(例: cbc と ecb の場合に1,
+ cfb と stream の場合に 0)
     </para>
    </refsect1>
   </refentry>
@@ -1324,8 +1325,8 @@
      </funcprototype>
     </funcsynopsis>
     <para>
- This function returns the block size of the algorithm specified by
- the encryption descriptor td in bytes.
+ この関数は、暗号化記述子 td で指定したアルゴリズムのブロック長を
+ バイト単位で返します。
     </para>
    </refsect1>
   </refentry>
@@ -1346,8 +1347,8 @@
      </funcprototype>
     </funcsynopsis>
     <para>
- This function returns the maximum supported key size of the
- algorithm specified by the encryption descriptor td in bytes.
+ この関数は、暗号化記述子 td で指定したアルゴリズムでサポートされ
+ る最大キー長をバイト単位で返します。
     </para>
    </refsect1>
   </refentry>
@@ -1368,11 +1369,10 @@
      </funcprototype>
     </funcsynopsis>
     <para>
- Returns an array with the key sizes supported by the algorithm
- specified by the encryption descriptor. If it returns an empty
- array then all key sizes between 1 and
- <function>mcrypt_enc_get_key_size</function> are supported by the
- algorithm.
+ 暗号化記述子で指定したアルゴリズムでサポートされるキー長を配列と
+ して返します。返された配列が空の場合、全てのキー長は、1と
+ そのアルゴリズムでサポートされる
+ <function>mcrypt_enc_get_key_size</function>の値の間となります。
     </para>
    </refsect1>
   </refentry>
@@ -1391,10 +1391,10 @@
      </funcprototype>
     </funcsynopsis>
     <para>
- This function returns the size of the iv of the algorithm
- specified by the encryption descriptor in bytes. If it returns
- '0' then the IV is ignored in the algorithm. An IV is used in
- cbc, cfb and ofb modes, and in some algorithms in stream mode.
+ この関数は、暗号化記述子で指定したアルゴリズムの iv の大きさをバ
+ イト単位で返します。この関数が、'0' を返す場合、IVはそのアルゴリ
+ ズムでは無視されます。IVは、cbc,cfb,ofbモード、およびストリームモー
+ ドのいくつかのアルゴリズムで使用されます。
     </para>
    </refsect1>
   </refentry>
@@ -1413,7 +1413,7 @@
      </funcprototype>
     </funcsynopsis>
     <para>
- This function returns the name of the algorithm.
+ この関数はアルゴリズム名を返します。
     </para>
    </refsect1>
   </refentry>
@@ -1432,7 +1432,7 @@
      </funcprototype>
     </funcsynopsis>
     <para>
- This function returns the name of the mode.
+ この関数はモード名を返します。
     </para>
    </refsect1>
   </refentry>
@@ -1440,7 +1440,7 @@
   <refentry id="function.mcrypt-module-self-test">
    <refnamediv>
     <refname>mcrypt_module_self_test</refname>
- <refpurpose>指定したモジュールのセルフテストを実行する</refpurpose>
+ <refpurpose>指定したモジュールのセルフテストを実行す</refpurpose>
    </refnamediv>
    <refsect1>
     <title>説明</title>
@@ -1448,17 +1448,19 @@
      <funcprototype>
       <funcdef>bool <function>mcrypt_module_self_test</function></funcdef>
       <paramdef>string <parameter>algorithm</parameter></paramdef>
- <paramdef>string <parameter><optional>lib_dir</optional></parameter></paramdef>
+ <paramdef>string
+ <parameter><optional>lib_dir</optional></parameter>
+ </paramdef>
      </funcprototype>
     </funcsynopsis>
     <para>
- This function runs the self test on the algorithm specified.
- The optional <parameter>lib_dir</parameter> parameter can contain
- the location of where the algorithm module is on the system.
+ この関数は、指定したアルゴリズムのセルフテストを実行します。
+ オプションのパラメータ<parameter>lib_dir</parameter>によりストリー
+ ム上でのモジュールalgorithmの位置を指定することが可能です。
     </para>
     <para>
- The function returns TRUE if the self test succeeds, or FALSE when
- if fails.
+ この関数は、セルフテストが成功した場合 true、失敗した場合に false
+ を返します。
     </para>
    </refsect1>
   </refentry>
@@ -1476,14 +1478,17 @@
      <funcprototype>
       <funcdef>bool <function>mcrypt_module_is_block_algorithm_mode</function></funcdef>
       <paramdef>string <parameter>mode</parameter></paramdef>
- <paramdef>string <parameter><optional>lib_dir</optional></parameter></paramdef>
+ <paramdef>string
+ <parameter><optional>lib_dir</optional></parameter>
+ </paramdef>
      </funcprototype>
     </funcsynopsis>
     <para>
- This function returns TRUE if the mode is for use with block algorithms,
- otherwise it returns 0. (eg. 0 for stream, and 1 for cbc, cfb, ofb).
- The optional <parameter>lib_dir</parameter> parameter can contain
- the location where the mode module is on the system.
+ この関数は、mode がブロックアルゴリズムを使用する場合にtrue、
+ その他の場合に 0 を返します。(例: stream の場合に 0、cbc, cfb,
+ ofb の場合に1)
+ オプションのパラメータ<parameter>lib_dir</parameter>によりストリー
+ ム上でのモジュールmodeの位置を指定することが可能です。
     </para>
    </refsect1>
   </refentry>
@@ -1501,14 +1506,16 @@
      <funcprototype>
       <funcdef>bool <function>mcrypt_module_is_block_algorithm</function></funcdef>
       <paramdef>string <parameter>algorithm</parameter></paramdef>
- <paramdef>string <parameter><optional>lib_dir</optional></parameter></paramdef>
+ <paramdef>string
+ <parameter><optional>lib_dir</optional></parameter>
+ </paramdef>
      </funcprototype>
     </funcsynopsis>
     <para>
- This function returns TRUE if the specified algorithm is a block
- algorithm, or FALSE is it is a stream algorithm.
- The optional <parameter>lib_dir</parameter> parameter can contain
- the location where the algorithm module is on the system.
+ この関数は、指定したアルゴリズムがブロックアルゴリズムの場合に
+ true、ストリームアルゴリズムの場合に false を返します。
+ オプションのパラメータ<parameter>lib_dir</parameter>によりストリー
+ ム上でのモジュールalgorithmの位置を指定することが可能です。
     </para>
    </refsect1>
   </refentry>
@@ -1526,14 +1533,17 @@
      <funcprototype>
       <funcdef>bool <function>mcrypt_module_is_block_mode</function></funcdef>
       <paramdef>string <parameter>mode</parameter></paramdef>
- <paramdef>string <parameter><optional>lib_dir</optional></parameter></paramdef>
+ <paramdef>string
+ <parameter><optional>lib_dir</optional></parameter>
+ </paramdef>
      </funcprototype>
     </funcsynopsis>
     <para>
- This function returns TRUE if the mode outputs blocks of bytes or
- FALSE if it outputs just bytes. (eg. 1 for cbc and ecb, and 0 for cfb
- and stream). The optional <parameter>lib_dir</parameter> parameter
- can contain the location where the mode module is on the system.
+ この関数は、ブロック出力を行うモードの場合に true、バイトのみを出
+ 力する場合に false を返します。(例: cbcとecb の場合に1、cfbと
+ streamの場合に0)オプションのパラメータ
+ <parameter>lib_dir</parameter>によりストリーム上でのモジュール
+ modeの位置を指定することが可能です。
     </para>
    </refsect1>
   </refentry>
@@ -1549,13 +1559,16 @@
      <funcprototype>
       <funcdef>int <function>mcrypt_module_get_algo_block_size</function></funcdef>
       <paramdef>string <parameter>algorithm</parameter></paramdef>
- <paramdef>string <parameter><optional>lib_dir</optional></parameter></paramdef>
+ <paramdef>string
+ <parameter><optional>lib_dir</optional></parameter>
+ </paramdef>
      </funcprototype>
     </funcsynopsis>
     <para>
- This function returns the block size of the algorithm specified in
- bytes. The optional <parameter>lib_dir</parameter> parameter
- can contain the location where the mode module is on the system.
+ この関数は、指定したアルゴリズムでサポートされるブロック長をバイ
+ ト単位で返します。オプションのパラメータ
+ <parameter>lib_dir</parameter>によりストリーム上でのモードモジュー
+ ルの位置を指定することが可能です。
     </para>
    </refsect1>
   </refentry>
@@ -1563,7 +1576,9 @@
   <refentry id="function.mcrypt-module-get-algo-key-size">
    <refnamediv>
     <refname>mcrypt_module_get_algo_key_size</refname>
- <refpurpose>オープンされたモードでサポートされる最大キー長を返す</refpurpose>
+ <refpurpose>
+ オープンされたモードでサポートされる最大キー長を返す
+ </refpurpose>
    </refnamediv>
    <refsect1>
     <title>説明</title>
@@ -1571,14 +1586,16 @@
      <funcprototype>
       <funcdef>int <function>mcrypt_module_get_algo_key_size</function></funcdef>
       <paramdef>string <parameter>algorithm</parameter></paramdef>
- <paramdef>string <parameter><optional>lib_dir</optional></parameter></paramdef>
+ <paramdef>string
+ <parameter><optional>lib_dir</optional></parameter>
+ </paramdef>
      </funcprototype>
     </funcsynopsis>
     <para>
- This function returns the maximum supported key size of the
- algorithm specified in bytes. The optional
- <parameter>lib_dir</parameter> parameter can contain the
- location where the mode module is on the system.
+ この関数は、指定したアルゴリズムでサポートされる最大キー長をバイ
+ ト単位で返します。オプションのパラメータ
+ <parameter>lib_dir</parameter>によりストリーム上でのモードモジュー
+ ルの位置を指定することが可能です。
     </para>
    </refsect1>
   </refentry>
Index: phpdoc/ja/functions/regex.xml
diff -u phpdoc/ja/functions/regex.xml:1.4 phpdoc/ja/functions/regex.xml:1.5
--- phpdoc/ja/functions/regex.xml:1.4 Sun Jun 25 06:25:53 2000
+++ phpdoc/ja/functions/regex.xml Sun Aug 13 08:09:17 2000
@@ -92,7 +92,7 @@
     <simpara>
      <parameter>pattern</parameter>の括弧でくくられた部分文字列に
      マッチし、かつこの関数が3番目の引数<parameter>regs</parameter>を指定
- してコールされた場合、マッチした部分が<parameter>regs</parameter>
+ してコールされた場合、マッチした部分が配列<parameter>regs</parameter>
      に格納されます。$regs[1]は最初の左括弧が始まる部分文字列を保持、
      $regs[2]は二番目の左括弧が始まる部分文字列を保持、...、
      といったようになっています。