]> git.lyx.org Git - lyx.git/blobdiff - src/converter.C
Implement os::current_root for native Win32 builds.
[lyx.git] / src / converter.C
index 7ce839105aa506ca9198d7b5c0ce05ea5d73ff9f..4ec623c2db4bd97394518e7d0f2ca1fc5ae9a15e 100644 (file)
@@ -438,8 +438,6 @@ bool Converters::convert(Buffer const * buffer,
 }
 
 
-// If from = /path/file.ext and to = /path2/file2.ext2 then this method
-// moves each /path/file*.ext file to /path2/file2*.ext2'
 bool Converters::move(string const & fmt,
                      string const & from, string const & to, bool copy)
 {
@@ -468,7 +466,9 @@ bool Converters::move(string const & fmt,
                                : mover.rename(from2, to2);
                        if (!moved && no_errors) {
                                Alert::error(_("Cannot convert file"),
-                                       bformat(_("Could not move a temporary file from %1$s to %2$s."),
+                                       bformat(copy ?
+                                               _("Could not copy a temporary file from %1$s to %2$s.") :
+                                               _("Could not move a temporary file from %1$s to %2$s."),
                                                from2, to2));
                                no_errors = false;
                        }