bugfixes
authorgraf25 <graf25@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Thu, 31 Jan 2002 04:54:13 +0000 (04:54 +0000)
committergraf25 <graf25@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Thu, 31 Jan 2002 04:54:13 +0000 (04:54 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@2303 7612ce4b-ef26-0410-bec9-ea0150e637f0

plugins/squirrelspell/modules/edit_dic.mod
plugins/squirrelspell/modules/forget_me.mod
plugins/squirrelspell/setup.php
plugins/squirrelspell/sqspell_config.php

index ed8973603d28092b6d012efb7248a4cb7ae82a5b..3ef3988005823b6a69b42338015907e3400d736e 100644 (file)
@@ -85,7 +85,7 @@ if (!$words){
           . "value=\"$words_ary[$j]\"> $words_ary[$j]<br>";
       }
       $msg .= '</td></tr></table></td></tr>'
           . "value=\"$words_ary[$j]\"> $words_ary[$j]<br>";
       }
       $msg .= '</td></tr></table></td></tr>'
-        . "<tr bgcolor=\"$color[0]\" align=\"center\"><td>".
+        . "<tr bgcolor=\"$color[0]\" align=\"center\"><td>"
         . '<input type="submit" value="' . _("Delete checked words") 
         . '"></form>'
         . '</td></tr><tr><td><hr>'
         . '<input type="submit" value="' . _("Delete checked words") 
         . '"></form>'
         . '</td></tr><tr><td><hr>'
index cdfa6abe93d24775af2114cc9d6603c84d533714..06e6396b3f0dbcb2020b366caaaa6a4c6b30cb54 100644 (file)
@@ -25,7 +25,7 @@ if (sizeof($words_ary)){
   $words=sqspell_getWords();
   $lang_words = sqspell_getLang($words, $sqspell_use_app);
   $msg = '<p>'
   $words=sqspell_getWords();
   $lang_words = sqspell_getLang($words, $sqspell_use_app);
   $msg = '<p>'
-     . sprintf(_("Deleting the following entries from <strong>%s</strong> dictionary:", $sqspell_use_app)) .
+     . sprintf(_("Deleting the following entries from <strong>%s</strong> dictionary:"), $sqspell_use_app)
      . '</p>'
      . "<ul>\n";
   for ($i=0; $i<sizeof($words_ary); $i++){
      . '</p>'
      . "<ul>\n";
   for ($i=0; $i<sizeof($words_ary); $i++){
@@ -68,7 +68,7 @@ if (sizeof($words_ary)){
   }
   $words_dic .= "# End\n";
   sqspell_writeWords($words_dic);
   }
   $words_dic .= "# End\n";
   sqspell_writeWords($words_dic);
-  $msg .= '</ul><p>' _("All done!") . "</p>\n";
+  $msg .= '</ul><p>' _("All done!") . "</p>\n";
   sqspell_makePage(_("Personal Dictionary Updated"), null, $msg);
 } else {
   /**
   sqspell_makePage(_("Personal Dictionary Updated"), null, $msg);
 } else {
   /**
index a09f68c1e4fbc513d22805ecf1f4e3dda24d3bdb..9e562463b5ef78cbf08cb0cd202987b3324a7e57 100644 (file)
@@ -48,9 +48,7 @@ function squirrelspell_optpage_register_block() {
        array(
             'name' => _("SpellChecker Options"),
             'url'  => '../plugins/squirrelspell/sqspell_options.php',
        array(
             'name' => _("SpellChecker Options"),
             'url'  => '../plugins/squirrelspell/sqspell_options.php',
-            'desc' => _("Here you may set up how your personal dictionary "
-                        . "is stored, edit it, or choose which languages "
-                        . "should be available to you when spell-checking."),
+            'desc' => _("Here you may set up how your personal dictionary is stored, edit it, or choose which languages should be available to you when spell-checking."),
             'js'   => TRUE);
   }
 }
             'js'   => TRUE);
   }
 }
@@ -84,5 +82,4 @@ function squirrelspell_setup() {
       . "</script>\n";
   }
 }
       . "</script>\n";
   }
 }
-
 ?>
 ?>
index b51c9597e67dc43928d3b2f8a82fd5cccf2c5116..7ef16dac153dbb7ad94741ac403aae7a70f2b8ae 100644 (file)
@@ -21,7 +21,8 @@ global $username, $data_dir;
  * $SQSPELL_APP = array( 'English' => 'ispell -a',
  *                     'Spanish' => 'ispell -d spanish -a' );
  */
  * $SQSPELL_APP = array( 'English' => 'ispell -a',
  *                     'Spanish' => 'ispell -d spanish -a' );
  */
-$SQSPELL_APP = array('English' => 'ispell -a');
+$SQSPELL_APP = array('English' => 'ispell -a',
+                       'Spanish' => 'ispell -d spanish -a');
 $SQSPELL_APP_DEFAULT = 'English';
 $SQSPELL_WORDS_FILE = 
    getHashedFile($username, $data_dir, "$username.words");
 $SQSPELL_APP_DEFAULT = 'English';
 $SQSPELL_WORDS_FILE = 
    getHashedFile($username, $data_dir, "$username.words");