mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 13:18:28 +00:00
Typos
Clean up some comments, LFUN documentation, an error message, and lyx --help output.
This commit is contained in:
parent
58dd5698ac
commit
80c126b092
@ -3,7 +3,7 @@
|
|||||||
# Transposed by Pascal André <andre@via.ecp.fr>
|
# Transposed by Pascal André <andre@via.ecp.fr>
|
||||||
# Heavily modifed and enhanced by several developers.
|
# 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
|
# commands that are useful for article-like document classes, but not
|
||||||
# for letters.
|
# for letters.
|
||||||
|
|
||||||
|
@ -84,7 +84,7 @@ typedef std::set<Buffer *> CloneList;
|
|||||||
|
|
||||||
|
|
||||||
/** The buffer object.
|
/** 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.
|
* a document loaded into LyX.
|
||||||
* The buffer object owns the Text (wrapped in an InsetText), which
|
* The buffer object owns the Text (wrapped in an InsetText), which
|
||||||
* contains the individual paragraphs of the document.
|
* contains the individual paragraphs of the document.
|
||||||
@ -141,7 +141,7 @@ public:
|
|||||||
/// isExternallyModified()
|
/// isExternallyModified()
|
||||||
/**
|
/**
|
||||||
* timestamp is fast but inaccurate. For example, the granularity
|
* 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.
|
* 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
|
* checksum is accurate but slow, which can be a problem when it is
|
||||||
|
@ -871,7 +871,7 @@ void emergencyCleanup()
|
|||||||
static bool needsUpdate(string const & file)
|
static bool needsUpdate(string const & file)
|
||||||
{
|
{
|
||||||
// We cannot initialize configure_script directly because the package
|
// 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 FileName configure_script;
|
||||||
static bool firstrun = true;
|
static bool firstrun = true;
|
||||||
if (firstrun) {
|
if (firstrun) {
|
||||||
@ -1024,8 +1024,8 @@ int parse_help(string const &, string const &, string &)
|
|||||||
"\t-x [--execute] command\n"
|
"\t-x [--execute] command\n"
|
||||||
" where command is a lyx command.\n"
|
" where command is a lyx command.\n"
|
||||||
"\t-e [--export] fmt\n"
|
"\t-e [--export] fmt\n"
|
||||||
" where fmt is the export format of choice.\n"
|
" where fmt is the export format of choice. Look in\n"
|
||||||
" Look on Tools->Preferences->File formats->Format\n"
|
" Tools->Preferences->File Handling->File Formats->Short Name\n"
|
||||||
" to get an idea which parameters should be passed.\n"
|
" to get an idea which parameters should be passed.\n"
|
||||||
" Note that the order of -e and -x switches matters.\n"
|
" Note that the order of -e and -x switches matters.\n"
|
||||||
"\t-E [--export-to] fmt filename\n"
|
"\t-E [--export-to] fmt filename\n"
|
||||||
|
@ -1768,7 +1768,7 @@ void LyXAction::init()
|
|||||||
* \li Notion: Selection can be used to determine the input for the external program.
|
* \li Notion: Selection can be used to determine the input for the external program.
|
||||||
* \li Syntax: math-extern <LANG> [<COMMAND>]
|
* \li Syntax: math-extern <LANG> [<COMMAND>]
|
||||||
* \li Params: <LANG>: octave|maxima|maple|mathematica|script \n
|
* \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)
|
expression will be passed)
|
||||||
* \li Origin: Andre, 24 Apr 2001
|
* \li Origin: Andre, 24 Apr 2001
|
||||||
* \li Sample: math-extern maple simplify
|
* \li Sample: math-extern maple simplify
|
||||||
|
@ -1295,7 +1295,7 @@ void GuiApplication::reconfigure(string const & option)
|
|||||||
if (ret)
|
if (ret)
|
||||||
Alert::information(_("System reconfiguration failed"),
|
Alert::information(_("System reconfiguration failed"),
|
||||||
_("The system reconfiguration has failed.\n"
|
_("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"
|
"not be able to work properly.\n"
|
||||||
"Please reconfigure again if needed."));
|
"Please reconfigure again if needed."));
|
||||||
else
|
else
|
||||||
|
@ -45,7 +45,7 @@ math editor only, it isn't a general LyX inset. It's used to represent all
|
|||||||
the math objects.
|
the math objects.
|
||||||
|
|
||||||
Math insets do not know there parents, a cursor position or things
|
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
|
(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
|
always a InsetMathHull, which provides an interface to the Outer World by
|
||||||
inclusion in the "real LyX insets" FormulaInset and FormulaMacroInset.
|
inclusion in the "real LyX insets" FormulaInset and FormulaMacroInset.
|
||||||
|
@ -430,7 +430,7 @@ bool SystemcallPrivate::waitWhile(State waitwhile, bool process_events, int time
|
|||||||
return state != Error;
|
return state != Error;
|
||||||
}
|
}
|
||||||
|
|
||||||
// process events while waiting whith timeout
|
// process events while waiting with timeout
|
||||||
QTime timer;
|
QTime timer;
|
||||||
timer.start();
|
timer.start();
|
||||||
while (state == waitwhile && state != Error && !timedout) {
|
while (state == waitwhile && state != Error && !timedout) {
|
||||||
|
Loading…
Reference in New Issue
Block a user