The attached patch cleans up some comments, LFUN documentation, an
error message, and lyx --help output.

Scott
diff --git a/lib/layouts/stdsections.inc b/lib/layouts/stdsections.inc
index d9d7476..26da87c 100644
--- a/lib/layouts/stdsections.inc
+++ b/lib/layouts/stdsections.inc
@@ -3,7 +3,7 @@
 # Transposed by Pascal André <an...@via.ecp.fr>
 # Heavily modifed and enhanced by several developers.
 
-# This include files contains all numbered sectionning-related
+# This include file contains all numbered sectionning-related
 # commands that are useful for article-like document classes, but not
 # for letters.
 
diff --git a/src/Buffer.h b/src/Buffer.h
index f13a879..8873471 100644
--- a/src/Buffer.h
+++ b/src/Buffer.h
@@ -84,7 +84,7 @@ typedef std::set<Buffer *> CloneList;
 
 
 /** The buffer object.
- * This is the buffer object. It contains all the informations about
+ * This is the buffer object. It contains all the information about
  * a document loaded into LyX.
  * The buffer object owns the Text (wrapped in an InsetText), which
  * contains the individual paragraphs of the document.
@@ -141,7 +141,7 @@ public:
        /// isExternallyModified()
        /**
         * timestamp is fast but inaccurate. For example, the granularity
-        * of timestamp on a FAT filesystem is 2 second. Also, various 
operations
+        * of timestamp on a FAT filesystem is 2 seconds. Also, various 
operations
         * may touch the timestamp of a file even when its content is unchanged.
         *
         * checksum is accurate but slow, which can be a problem when it is
diff --git a/src/LyX.cpp b/src/LyX.cpp
index 6d8a98a..aa86977 100644
--- a/src/LyX.cpp
+++ b/src/LyX.cpp
@@ -871,7 +871,7 @@ void emergencyCleanup()
 static bool needsUpdate(string const & file)
 {
        // We cannot initialize configure_script directly because the package
-       // is not initialized yet when  static objects are constructed.
+       // is not initialized yet when static objects are constructed.
        static FileName configure_script;
        static bool firstrun = true;
        if (firstrun) {
@@ -1024,8 +1024,8 @@ int parse_help(string const &, string const &, string &)
                  "\t-x [--execute] command\n"
                  "                  where command is a lyx command.\n"
                  "\t-e [--export] fmt\n"
-                 "                  where fmt is the export format of 
choice.\n"
-                 "                  Look on Tools->Preferences->File 
formats->Format\n"
+                 "                  where fmt is the export format of choice. 
Look in\n"
+                 "                  Tools->Preferences->File Handling->File 
Formats->Short Name\n"
                  "                  to get an idea which parameters should be 
passed.\n"
                  "                  Note that the order of -e and -x switches 
matters.\n"
                  "\t-E [--export-to] fmt filename\n"
diff --git a/src/LyXAction.cpp b/src/LyXAction.cpp
index db1c82a..89310e2 100644
--- a/src/LyXAction.cpp
+++ b/src/LyXAction.cpp
@@ -1768,7 +1768,7 @@ void LyXAction::init()
  * \li Notion: Selection can be used to determine the input for the external 
program.
  * \li Syntax: math-extern <LANG> [<COMMAND>]
  * \li Params: <LANG>: octave|maxima|maple|mathematica|script \n
-                       where "script" stands fot the external script 
(normalized
+                       where "script" stands for the external script 
(normalized
                        expression will be passed)
  * \li Origin: Andre, 24 Apr 2001
  * \li Sample: math-extern maple simplify
diff --git a/src/frontends/qt4/GuiApplication.cpp 
b/src/frontends/qt4/GuiApplication.cpp
index c5048dd..993a1f5 100644
--- a/src/frontends/qt4/GuiApplication.cpp
+++ b/src/frontends/qt4/GuiApplication.cpp
@@ -1296,7 +1296,7 @@ void GuiApplication::reconfigure(string const & option)
        if (ret)
                Alert::information(_("System reconfiguration failed"),
                           _("The system reconfiguration has failed.\n"
-                                 "Default textclass is used but LyX may "
+                                 "Default textclass is used but LyX may\n"
                                  "not be able to work properly.\n"
                                  "Please reconfigure again if needed."));
        else
diff --git a/src/mathed/InsetMath.h b/src/mathed/InsetMath.h
index 24884ba..80139ba 100644
--- a/src/mathed/InsetMath.h
+++ b/src/mathed/InsetMath.h
@@ -45,7 +45,7 @@ math editor only, it isn't a general LyX inset. It's used to 
represent all
 the math objects.
 
 Math insets do not know there parents, a cursor position or things
-like that. The are dumb object that are contained in other math insets
+like that. They are dumb objects that are contained in other math insets
 (InsetMathNests, in fact) thus forming a tree. The root of this tree is
 always a InsetMathHull, which provides an interface to the Outer World by
 inclusion in the "real LyX insets" FormulaInset and FormulaMacroInset.
diff --git a/src/support/Systemcall.cpp b/src/support/Systemcall.cpp
index 419b0d3..67453e9 100644
--- a/src/support/Systemcall.cpp
+++ b/src/support/Systemcall.cpp
@@ -430,7 +430,7 @@ bool SystemcallPrivate::waitWhile(State waitwhile, bool 
process_events, int time
                return state != Error;
        } 
 
-       // process events while waiting whith timeout
+       // process events while waiting with timeout
        QTime timer;
        timer.start();
        while (state == waitwhile && state != Error && !timedout) {

Reply via email to