Author: spitz
Date: Wed Dec 29 17:57:04 2010
New Revision: 37039
URL: http://www.lyx.org/trac/changeset/37039

Log:
fix some typos. Patch by  Yuri Chornoivan.

Modified:
   lyx-devel/trunk/lib/layouts/egs.layout
   lyx-devel/trunk/src/Buffer.cpp
   lyx-devel/trunk/src/Buffer.h
   lyx-devel/trunk/src/LaTeX.cpp
   lyx-devel/trunk/src/graphics/GraphicsConverter.h
   lyx-devel/trunk/src/support/filetools.cpp

Modified: lyx-devel/trunk/lib/layouts/egs.layout
==============================================================================
--- lyx-devel/trunk/lib/layouts/egs.layout      Wed Dec 29 17:25:11 2010        
(r37038)
+++ lyx-devel/trunk/lib/layouts/egs.layout      Wed Dec 29 17:57:04 2010        
(r37039)
@@ -327,7 +327,7 @@
        ParSep                0.7
        Align                 Left
        LabelType             Static
-       LabelString           "Affilation:"
+       LabelString           "Affiliation:"
        LabelFont
          Series              Bold
          Shape               Italic

Modified: lyx-devel/trunk/src/Buffer.cpp
==============================================================================
--- lyx-devel/trunk/src/Buffer.cpp      Wed Dec 29 17:25:11 2010        (r37038)
+++ lyx-devel/trunk/src/Buffer.cpp      Wed Dec 29 17:57:04 2010        (r37039)
@@ -1061,7 +1061,7 @@
                } 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 @@
                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 @@
                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."), 

Modified: lyx-devel/trunk/src/Buffer.h
==============================================================================
--- lyx-devel/trunk/src/Buffer.h        Wed Dec 29 17:25:11 2010        (r37038)
+++ lyx-devel/trunk/src/Buffer.h        Wed Dec 29 17:57:04 2010        (r37039)
@@ -183,9 +183,9 @@
        /// 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.

Modified: lyx-devel/trunk/src/LaTeX.cpp
==============================================================================
--- lyx-devel/trunk/src/LaTeX.cpp       Wed Dec 29 17:25:11 2010        (r37038)
+++ lyx-devel/trunk/src/LaTeX.cpp       Wed Dec 29 17:57:04 2010        (r37039)
@@ -1008,7 +1008,7 @@
                        // 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 @@
                                                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 @@
                                        // 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;
                                }

Modified: lyx-devel/trunk/src/graphics/GraphicsConverter.h
==============================================================================
--- lyx-devel/trunk/src/graphics/GraphicsConverter.h    Wed Dec 29 17:25:11 
2010        (r37038)
+++ lyx-devel/trunk/src/graphics/GraphicsConverter.h    Wed Dec 29 17:57:04 
2010        (r37039)
@@ -45,14 +45,14 @@
 
        /** 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<void(bool)> 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.

Modified: lyx-devel/trunk/src/support/filetools.cpp
==============================================================================
--- lyx-devel/trunk/src/support/filetools.cpp   Wed Dec 29 17:25:11 2010        
(r37038)
+++ lyx-devel/trunk/src/support/filetools.cpp   Wed Dec 29 17:57:04 2010        
(r37039)
@@ -821,7 +821,7 @@
 #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());

Reply via email to