From 80c126b0920c3fa904ee8ba31bb85e6ad70250bb Mon Sep 17 00:00:00 2001 From: Scott Kostyshak Date: Wed, 12 Sep 2012 19:38:26 -0400 Subject: [PATCH] Typos Clean up some comments, LFUN documentation, an error message, and lyx --help output. --- lib/layouts/stdsections.inc | 2 +- src/Buffer.h | 4 ++-- src/LyX.cpp | 6 +++--- src/LyXAction.cpp | 2 +- src/frontends/qt4/GuiApplication.cpp | 2 +- src/mathed/InsetMath.h | 2 +- src/support/Systemcall.cpp | 2 +- 7 files changed, 10 insertions(+), 10 deletions(-) diff --git a/lib/layouts/stdsections.inc b/lib/layouts/stdsections.inc index d9d74763b7..26da87cde6 100644 --- a/lib/layouts/stdsections.inc +++ b/lib/layouts/stdsections.inc @@ -3,7 +3,7 @@ # Transposed by Pascal André # 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 f13a879b10..8873471b4f 100644 --- a/src/Buffer.h +++ b/src/Buffer.h @@ -84,7 +84,7 @@ typedef std::set 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 b6c3e01083..722f04067a 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 8bfe911c43..20cbb833f0 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 [] * \li Params: : 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 bb5a8ab258..c9c8e28afc 100644 --- a/src/frontends/qt4/GuiApplication.cpp +++ b/src/frontends/qt4/GuiApplication.cpp @@ -1295,7 +1295,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 24884ba541..80139ba08f 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 419b0d3a8a..67453e9bf7 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) {