From 2a917bbc8c16c3989e6e9c7af86918bfbc7c79a8 Mon Sep 17 00:00:00 2001 From: graf25 Date: Thu, 31 Jan 2002 04:54:13 +0000 Subject: [PATCH] bugfixes 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 | 2 +- plugins/squirrelspell/modules/forget_me.mod | 4 ++-- plugins/squirrelspell/setup.php | 5 +---- plugins/squirrelspell/sqspell_config.php | 3 ++- 4 files changed, 6 insertions(+), 8 deletions(-) diff --git a/plugins/squirrelspell/modules/edit_dic.mod b/plugins/squirrelspell/modules/edit_dic.mod index ed897360..3ef39880 100644 --- a/plugins/squirrelspell/modules/edit_dic.mod +++ b/plugins/squirrelspell/modules/edit_dic.mod @@ -85,7 +85,7 @@ if (!$words){ . "value=\"$words_ary[$j]\"> $words_ary[$j]
"; } $msg .= '' - . "". + . "" . '' . '
' diff --git a/plugins/squirrelspell/modules/forget_me.mod b/plugins/squirrelspell/modules/forget_me.mod index cdfa6abe..06e6396b 100644 --- a/plugins/squirrelspell/modules/forget_me.mod +++ b/plugins/squirrelspell/modules/forget_me.mod @@ -25,7 +25,7 @@ if (sizeof($words_ary)){ $words=sqspell_getWords(); $lang_words = sqspell_getLang($words, $sqspell_use_app); $msg = '

' - . sprintf(_("Deleting the following entries from %s dictionary:", $sqspell_use_app)) . + . sprintf(_("Deleting the following entries from %s dictionary:"), $sqspell_use_app) . '

' . "

' . _("All done!") . "

\n"; sqspell_makePage(_("Personal Dictionary Updated"), null, $msg); } else { /** diff --git a/plugins/squirrelspell/setup.php b/plugins/squirrelspell/setup.php index a09f68c1..9e562463 100644 --- a/plugins/squirrelspell/setup.php +++ b/plugins/squirrelspell/setup.php @@ -48,9 +48,7 @@ function squirrelspell_optpage_register_block() { 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); } } @@ -84,5 +82,4 @@ function squirrelspell_setup() { . "\n"; } } - ?> diff --git a/plugins/squirrelspell/sqspell_config.php b/plugins/squirrelspell/sqspell_config.php index b51c9597..7ef16dac 100644 --- a/plugins/squirrelspell/sqspell_config.php +++ b/plugins/squirrelspell/sqspell_config.php @@ -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'); +$SQSPELL_APP = array('English' => 'ispell -a', + 'Spanish' => 'ispell -d spanish -a'); $SQSPELL_APP_DEFAULT = 'English'; $SQSPELL_WORDS_FILE = getHashedFile($username, $data_dir, "$username.words"); -- 2.25.1