mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-25 10:58:52 +00:00
fix some typos. Patch by Yuri Chornoivan.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37039 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
d1ae9ab317
commit
0a34b1e047
@ -327,7 +327,7 @@ Style Affil
|
|||||||
ParSep 0.7
|
ParSep 0.7
|
||||||
Align Left
|
Align Left
|
||||||
LabelType Static
|
LabelType Static
|
||||||
LabelString "Affilation:"
|
LabelString "Affiliation:"
|
||||||
LabelFont
|
LabelFont
|
||||||
Series Bold
|
Series Bold
|
||||||
Shape Italic
|
Shape Italic
|
||||||
|
@ -1061,7 +1061,7 @@ bool Buffer::save() const
|
|||||||
} else {
|
} else {
|
||||||
Alert::error(_("Backup failure"),
|
Alert::error(_("Backup failure"),
|
||||||
bformat(_("Cannot create backup file %1$s.\n"
|
bformat(_("Cannot create backup file %1$s.\n"
|
||||||
"Please check whether the directory exists and is writeable."),
|
"Please check whether the directory exists and is writable."),
|
||||||
from_utf8(backupName.absFileName())));
|
from_utf8(backupName.absFileName())));
|
||||||
//LYXERR(Debug::DEBUG, "Fs error: " << fe.what());
|
//LYXERR(Debug::DEBUG, "Fs error: " << fe.what());
|
||||||
}
|
}
|
||||||
@ -3761,7 +3761,7 @@ Buffer::ReadStatus Buffer::loadEmergency()
|
|||||||
if (success) {
|
if (success) {
|
||||||
if (isReadonly()) {
|
if (isReadonly()) {
|
||||||
Alert::warning(_("File is read-only"),
|
Alert::warning(_("File is read-only"),
|
||||||
bformat(_("An emergency file is succesfully loaded, "
|
bformat(_("An emergency file is successfully loaded, "
|
||||||
"but the original file %1$s is marked read-only. "
|
"but the original file %1$s is marked read-only. "
|
||||||
"Please make sure to save the document as a different "
|
"Please make sure to save the document as a different "
|
||||||
"file."), from_utf8(d->filename.absFileName())));
|
"file."), from_utf8(d->filename.absFileName())));
|
||||||
@ -3823,7 +3823,7 @@ Buffer::ReadStatus Buffer::loadAutosave()
|
|||||||
if (ret_llf == ReadSuccess) {
|
if (ret_llf == ReadSuccess) {
|
||||||
if (isReadonly()) {
|
if (isReadonly()) {
|
||||||
Alert::warning(_("File is read-only"),
|
Alert::warning(_("File is read-only"),
|
||||||
bformat(_("A backup file is succesfully loaded, "
|
bformat(_("A backup file is successfully loaded, "
|
||||||
"but the original file %1$s is marked read-only. "
|
"but the original file %1$s is marked read-only. "
|
||||||
"Please make sure to save the document as a "
|
"Please make sure to save the document as a "
|
||||||
"different file."),
|
"different file."),
|
||||||
|
@ -183,9 +183,9 @@ public:
|
|||||||
/// Renames and saves the buffer
|
/// Renames and saves the buffer
|
||||||
bool saveAs(support::FileName const & fn);
|
bool saveAs(support::FileName const & fn);
|
||||||
|
|
||||||
/// Write document to stream. Returns \c false if unsuccesful.
|
/// Write document to stream. Returns \c false if unsuccessful.
|
||||||
bool write(std::ostream &) const;
|
bool write(std::ostream &) const;
|
||||||
/// Write file. Returns \c false if unsuccesful.
|
/// Write file. Returns \c false if unsuccessful.
|
||||||
bool writeFile(support::FileName const &) const;
|
bool writeFile(support::FileName const &) const;
|
||||||
|
|
||||||
/// \name Functions involved in reading files/strings.
|
/// \name Functions involved in reading files/strings.
|
||||||
|
@ -1008,7 +1008,7 @@ void LaTeX::deplog(DepTable & head)
|
|||||||
// However, ...
|
// However, ...
|
||||||
if (suffixIs(token, ")"))
|
if (suffixIs(token, ")"))
|
||||||
// no line break for sure
|
// no line break for sure
|
||||||
// pretend we've been succesfully searching
|
// pretend we've been successfully searching
|
||||||
found_file = true;
|
found_file = true;
|
||||||
// (2) "No file file.ext"
|
// (2) "No file file.ext"
|
||||||
} else if (regex_match(token, sub, reg2)) {
|
} else if (regex_match(token, sub, reg2)) {
|
||||||
@ -1049,7 +1049,7 @@ void LaTeX::deplog(DepTable & head)
|
|||||||
file.absFileName(), ".toc")), head);
|
file.absFileName(), ".toc")), head);
|
||||||
else
|
else
|
||||||
// not found, but we won't check further
|
// not found, but we won't check further
|
||||||
// pretend we've been succesfully searching
|
// pretend we've been successfully searching
|
||||||
found_file = true;
|
found_file = true;
|
||||||
|
|
||||||
// (8) "(file.ext"
|
// (8) "(file.ext"
|
||||||
@ -1088,7 +1088,7 @@ void LaTeX::deplog(DepTable & head)
|
|||||||
// we have a closing bracket, so the content
|
// we have a closing bracket, so the content
|
||||||
// is not a file name.
|
// is not a file name.
|
||||||
// no need to investigate further
|
// no need to investigate further
|
||||||
// pretend we've been succesfully searching
|
// pretend we've been successfully searching
|
||||||
first = what[0].second;
|
first = what[0].second;
|
||||||
found_file = true;
|
found_file = true;
|
||||||
}
|
}
|
||||||
|
@ -45,14 +45,14 @@ public:
|
|||||||
|
|
||||||
/** Connect and you'll be informed when the conversion process has
|
/** Connect and you'll be informed when the conversion process has
|
||||||
* finished.
|
* finished.
|
||||||
* If the conversion is succesful, then the listener is passed \c true.
|
* If the conversion is successful, then the listener is passed \c true.
|
||||||
*/
|
*/
|
||||||
typedef boost::signal<void(bool)> sig_type;
|
typedef boost::signal<void(bool)> sig_type;
|
||||||
typedef sig_type::slot_type slot_type;
|
typedef sig_type::slot_type slot_type;
|
||||||
///
|
///
|
||||||
boost::signals::connection connect(slot_type const &) const;
|
boost::signals::connection connect(slot_type const &) const;
|
||||||
|
|
||||||
/** If the conversion is succesful, this returns the name of the
|
/** If the conversion is successful, this returns the name of the
|
||||||
* resulting file.
|
* resulting file.
|
||||||
* If conversion fails or has not been completed, however, it
|
* If conversion fails or has not been completed, however, it
|
||||||
* returns an empty string.
|
* returns an empty string.
|
||||||
|
@ -821,7 +821,7 @@ cmd_ret const runCommand(string const & cmd)
|
|||||||
#error No popen() function.
|
#error No popen() function.
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// (Claus Hentschel) Check if popen was succesful ;-)
|
// (Claus Hentschel) Check if popen was successful ;-)
|
||||||
if (!inf) {
|
if (!inf) {
|
||||||
lyxerr << "RunCommand:: could not start child process" << endl;
|
lyxerr << "RunCommand:: could not start child process" << endl;
|
||||||
return make_pair(-1, string());
|
return make_pair(-1, string());
|
||||||
|
Loading…
Reference in New Issue
Block a user