hirokawa Sun Apr 8 16:07:42 2001 EDT Modified files: /phpdoc/ja/functions array.xml datetime.xml ming.xml openssl.xml pspell.xml Log: fixing typos, update translation.
Index: phpdoc/ja/functions/array.xml diff -u phpdoc/ja/functions/array.xml:1.22 phpdoc/ja/functions/array.xml:1.23 --- phpdoc/ja/functions/array.xml:1.22 Sun Mar 18 08:36:45 2001 +++ phpdoc/ja/functions/array.xml Sun Apr 8 16:07:41 2001 @@ -1773,7 +1773,9 @@ <funcdef>bool in_array</funcdef> <paramdef>mixed <parameter>needle</parameter></paramdef> <paramdef>array <parameter>haystack</parameter></paramdef> - <paramdef>bool <parameter>strict</parameter></paramdef> + <paramdef>bool + <parameter><optional>strict</optional></parameter> + </paramdef> </funcprototype> </funcsynopsis> <para> Index: phpdoc/ja/functions/datetime.xml diff -u phpdoc/ja/functions/datetime.xml:1.22 phpdoc/ja/functions/datetime.xml:1.23 --- phpdoc/ja/functions/datetime.xml:1.22 Thu Mar 22 07:48:05 2001 +++ phpdoc/ja/functions/datetime.xml Sun Apr 8 16:07:41 2001 @@ -253,7 +253,7 @@ $today = date("Ymd"); // 20010310 $today = date('h-i-s, j-m-y, it is w Day z '); // 05-16-17, 10-03-01, 1631 1618 6 Fripm01 $today = date('\i\t \i\s \t\h\e jS \d\a\y.'); // It is the 10th day. -$today = date("D M j g:i:s T Y"); // Sat Mar 10 15:16:08 MST 2001 +$today = date("D M j G:i:s T Y"); // Sat Mar 10 15:16:08 MST 2001 $today = date('H:m:s \m \i\s\ \m\o\n\t\h'); // 17:03:17 m is month $today = date("H:i:s"); // 17:16:17 </programlisting> Index: phpdoc/ja/functions/ming.xml diff -u phpdoc/ja/functions/ming.xml:1.1 phpdoc/ja/functions/ming.xml:1.2 --- phpdoc/ja/functions/ming.xml:1.1 Thu Apr 5 08:09:16 2001 +++ phpdoc/ja/functions/ming.xml Sun Apr 8 16:07:42 2001 @@ -213,7 +213,7 @@ <refentry id="function.swfmovie.output"> <refnamediv> <refname>SWFMovie->output</refname> - <refpurpose>Dumps your lovingly prepared movie out.</refpurpose> + <refpurpose>作成したムービーを出力する</refpurpose> </refnamediv> <refsect1> <title>説明</title> @@ -224,25 +224,23 @@ </funcprototype> </funcsynopsis> <para> - <function>swfmovie->output</function> dumps your lovingly - prepared movie out. - In PHP, preceding this with the command + <function>swfmovie->output</function> は、作成したムービーを出力 + します。PHP +では、この前に次のコマンドを実行することにより、ブラ + ウザにflashムービーが出力されます。 <programlisting role="php"> <?php header('Content-type: application/x-shockwave-flash'); ?> </programlisting> - convinces the browser to display this as a flash movie. </para> <simpara> - See also <function>swfmovie->save</function> + <function>swfmovie->save</function> も参照下さい。 </simpara> <simpara> - See examples in : <function>swfmovie->streammp3</function>, <function>swfdisplayitem->rotateto</function>, - <function>swfaction</function>... - Any example will use this method. + <function>swfaction</function> 等の例も参照下さい。全ての例は、こ + のメソッドを使用しています。 </simpara> </refsect1> </refentry> @@ -250,7 +248,7 @@ <refentry id="function.swfmovie.save"> <refnamediv> <refname>SWFMovie->save</refname> - <refpurpose>Saves your movie in a file.</refpurpose> + <refpurpose>ムービーをファイルに保存する</refpurpose> </refnamediv> <refsect1> <title>説明</title> @@ -261,11 +259,11 @@ </funcprototype> </funcsynopsis> <para> - <function>swfmovie->save</function> saves your movie to the - file named <parameter>filename</parameter>. + <function>swfmovie->save</function> は、ムービーを + <parameter>filename</parameter> +という名前のファイルに保存します。 </para> <simpara> - See also <function>output</function> + <function>output</function> も参照下さい。 </simpara> </refsect1> </refentry> @@ -273,7 +271,7 @@ <refentry id="function.swfmovie.add"> <refnamediv> <refname>SWFMovie->add</refname> - <refpurpose>Adds any type of data to a movie.</refpurpose> + <refpurpose>ムービーにデータ型を追加する</refpurpose> </refnamediv> <refsect1> <title>説明</title> @@ -284,25 +282,27 @@ </funcprototype> </funcsynopsis> <para> - <function>swfmovie->add</function> adds <parameter>instance</parameter> to - the current movie. <parameter>instance</parameter> is any type of data : - Shapes, text, fonts, etc. must all be add'ed to the movie to make this work. + <function>swfmovie->add</function> は、 + <parameter>instance</parameter> +をカレントのムービーに追加します。 + <parameter>instance</parameter> は、次の型のデータのどれかとなり + ます。shapes, text, fonts, +等。ムービーで動作させたいものは、全て + 追加する必要があります。 </para> <para> - For displayable types (shape, text, button, sprite), this returns an - <function>SWFDisplayItem</function>, a handle to the object in a display - list. Thus, you can add the same shape to a movie multiple - times and get separate handles back for each separate instance. + 表示可能な型 (shape, text, button, +sprite)の場合、このメソッドは、 + 表示リスト内のオブジェクトへのハンドル + <function>SWFDisplayItem</function> を返します。つまり、同じシェー + +プをムービーに複数回追加することができ、各インスタンスについて異 + なったハンドルを得ることが可能です。 </para> <simpara> - See also all other objects (adding this later), and - <function>swfmovie->remove</function> + (後述の)他の全てのオブジェクトに関する記述および + <function>swfmovie->remove</function> も参照下さい。 </simpara> <simpara> - See examples in : - <function>swfdisplayitem->rotateto</function> and - <function>swfshape->addfill</function>. - </simpara> + <function>swfdisplayitem->rotateto</function> および + <function>swfshape->addfill</function> の例も参照下さい。 + </simpara> </refsect1> </refentry> @@ -310,7 +310,9 @@ <refentry id="function.swfmovie.remove"> <refnamediv> <refname>SWFMovie->remove</refname> - <refpurpose>Removes the object instance from the display list.</refpurpose> + <refpurpose> + 表示リストからオブジェクトのインスタンスを削除する + </refpurpose> </refnamediv> <refsect1> <title>説明</title> @@ -321,11 +323,11 @@ </funcprototype> </funcsynopsis> <para> - <function>swfmovie->remove</function> removes the object instance - <parameter>instance</parameter> from the display list. + <function>swfmovie->remove</function> は、表示リストからオブジェ + クトのインスタンス <parameter>instance</parameter>を削除します。 </para> <simpara> - See also <function>swfmovie->add</function> + <function>swfmovie->add</function> も参照下さい。 </simpara> </refsect1> </refentry> @@ -333,7 +335,7 @@ <refentry id="function.swfmovie.setbackground"> <refnamediv> <refname>SWFMovie->setbackground</refname> - <refpurpose>Sets the background color.</refpurpose> + <refpurpose>背景色を設定する</refpurpose> </refnamediv> <refsect1> <title>説明</title> @@ -346,7 +348,8 @@ </funcprototype> </funcsynopsis> <para> - <function>swfmovie->setbackground</function> sets the background color. Why is + <function>swfmovie->setbackground</function>は背景色を設定します。 + Why is there no rgba version? Think about it. (Actually, that's not such a dumb question after all- you might want to let the html background show through. There's a way to do that, but it only works on IE4. Search the @@ -359,7 +362,7 @@ <refentry id="function.swfmovie.setrate"> <refnamediv> <refname>SWFMovie->setrate</refname> - <refpurpose>Sets the animation's frame rate.</refpurpose> + +<refpurpose>アニメーションのフレームレートを設定する</refpurpose> </refnamediv> <refsect1> <title>説明</title> @@ -382,7 +385,7 @@ <refentry id="function.swfmovie.setdimension"> <refnamediv> <refname>SWFMovie->setdimension</refname> - <refpurpose>Sets the movie's width and height.</refpurpose> + <refpurpose>ムービーの幅と高さを設定する</refpurpose> </refnamediv> <refsect1> <title>説明</title> @@ -394,8 +397,9 @@ </funcprototype> </funcsynopsis> <para> - <function>swfmovie->setdimension</function> sets the movie's width - to <parameter>width</parameter> and height to <parameter>height</parameter>. + <function>swfmovie->setdimension</function> は、ムービーの幅を + <parameter>width</parameter> に、高さを + <parameter>height</parameter>に設定します。 </para> </refsect1> </refentry> @@ -403,7 +407,7 @@ <refentry id="function.swfmovie.setframes"> <refnamediv> <refname>SWFMovie->setframes</refname> - <refpurpose>Sets the total number of frames in the animation.</refpurpose> + <refpurpose>アニメーションの総フレーム数を設定する</refpurpose> </refnamediv> <refsect1> <title>説明</title> @@ -494,7 +498,7 @@ <refentry id="function.swfdisplayitem"> <refnamediv> <refname>SWFDisplayItem</refname> - <refpurpose>Creates a new displayitem object.</refpurpose> + <refpurpose>新規に displayitem オブジェクトを作成する</refpurpose> </refnamediv> <refsect1> <title>説明</title> @@ -529,7 +533,7 @@ <refentry id="function.swfdisplayitem.moveto"> <refnamediv> <refname>SWFDisplayItem->moveTo</refname> - <refpurpose>Moves object in global coordinates.</refpurpose> + +<refpurpose>グローバル座標系でオブジェクトを移動する</refpurpose> </refnamediv> <refsect1> <title>説明</title> @@ -559,7 +563,7 @@ <refentry id="function.swfdisplayitem.move"> <refnamediv> <refname>SWFDisplayItem->move</refname> - <refpurpose>Moves object in relative coordinates.</refpurpose> + <refpurpose>オブジェクトを相対座標系で移動する</refpurpose> </refnamediv> <refsect1> <title>説明</title> @@ -590,7 +594,7 @@ <refentry id="function.swfdisplayitem.scaleto"> <refnamediv> <refname>SWFDisplayItem->scaleTo</refname> - <refpurpose>Scales the object in global coordinates.</refpurpose> + +<refpurpose>グローバル座標系でオブジェクトを拡大縮小する</refpurpose> </refnamediv> <refsect1> <title>説明</title> @@ -620,7 +624,7 @@ <refentry id="function.swfdisplayitem.scale"> <refnamediv> <refname>SWFDisplayItem->scale</refname> - <refpurpose>Scales the object in relative coordinates.</refpurpose> + <refpurpose>相対座標系でオブジェクトを拡大縮小する</refpurpose> </refnamediv> <refsect1> <title>説明</title> @@ -651,7 +655,7 @@ <refentry id="function.swfdisplayitem.rotateto"> <refnamediv> <refname>SWFDisplayItem->rotateTo</refname> - <refpurpose>Rotates the object in global coordinates.</refpurpose> + +<refpurpose>グローバル座標系でオブジェクトを回転する</refpurpose> </refnamediv> <refsect1> <title>説明</title> @@ -764,7 +768,7 @@ <refentry id="function.swfdisplayitem.rotate"> <refnamediv> <refname>SWFDisplayItem->Rotate</refname> - <refpurpose>Rotates in relative coordinates.</refpurpose> + <refpurpose>相対座標系で回転する</refpurpose> </refnamediv> <refsect1> <title>説明</title> @@ -793,7 +797,7 @@ <refentry id="function.swfdisplayitem.skewxto"> <refnamediv> <refname>SWFDisplayItem->skewXTo</refname> - <refpurpose>Sets the X-skew.</refpurpose> + <refpurpose>X-skewを設定する</refpurpose> </refnamediv> <refsect1> <title>説明</title> @@ -826,7 +830,7 @@ <refentry id="function.swfdisplayitem.skewx"> <refnamediv> <refname>SWFDisplayItem->skewX</refname> - <refpurpose>Sets the X-skew.</refpurpose> + <refpurpose>X-skewに追加する</refpurpose> </refnamediv> <refsect1> <title>説明</title> @@ -857,7 +861,7 @@ <refentry id="function.swfdisplayitem.skewyto"> <refnamediv> <refname>SWFDisplayItem->skewYTo</refname> - <refpurpose>Sets the Y-skew.</refpurpose> + <refpurpose>Y-skewを設定する</refpurpose> </refnamediv> <refsect1> <title>説明</title> @@ -890,7 +894,7 @@ <refentry id="function.swfdisplayitem.skewy"> <refnamediv> <refname>SWFDisplayItem->skewY</refname> - <refpurpose>Sets the Y-skew.</refpurpose> + <refpurpose>Y-skewに追加する</refpurpose> </refnamediv> <refsect1> <title>説明</title> @@ -921,7 +925,7 @@ <refentry id="function.swfdisplayitem.setdepth"> <refnamediv> <refname>SWFDisplayItem->setDepth</refname> - <refpurpose>Sets z-order</refpurpose> + <refpurpose>z-orderを設定する</refpurpose> </refnamediv> <refsect1> <title>説明</title> @@ -950,7 +954,7 @@ <refentry id="function.swfdisplayitem.remove"> <refnamediv> <refname>SWFDisplayItem->remove</refname> - <refpurpose>Removes the object from the movie</refpurpose> + <refpurpose>ムービーからオブジェクトを削除する</refpurpose> </refnamediv> <refsect1> <title>説明</title> @@ -979,7 +983,7 @@ <refentry id="function.swfdisplayitem.setname"> <refnamediv> <refname>SWFDisplayItem->setName</refname> - <refpurpose>Sets the object's name</refpurpose> + <refpurpose>オブジェクトの名前を設定する</refpurpose> </refnamediv> <refsect1> <title>説明</title> @@ -1006,7 +1010,7 @@ <refentry id="function.swfdisplayitem.setratio"> <refnamediv> <refname>SWFDisplayItem->setRatio</refname> - <refpurpose>Sets the object's ratio.</refpurpose> + <refpurpose>オブジェクト比を設定する</refpurpose> </refnamediv> <refsect1> <title>説明</title> @@ -1029,7 +1033,7 @@ <para> This simple example will morph nicely three concentric circles. <example> - <title><function>swfdisplayitem->setname</function> example</title> + <title><function>swfdisplayitem->setname</function>の例</title> <programlisting role="php"> <?php @@ -1097,17 +1101,27 @@ <refentry id="function.swfdisplayitem.addcolor"> <refnamediv> <refname>SWFDisplayItem->addColor</refname> - <refpurpose>Adds the given color to this item's color transform.</refpurpose> + <refpurpose> + このアイテムの色変換に指定した色を追加する + </refpurpose> </refnamediv> <refsect1> <title>説明</title> <funcsynopsis> <funcprototype> <funcdef>void <function>swfdisplayitem->addcolor</function></funcdef> - <paramdef>integer <parameter><optional>red</optional></parameter></paramdef> - <paramdef>integer <parameter><optional>green</optional></parameter></paramdef> - <paramdef>integer <parameter><optional>blue</optional></parameter></paramdef> - <paramdef>integer <parameter><optional>a</optional></parameter></paramdef> + <paramdef>integer + <parameter><optional>red</optional></parameter> + </paramdef> + <paramdef>integer + <parameter><optional>green</optional></parameter> + </paramdef> + <paramdef>integer + <parameter><optional>blue</optional></parameter> + </paramdef> + <paramdef>integer + <parameter><optional>a</optional></parameter> + </paramdef> </funcprototype> </funcsynopsis> <para> @@ -1126,17 +1140,25 @@ <refentry id="function.swfdisplayitem.multcolor"> <refnamediv> <refname>SWFDisplayItem->multColor</refname> - <refpurpose>Multiplies the item's color transform.</refpurpose> + <refpurpose>アイテムの色変換を乗算する</refpurpose> </refnamediv> <refsect1> <title>説明</title> <funcsynopsis> <funcprototype> <funcdef>void <function>swfdisplayitem->multcolor</function></funcdef> - <paramdef>integer <parameter><optional>red</optional></parameter></paramdef> - <paramdef>integer <parameter><optional>green</optional></parameter></paramdef> - <paramdef>integer <parameter><optional>blue</optional></parameter></paramdef> - <paramdef>integer <parameter><optional>a</optional></parameter></paramdef> + <paramdef>integer + <parameter><optional>red</optional></parameter> + </paramdef> + <paramdef>integer + <parameter><optional>green</optional></parameter> + </paramdef> + <paramdef>integer + <parameter><optional>blue</optional></parameter> + </paramdef> + <paramdef>integer + <parameter><optional>a</optional></parameter> + </paramdef> </funcprototype> </funcsynopsis> <para> @@ -1192,7 +1214,7 @@ <refentry id="function.swfshape"> <refnamediv> <refname>SWFShape</refname> - <refpurpose>Creates a new shape object.</refpurpose> + <refpurpose>新規に輪郭オブジェクトを作成する</refpurpose> </refnamediv> <refsect1> <title>説明</title> @@ -1245,7 +1267,7 @@ <refentry id="function.swfshape.setline"> <refnamediv> <refname>SWFShape->setLine</refname> - <refpurpose>Sets the shape's line style.</refpurpose> + <refpurpose>輪郭の線種を設定する</refpurpose> </refnamediv> <refsect1> <title>説明</title> @@ -1339,7 +1361,7 @@ <refentry id="function.swfshape.addfill"> <refnamediv> <refname>SWFShape->addFill</refname> - <refpurpose>Adds a solid fill to the shape.</refpurpose> + <refpurpose>塗りつぶし色をシェープに追加する</refpurpose> </refnamediv> <refsect1> <title>説明</title> @@ -1349,31 +1371,41 @@ <paramdef>integer <parameter>red</parameter></paramdef> <paramdef>integer <parameter>green</parameter></paramdef> <paramdef>integer <parameter>blue</parameter></paramdef> - <paramdef>integer <parameter><optional>a</optional></parameter></paramdef> + <paramdef>integer + <parameter><optional>a</optional></parameter> + </paramdef> </funcprototype> </funcsynopsis> <funcsynopsis> <funcprototype> <funcdef>void <function>swfshape->addfill</function></funcdef> <paramdef>SWFbitmap <parameter>bitmap</parameter></paramdef> - <paramdef>integer <parameter><optional>flags</optional></parameter></paramdef> + <paramdef>integer + <parameter><optional>flags</optional></parameter> + </paramdef> </funcprototype> </funcsynopsis> <funcsynopsis> <funcprototype> <funcdef>void <function>swfshape->addfill</function></funcdef> <paramdef>SWFGradient <parameter>gradient</parameter></paramdef> - <paramdef>integer <parameter><optional>flags</optional></parameter></paramdef> + <paramdef>integer + <parameter><optional>flags</optional></parameter> + </paramdef> </funcprototype> </funcsynopsis> <para> - <function>swfshape->addfill</function> adds a solid fill to the shape's list - of fill styles. <function>swfshape->addfill</function> accepts three different + <function>swfshape->addfill</function> adds a solid fill to the + shape's list + of fill styles. <function>swfshape->addfill</function> accepts + three different types of arguments. </para> <para> - <parameter>red</parameter>, <parameter>green</parameter>, <parameter>blue</parameter> - is a color (RGB mode). Last parameter <parameter>a</parameter> is optional. + <parameter>red</parameter>, <parameter>green</parameter>, + <parameter>blue</parameter> + is a color (RGB mode). Last parameter <parameter>a</parameter> is + optional. </para> <para> The <parameter>bitmap</parameter> argument is an <function>swfbitmap</function> object. @@ -1382,7 +1414,8 @@ Default is SWFFILL_TILED_BITMAP. I think. </para> <para> - The <parameter>gradient</parameter> argument is an <function>swfgradient</function> + The <parameter>gradient</parameter> argument is an + <function>swfgradient</function> object. The flags argument can be one of the following values : SWFFILL_RADIAL_GRADIENT or SWFFILL_LINEAR_GRADIENT. Default is SWFFILL_LINEAR_GRADIENT. I'm sure about this one. Really. @@ -1537,7 +1570,7 @@ <refentry id="function.swfshape.movepento"> <refnamediv> <refname>SWFShape->movePenTo</refname> - <refpurpose>Moves the shape's pen.</refpurpose> + <refpurpose>シェープのペンを移動する</refpurpose> </refnamediv> <refsect1> <title>説明</title> @@ -1566,7 +1599,7 @@ <refentry id="function.swfshape.movepen"> <refnamediv> <refname>SWFShape->movePen</refname> - <refpurpose>Moves the shape's pen (relative).</refpurpose> + <refpurpose>シェープのペンを(相対)移動する</refpurpose> </refnamediv> <refsect1> <title>説明</title> @@ -1595,7 +1628,7 @@ <refentry id="function.swfshape.drawlineto"> <refnamediv> <refname>SWFShape->drawLineTo</refname> - <refpurpose>Draws a line.</refpurpose> + <refpurpose>線を画く</refpurpose> </refnamediv> <refsect1> <title>説明</title> @@ -1625,7 +1658,7 @@ <refentry id="function.swfshape.drawline"> <refnamediv> <refname>SWFShape->drawLine</refname> - <refpurpose>Draws a line (relative).</refpurpose> + <refpurpose>線を画く (相対座標)</refpurpose> </refnamediv> <refsect1> <title>説明</title> @@ -1654,7 +1687,7 @@ <refentry id="function.swfshape.drawcurveto"> <refnamediv> <refname>SWFShape->drawCurveTo</refname> - <refpurpose>Draws a curve.</refpurpose> + <refpurpose>曲線を画く</refpurpose> </refnamediv> <refsect1> <title>説明</title> @@ -1689,7 +1722,7 @@ <refentry id="function.swfshape.drawcurve"> <refnamediv> <refname>SWFShape->drawCurve</refname> - <refpurpose>Draws a curve (relative).</refpurpose> + <refpurpose>曲線を画く (相対座標)</refpurpose> </refnamediv> <refsect1> <title>説明</title> @@ -1727,7 +1760,7 @@ <refentry id="function.swfgradient"> <refnamediv> <refname>SWFGradient</refname> - <refpurpose>Creates a gradient object</refpurpose> + <refpurpose>傾きオブジェクトを作成する</refpurpose> </refnamediv> <refsect1> <title>説明</title> @@ -1751,7 +1784,7 @@ This simple example will draw a big black-to-white gradient as background, and a redish disc in its center. <example> - <title><function>swfgradient</function> example</title> + <title><function>swfgradient</function> の例</title> <programlisting role="php"> <?php @@ -1806,7 +1839,7 @@ <refentry id="function.swfgradient.addentry"> <refnamediv> <refname>SWFGradient->addEntry</refname> - <refpurpose>Adds an entry to the gradient list.</refpurpose> + <refpurpose>傾きリストにエントリを追加する</refpurpose> </refnamediv> <refsect1> <title>説明</title> @@ -1837,7 +1870,7 @@ <refentry id="function.swfbitmap"> <refnamediv> <refname>SWFBitmap</refname> - <refpurpose>Loads Bitmap object</refpurpose> + <refpurpose>ビットマップオブジェクトをロードする</refpurpose> </refnamediv> <refsect1> <title>説明</title> @@ -1953,7 +1986,7 @@ <refentry id="function.swfbitmap.getwidth"> <refnamediv> <refname>SWFBitmap->getWidth</refname> - <refpurpose>Returns the bitmap's width.</refpurpose> + <refpurpose>ビットマップの幅を返す</refpurpose> </refnamediv> <refsect1> <title>説明</title> @@ -1975,7 +2008,7 @@ <refentry id="function.swfbitmap.getheight"> <refnamediv> <refname>SWFBitmap->getHeight</refname> - <refpurpose>Returns the bitmap's height.</refpurpose> + <refpurpose>ビットマップの高さを返す</refpurpose> </refnamediv> <refsect1> <title>説明</title> @@ -1999,7 +2032,7 @@ <refentry id="function.swffill"> <refnamediv> <refname>SWFFill</refname> - <refpurpose>Loads SWFFill object</refpurpose> + <refpurpose>SWFFill オブジェクトをロードする</refpurpose> </refnamediv> <refsect1> <title>説明</title> @@ -2019,7 +2052,7 @@ <refentry id="function.swffill.moveto"> <refnamediv> <refname>SWFFill->moveTo</refname> - <refpurpose>Moves fill origin</refpurpose> + <refpurpose>塗りつぶしの原点を移動する</refpurpose> </refnamediv> <refsect1> <title>説明</title> @@ -2040,7 +2073,7 @@ <refentry id="function.swffill.scaleto"> <refnamediv> <refname>SWFFill->scaleTo</refname> - <refpurpose>Sets fill's scale</refpurpose> + <refpurpose>塗りつぶしの倍率を設定する</refpurpose> </refnamediv> <refsect1> <title>説明</title> @@ -2062,7 +2095,7 @@ <refentry id="function.swffill.rotateto"> <refnamediv> <refname>SWFFill->rotateTo</refname> - <refpurpose>Sets fill's rotation</refpurpose> + <refpurpose>塗りつぶしの回転を設定する</refpurpose> </refnamediv> <refsect1> <title>説明</title> @@ -2307,7 +2340,7 @@ <refentry id="function.swftext.setfont"> <refnamediv> <refname>SWFText->setFont</refname> - <refpurpose>Sets the current font</refpurpose> + <refpurpose>カレントのフォントを設定する</refpurpose> </refnamediv> <refsect1> <title>説明</title> @@ -2318,8 +2351,8 @@ </funcprototype> </funcsynopsis> <para> - <function>swftext->setfont</function> sets the current font to - <parameter>font</parameter>. + <function>swftext->setfont</function> は、カレントのフォントを + <parameter>font</parameter> に設定します。 </para> </refsect1> </refentry> @@ -2463,7 +2496,7 @@ <refentry id="function.swffont"> <refnamediv> <refname>SWFFont</refname> - <refpurpose>Loads a font definition</refpurpose> + <refpurpose>フォントの定義をロードする</refpurpose> </refnamediv> <refsect1> <title>説明</title> @@ -2473,37 +2506,41 @@ <paramdef>string <parameter>filename</parameter></paramdef> </funcprototype> </funcsynopsis> - <para> - If <parameter>filename</parameter> is the name of an FDB file - (i.e., it ends in ".fdb"), load the font definition found in said - file. Otherwise, create a browser-defined font reference. - </para> <para> - FDB ("font definition block") is a very simple wrapper for the SWF DefineFont2 - block which contains a full description of a font. One may create FDB files from - SWT Generator template files with the included makefdb utility- look in the - util directory off the main ming distribution directory. - </para> - <para> - Browser-defined fonts don't contain any information about the font other - than its name. It is assumed that the font definition will be provided by - the movie player. The fonts _serif, _sans, and _typewriter should always - be available. For example: + <parameter>filename</parameter> が、FDBファイルの名前(すなわち、 + ".fdb" +で終る)の場合、このファイル中のフォントの定義をロードしま + +す。そうでない場合、ブラウザで定義されたフォントリファレンスを作 + 成します。 + </para> + <para> + FDB ("font definition block") は、フォントに関する詳細な情報が記 + 述されているSWF DefineFont2 +ブロック用の非常に簡単なラッパーです。 + +FDBファイルは、mingの主要ファイルの配布ディレクトリではなくutilディ + +レクトリにある付属のmakefdbユーティリティによりSWFジェネレータテ + ンプレートファイルから作成することが可能です。 + </para> + <para> + +ブラウザで定義されたフォントには、フォント名以外のフォント情報g含 + +まれていません。フォント定義は、ムービープレイヤーに提供されると + 仮定します。フォント _serif, _sans, _typewriter +は、常に使用可能 + です。例えば、 <programlisting role="php"> <?php $f = newSWFFont("_sans"); ?> - </programlisting> - will give you the standard sans-serif font, probably the same as what you'd get - with <literal><font name="sans-serif"></literal> in HTML. - </para> - <para> - <function>swffont</function> returns a reference to the font - definition, for use in the <function>SWFText->setFont</function> - and the <function>SWFTextField->setFont</function> methods. + </programlisting> + により、標準的な sans-serif +フォントが指定されます。これは、HTML + で <literal><font name="sans-serif"></literal> と指定した場 + 合とおそらく同じになります。 + </para> + <para> + <function>swffont</function> +は、フォント定義へのリファレンスを返 + します。これは、<function>SWFText->setFont</function> および + <function>SWFTextField->setFont</function> メソッドで使用可能です。 </para> <simpara> - SWFFont has the following methods : <function>swffont->getwidth</function>. + SWFFont は、次のメソッドを有します : + <function>swffont->getwidth</function> </simpara> </refsect1> </refentry> Index: phpdoc/ja/functions/openssl.xml diff -u phpdoc/ja/functions/openssl.xml:1.5 phpdoc/ja/functions/openssl.xml:1.6 --- phpdoc/ja/functions/openssl.xml:1.5 Thu Apr 5 08:09:16 2001 +++ phpdoc/ja/functions/openssl.xml Sun Apr 8 16:07:42 2001 @@ -741,32 +741,35 @@ </funcprototype> </funcsynopsis> <para> - <function>openssl_pkcs7_sign</function> takes the contents of the - file named <parameter>infilename</parameter> and signs them using - the certificate and it's matching private key specified by + <function>openssl_pkcs7_sign</function>は、 + <parameter>infilename</parameter> という名前のファイルの内容につ + いて、パラメータ <parameter>signcert</parameter> および + <parameter>privkey</parameter> +で指定した証明書と公開キーを用いて + サインをします。 <parameter>signcert</parameter> and <parameter>privkey</parameter> - parameters. </para> <para> - <parameter>headers</parameter> is an array of headers that - will be prepended to the data after it has been signed (see - <function>openssl_pkcs7_encrypt</function> for more information about - the format of this parameter. + <parameter>headers</parameter> +は、ヘッダの配列です。このヘッダは、 + +サインされた後、データの前に付加されます。(このパラメータの形式の + 詳細については、<function>openssl_pkcs7_encrypt</function> を参照 + 下さい。) + </para> + <para> + <parameter>flags</parameter> +を出力を変更するために使用することが + 可能です。<link linkend="openssl.pkcs7.flags">PKCS7 定数</link> + を参照下さい。これが指定されない場合、デフォルトの +PKCS7_DETACHED + になります。 + </para> + <para> + <parameter>extracerts</parameter> には、サインに含めるための他の + +一連の証明書を記述したファイル名を指定します。これは、例えば、送 + +信者が使用した証明書を受信者が検証しやすくするために使用すること + が可能です。 </para> <para> - <parameter>flags</parameter> can be used to alter the output - see <link - linkend="openssl.pkcs7.flags">PKCS7 constants</link> - if not specified, - it defaults to PKCS7_DETACHED. - </para> - <para> - <parameter>extracerts</parameter> specifies the name of a file containing - a bunch of extra certificates to include in the signature which can for - example be used to help the recipient to verify the certificate that you used. - </para> - <para> <emphasis> - The parameters/return type of this function may change before - it appears in a release version of PHP + +この関数のパラメータ/返り値の型は、PHPのリリース版が公開される前 + に変更される可能性があります。 </emphasis> </para> @@ -774,8 +777,7 @@ <example> <title><function>openssl_pkcs7_sign</function> の例</title> <programlisting role="php"> -// the message you want to sign so that recipient can be sure it was you that -// sent it +// 受信者が送信者を確認できるようにサインしたいメッセージ $data = <<<EOD You have my authorization to spend $10,000 on dinner expenses. @@ -783,18 +785,18 @@ The CEO HQ EOD; -// save message to file +// ファイルにメッセージを保存 $fp = fopen("msg.txt", "w"); fwrite($fp, $data); fclose($fp); -// encrypt it +// 暗号化 if (openssl_pkcs7_sign("msg.txt", "signed.txt", "mycert.pem", array("mycert.pem", "mypassphrase"), array("To" => "[EMAIL PROTECTED]", // keyed syntax "From: HQ <[EMAIL PROTECTED]>", // indexed syntax "Subject" => "Eyes only")) { - // message signed - send it! + // メッセージはサインされました。送信しましょう! exec(ini_get("sendmail_path") . " < signed.txt"); } </programlisting> @@ -832,23 +834,22 @@ </funcprototype> </funcsynopsis> <para> - <function>openssl_pkcs7_verify</function> reads the S/MIME message - contained in the filename specified by - <parameter>filename</parameter> and - examines the digital signature. It returns true if the signature - is verified, false if it is not correct (the message has been - tampered with, - or the signing certificate is invalid), or -1 on error. - </para> - <para> - <parameter>flags</parameter> can be used to affect how the signature is - verified - see <link linkend="openssl.pkcs7.flags">PKCS7 constants</link> - for more information. - </para> - <para> - If the <parameter>outfilename</parameter> is specified, it should be a - string holding the name of a file into which the certificates of the - persons that signed the messages will be stored in PEM format. + <function>openssl_pkcs7_verify</function> は、 + <parameter>filename</parameter> で指定したファイルに記述された + +S/MIMEメッセージを読み込み、デジタルサインを評価します。サインが + 検証された場合は +true、正しくない場合(メッセージが改暫されたか + サインに用いられた証明書が無効)は false、エラーの場合に +-1 を返し + ます。 + </para> + <para> + <parameter>flags</parameter> +によりサインの認証方法を指定すること + が可能です。詳細については、<link + linkend="openssl.pkcs7.flags">PKCS7 定数</link> を参照下さい。 + </para> + <para> + <parameter>outfilename</parameter> を指定する場合、メッセージに + +サインした人の証明書がPEM形式で保存されたファイルの名前をこの変数 + に指定する必要があります。 </para> <para> If the <parameter>cainfo</parameter> is specified, it should hold @@ -862,8 +863,8 @@ </para> <para> <emphasis> - The parameters/return type of this function may change before - it appears in a release version of PHP + +この関数のパラメータ/返り値の型は、PHPのリリース版が公開される前 + に変更される可能性があります。 </emphasis> </para> <note> @@ -918,8 +919,8 @@ </para> <para> <emphasis> - The parameters/return type of this function may change before - it appears in a release version of PHP + +この関数のパラメータ/返り値の型は、PHPのリリース版が公開される前 + に変更される可能性があります。 </emphasis> </para> <para> Index: phpdoc/ja/functions/pspell.xml diff -u phpdoc/ja/functions/pspell.xml:1.8 phpdoc/ja/functions/pspell.xml:1.9 --- phpdoc/ja/functions/pspell.xml:1.8 Thu Jan 4 22:29:05 2001 +++ phpdoc/ja/functions/pspell.xml Sun Apr 8 16:07:42 2001 @@ -244,7 +244,7 @@ $pspell_config = pspell_config_create ("en"); pspell_config_personal ($pspell_config, "/var/dictionaries/custom.pws"); pspell_config_repl ($pspell_config, "/var/dictionaries/custom.repl"); -$pspell_link = pspell_new_personal (pspell_config); +$pspell_link = pspell_new_personal ($pspell_config, "en"); </programlisting> </example> </para> @@ -637,7 +637,7 @@ $pspell_config = pspell_config_create ("en"); pspell_config_personal ($pspell_config, "/var/dictionaries/custom.pws"); pspell_config_repl ($pspell_config, "/var/dictionaries/custom.repl"); -$pspell_link = pspell_new_personal (pspell_config); +$pspell_link = pspell_new_personal ($pspell_config, "en"); </programlisting> </example> </para>