]> git.lyx.org Git - lyx.git/blobdiff - src/exporter.C
update no.po
[lyx.git] / src / exporter.C
index 7d9c2b3f09de64253175d85e765b5bade4fd5122..08a857ff68010409a5a5c97ff44e19a708e0d199 100644 (file)
@@ -39,7 +39,8 @@ bool Exporter::Export(Buffer * buffer, string const & format,
        if (bv) {
                // Remove all error insets
                if (bv->removeAutoInsets()) {
-                       bv->redraw();
+#warning repaint() or update() or nothing ?
+                       bv->repaint();
                        bv->fitCursor();
                }
        }
@@ -85,7 +86,7 @@ bool Exporter::Export(Buffer * buffer, string const & format,
        else if (backend_format == format)
                buffer->makeLaTeXFile(filename, string(), true);
        else if (contains(buffer->filePath(), ' ')) {
-               Alert::alert(_("Cannot run latex."),
+               Alert::alert(_("Cannot run LaTeX."),
                           _("The path to the lyx file cannot contain spaces."));
                return false;
        } else
@@ -107,6 +108,7 @@ bool Exporter::Export(Buffer * buffer, string const & format,
        return true;
 }
 
+
 bool Exporter::Export(Buffer * buffer, string const & format,
                      bool put_in_tempdir)
 {
@@ -114,6 +116,7 @@ bool Exporter::Export(Buffer * buffer, string const & format,
        return Export(buffer, format, put_in_tempdir, result_file);
 }
 
+
 bool Exporter::Preview(Buffer * buffer, string const & format)
 {
        string result_file;
@@ -162,6 +165,7 @@ string const Exporter::BufferFormat(Buffer const * buffer)
                return "latex";
 }
 
+
 vector<string> const Exporter::Backends(Buffer const * buffer)
 {
        vector<string> v;