From 0a34b1e047ae8e1c0a5a4dc4f484435098e40c4f Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=BCrgen=20Spitzm=C3=BCller?= Date: Wed, 29 Dec 2010 16:57:04 +0000 Subject: [PATCH] fix some typos. Patch by Yuri Chornoivan. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37039 a592a061-630c-0410-9148-cb99ea01b6c8 --- lib/layouts/egs.layout | 2 +- src/Buffer.cpp | 6 +++--- src/Buffer.h | 4 ++-- src/LaTeX.cpp | 6 +++--- src/graphics/GraphicsConverter.h | 4 ++-- src/support/filetools.cpp | 2 +- 6 files changed, 12 insertions(+), 12 deletions(-) diff --git a/lib/layouts/egs.layout b/lib/layouts/egs.layout index 64f36daaf0..21cc5a807b 100644 --- a/lib/layouts/egs.layout +++ b/lib/layouts/egs.layout @@ -327,7 +327,7 @@ Style Affil ParSep 0.7 Align Left LabelType Static - LabelString "Affilation:" + LabelString "Affiliation:" LabelFont Series Bold Shape Italic diff --git a/src/Buffer.cpp b/src/Buffer.cpp index 4908518c74..15314366a7 100644 --- a/src/Buffer.cpp +++ b/src/Buffer.cpp @@ -1061,7 +1061,7 @@ bool Buffer::save() const } else { Alert::error(_("Backup failure"), 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()))); //LYXERR(Debug::DEBUG, "Fs error: " << fe.what()); } @@ -3761,7 +3761,7 @@ Buffer::ReadStatus Buffer::loadEmergency() if (success) { if (isReadonly()) { 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. " "Please make sure to save the document as a different " "file."), from_utf8(d->filename.absFileName()))); @@ -3823,7 +3823,7 @@ Buffer::ReadStatus Buffer::loadAutosave() if (ret_llf == ReadSuccess) { if (isReadonly()) { 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. " "Please make sure to save the document as a " "different file."), diff --git a/src/Buffer.h b/src/Buffer.h index 5819466bf7..19dd6eca7e 100644 --- a/src/Buffer.h +++ b/src/Buffer.h @@ -183,9 +183,9 @@ public: /// Renames and saves the buffer 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; - /// Write file. Returns \c false if unsuccesful. + /// Write file. Returns \c false if unsuccessful. bool writeFile(support::FileName const &) const; /// \name Functions involved in reading files/strings. diff --git a/src/LaTeX.cpp b/src/LaTeX.cpp index 47c2201a51..d79af2fbf8 100644 --- a/src/LaTeX.cpp +++ b/src/LaTeX.cpp @@ -1008,7 +1008,7 @@ void LaTeX::deplog(DepTable & head) // However, ... if (suffixIs(token, ")")) // no line break for sure - // pretend we've been succesfully searching + // pretend we've been successfully searching found_file = true; // (2) "No file file.ext" } else if (regex_match(token, sub, reg2)) { @@ -1049,7 +1049,7 @@ void LaTeX::deplog(DepTable & head) file.absFileName(), ".toc")), head); else // not found, but we won't check further - // pretend we've been succesfully searching + // pretend we've been successfully searching found_file = true; // (8) "(file.ext" @@ -1088,7 +1088,7 @@ void LaTeX::deplog(DepTable & head) // we have a closing bracket, so the content // is not a file name. // no need to investigate further - // pretend we've been succesfully searching + // pretend we've been successfully searching first = what[0].second; found_file = true; } diff --git a/src/graphics/GraphicsConverter.h b/src/graphics/GraphicsConverter.h index f84b9e9b11..838b07bfc7 100644 --- a/src/graphics/GraphicsConverter.h +++ b/src/graphics/GraphicsConverter.h @@ -45,14 +45,14 @@ public: /** Connect and you'll be informed when the conversion process has * 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 sig_type; typedef sig_type::slot_type slot_type; /// 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. * If conversion fails or has not been completed, however, it * returns an empty string. diff --git a/src/support/filetools.cpp b/src/support/filetools.cpp index 519f779a5e..59090ecfaa 100644 --- a/src/support/filetools.cpp +++ b/src/support/filetools.cpp @@ -821,7 +821,7 @@ cmd_ret const runCommand(string const & cmd) #error No popen() function. #endif - // (Claus Hentschel) Check if popen was succesful ;-) + // (Claus Hentschel) Check if popen was successful ;-) if (!inf) { lyxerr << "RunCommand:: could not start child process" << endl; return make_pair(-1, string()); -- 2.39.5