Ensure that the grammar used to invoke the spellchecker is consistent.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10425 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Angus Leeming 2005-09-08 09:20:16 +00:00
parent 52a2eb2c52
commit 251f834995
22 changed files with 72 additions and 26 deletions

View File

@ -1,3 +1,8 @@
2005-09-08 Angus Leeming <leeming@lyx.org>
* spell.m4: correct grammar describing invocation of the
spellchecker.
2005-07-18 Lars Gullik Bjønnes <larsbj@lyx.org>
* common.am (AUTOMAKE_OPTIONS): add dist-bzip2

View File

@ -70,7 +70,7 @@ AC_DEFUN([LYX_CHECK_SPELL_ENGINES],
AC_MSG_CHECKING([whether to use ispell])
if $lyx_use_ispell ; then
AC_MSG_RESULT(yes)
AC_DEFINE(USE_ISPELL, 1, [Define as 1 to use an external ispell process for spell-checking])
AC_DEFINE(USE_ISPELL, 1, [Define as 1 to use an external ispell process to check spelling])
lyx_flags="$lyx_flags use-ispell"
else
AC_MSG_RESULT(no)

View File

@ -1,3 +1,9 @@
2005-09-08 Angus Leeming <leeming@lyx.org>
* configure.m4:
* lyxrc.example: correct grammar describing invocation of the
spellchecker.
2005-09-06 Michael Gerz <michael.gerz@teststep.org>
* CREDITS:

View File

@ -327,7 +327,7 @@ LYXRC_PROG([for ChkTeX], \chktex_command,dnl
"chktex -n1 -n3 -n6 -n9 -n22 -n25 -n30 -n38")
# Search for a spellchecker
LYXRC_PROG([for a spell-checker], \spell_command, ispell)
LYXRC_PROG([for a spellchecker], \spell_command, ispell)
# Search for computer algebra systems
SEARCH_PROG([for Octave],OCTAVE,octave)

View File

@ -1,3 +1,8 @@
2005-09-08 Angus Leeming <leeming@lyx.org>
* UserGuide.lyx: correct grammar describing invocation of the
spellchecker.
2005-07-18 José Matos <jamatos@lyx.org>
* fr_UserGuide.lyx: fix wrong convertion of \lang french.

View File

@ -1,3 +1,9 @@
2005-09-08 Angus Leeming <leeming@lyx.org>
* ispell.C:
* lyxrc.C: correct grammar describing invocation of the
spellchecker.
2005-08-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
* text.C (read): remove unused variable.

View File

@ -1,3 +1,8 @@
2005-09-08 Angus Leeming <leeming@lyx.org>
* ControlSpellchecker.C: correct grammar describing invocation of the
spellchecker.
2005-08-10 Angus Leeming <leeming@lyx.org>
* tex_helpers.C (rescanTexStyles): Quote the path to TeXFiles.sh

View File

@ -108,9 +108,9 @@ bool ControlSpellchecker::initialiseParams(std::string const &)
bool const success = speller_->error().empty();
if (!success) {
Alert::error(_("Spell-checker error"),
_("The spell-checker could not be started")
+ '\n' + speller_->error());
Alert::error(_("Spellchecker error"),
_("The spellchecker could not be started\n")
+ speller_->error());
speller_.reset(0);
}
@ -185,7 +185,7 @@ WordLangTuple nextWord(DocIterator & cur, ptrdiff_t & progress,
void ControlSpellchecker::check()
{
lyxerr[Debug::GUI] << "spell check a word" << endl;
lyxerr[Debug::GUI] << "Check the spelling of a word" << endl;
SpellBase::Result res = SpellBase::OK;
@ -262,15 +262,15 @@ bool ControlSpellchecker::checkAlive()
string message;
if (speller_->error().empty())
message = _("The spell-checker has died for some reason.\n"
message = _("The spellchecker has died for some reason.\n"
"Maybe it has been killed.");
else
message = _("The spell-checker has failed.")
+ '\n' + speller_->error();
message = _("The spellchecker has failed.\n")
+ speller_->error();
dialog().CancelButton();
Alert::error(_("Spell-checker error"), message);
Alert::error(_("The spellchecker has failed"), message);
return false;
}
@ -289,7 +289,7 @@ void ControlSpellchecker::showSummary()
message = _("One word checked.");
dialog().CancelButton();
Alert::information(_("Spell-checking is complete"), message);
Alert::information(_("Spelling check completed"), message);
}

View File

@ -1,3 +1,8 @@
2005-09-08 Angus Leeming <leeming@lyx.org>
* GSpellchecker.C: correct grammar describing invocation of the
spellchecker.
2005-07-05 John Spray <spray@lyx.org>
* GRef.[Ch], glade/ref.glade: Add the reference insertion dialog
* Dialogs.C, Makefile.am, glade/Makefile.am: Use GRef

View File

@ -32,7 +32,7 @@ namespace frontend {
GSpellchecker::GSpellchecker(Dialog & parent)
: GViewCB<ControlSpellchecker, GViewGladeB>
(parent, _("Spell-check document"), false)
(parent, _("Spellchecker"), false)
{}

View File

@ -1,3 +1,10 @@
2005-09-08 Angus Leeming <leeming@lyx.org>
* QPrefsDialog.C:
* ui/QPrefSpellcheckerModule.ui:
* ui/QSpellcheckerDialogBase.ui: correct grammar describing invocation
of the spellchecker.
2005-08-19 Michael Schmitt <michael.schmitt@teststep.org>
* ui/QPreambleDialogBase.ui: remove obsolete file

View File

@ -102,7 +102,7 @@ QPrefsDialog::QPrefsDialog(QPrefs * form)
string const ls = _("Language settings");
prefsPS->addCategory(ls);
prefsPS->addPanel(languageModule, _("Language"), ls);
prefsPS->addPanel(spellcheckerModule, _("Spell-checker"), ls);
prefsPS->addPanel(spellcheckerModule, _("Spellchecker"), ls);
string const op = _("Outputs");
prefsPS->addCategory(op);

View File

@ -53,7 +53,7 @@
</property>
<property stdset="1">
<name>text</name>
<string>Spell chec&amp;ker:</string>
<string>Spellchec&amp;ker executable:</string>
</property>
<property>
<name>buddy</name>

View File

@ -149,7 +149,7 @@
</property>
<property>
<name>toolTip</name>
<string>How far spellchecking has got</string>
<string>Proportion of document checked</string>
</property>
</widget>
<widget row="5" column="0" rowspan="4" colspan="2" >

View File

@ -1,3 +1,10 @@
2005-09-08 Angus Leeming <leeming@lyx.org>
* FormPreferences.C:
* FormSpellchecker.C:
* forms/form_preferences.fd: correct grammar describing invocation
of the spellchecker.
2005-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
* FormDialogView.C (show): exit after update if Controller::exitEarly()

View File

@ -73,7 +73,7 @@ void FormSpellchecker::build()
tooltips().init(dialog_->button_accept, str);
str = _("Add unknown word to personal dictionary.");
tooltips().init(dialog_->button_add, str);
str = _("Shows word count and progress on spell check.");
str = _("Proportion of document checked.");
tooltips().init(dialog_->slider_progress, str);
}

View File

@ -1111,7 +1111,7 @@ alignment: FL_ALIGN_LEFT
style: FL_NORMAL_STYLE
size: FL_NORMAL_SIZE
lcol: FL_BLACK
label: Spell command:|#S
label: Spellchecker executable:|#S
shortcut:
resize: FL_RESIZE_ALL
gravity: FL_NoGravity FL_NoGravity

View File

@ -265,7 +265,7 @@ ISpell::ISpell(BufferParams const & params, string const & lang)
error_ = buf;
} else {
// select returned error
error_ = _("The spell process returned an error.\nPerhaps "
error_ = _("The ispell process returned an error.\nPerhaps "
"it has been configured wrongly ?");
}
@ -374,7 +374,7 @@ enum ISpell::Result ISpell::check(WordLangTuple const & word)
bool error = select(err_read);
if (error) {
error_ = _("Could not communicate with the spell-checker program.");
error_ = _("Could not communicate with the ispell spellchecker process.");
return UNKNOWN_WORD;
}

View File

@ -2418,7 +2418,7 @@ string const LyXRC::getDescription(LyXRCTags tag)
break;
case RC_USE_INP_ENC:
str = _("Specify whether to pass the -T input encoding option to ispell. Enable this if you can't spellcheck words with international letters in them. This may not work with all dictionaries.");
str = _("Specify whether to pass the -T input encoding option to ispell. Enable this if you cannot check the spelling of words containing accented letters. This may not work with all dictionaries.");
break;
case RC_USE_SPELL_LIB: