[PHP-DOC] cvs: phpdoc /ja/functions aspell.xml From: Rui Hirokawa (louis <email protected>)
Date: 09/03/00

hirokawa Sun Sep 3 08:22:33 2000 EDT

  Modified files:
    /phpdoc/ja/functions aspell.xml
  Log:
  updated translations.
  
Index: phpdoc/ja/functions/aspell.xml
diff -u phpdoc/ja/functions/aspell.xml:1.3 phpdoc/ja/functions/aspell.xml:1.4
--- phpdoc/ja/functions/aspell.xml:1.3 Sat Jun 24 00:38:44 2000
+++ phpdoc/ja/functions/aspell.xml Sun Sep 3 08:22:33 2000
@@ -7,11 +7,19 @@
     <function>aspell</function> 関数により単語のスペルチェックおよび
     修正案の提供が可能となります。
    </simpara>
-
+ <note>
+ <simpara>
+ aspellが動作するのは、非常に古い(.27.*まで)バージョンのaspellライ
+ ブラリのみです。このモジュールも、これらのバージョンのaspellライブ
+ ラリも将来的にもサポートされません。phpでスペルチェックの機能を使
+ 用したい場合は、代わりに<link linkend="ref.pspell">pspell</link>を
+ 使用して下さい。このモジュールは、pspellライブラリを使用し、より新
+ しいバージョンのaspellと組み合わせても動作します。
+ </simpara>
+ </note>
    <simpara>
     aspell ライブラリが必要です。このライブラリは次の場所で手に入ります。
- : <ulink
- url="&url.aspell;">&url.aspell;</ulink>
+ : <ulink url="&url.aspell;">&url.aspell;</ulink>
    </simpara>
   </partintro>
 
@@ -31,19 +39,19 @@
     </funcsynopsis>
     <simpara>
      <function>aspell_new</function> は、新規辞書をオープンし、
- 他の aspell 関数で使用される辞書リンク ID を返します。</simpara>
+ 他の aspell 関数で使用される辞書リンク ID を返します。
+ </simpara>
     <para>
      <example>
       <title><function>aspell_new</function></title>
       <programlisting role="php">
-$aspell_link=aspell_new("english");
+$aspell_link=aspell_new ("english");
       </programlisting>
      </example>
     </para>
    </refsect1>
   </refentry>
 
-
   <refentry id="function.aspell-check">
    <refnamediv>
     <refname>aspell_check</refname>
@@ -60,7 +68,7 @@
     </funcsynopsis>
     <simpara>
      <function>aspell_check</function> は単語のスペルをチェックし、
- スペルが正しい場合には TRUE 、そうでない場合は FALSE を返します。
+ スペルが正しい場合にはtrue 、そうでない場合はfalseを返します。
     </simpara>
     <para>
      <example>
@@ -78,7 +86,6 @@
    </refsect1>
   </refentry>
 
-
   <refentry id="function.aspell-check-raw">
    <refnamediv>
     <refname>aspell_check-raw</refname>
@@ -105,7 +112,7 @@
       <title><function>aspell_check_raw</function></title>
       <programlisting role="php">
 $aspell_link=aspell_new ("english");
-if (aspell_check_raw ($aspell_link,"testt")) {
+if (aspell_check_raw ($aspell_link,"test")) {
     echo "This is a valid spelling";
 } else {
     echo "Sorry, wrong spelling";
@@ -116,7 +123,6 @@
    </refsect1>
   </refentry>
 
-
   <refentry id="function.aspell-suggest">
    <refnamediv>
     <refname>aspell_suggest</refname>
@@ -132,16 +138,17 @@
      </funcprototype>
     </funcsynopsis>
     <simpara>
- <function>aspell_suggest</function> は
- 指定した単語に関してありそうなスペルの配列を返します。</simpara>
+ <function>aspell_suggest</function> は、指定した単語に関してあり
+ そうなスペルの配列を返します。
+ </simpara>
     <para>
      <example>
       <title><function>aspell_suggest</function></title>
       <programlisting role="php">
 $aspell_link=aspell_new ("english");
 
-if (!aspell_check ($aspell_link,"testt")) {
- $suggestions=aspell_suggest ($aspell_link,"testt");
+if (!aspell_check ($aspell_link,"test")) {
+ $suggestions=aspell_suggest ($aspell_link,"test");
 
     for($i=0; $i &lt; count ($suggestions); $i++) {
        echo "Possible spelling: " . $suggestions[$i] . "&lt;br>";
@@ -152,7 +159,6 @@
     </para>
    </refsect1>
   </refentry>
-
 
  </reference>