. "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>'
$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++){
}
$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 {
/**
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);
}
}
. "</script>\n";
}
}
-
?>
* $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");