]> git.lyx.org Git - lyx.git/blobdiff - src/Exporter.cpp
* src/frontends/controllers/Dialog.{cpp,h}:
[lyx.git] / src / Exporter.cpp
index f8bd191af8cdf9e2c1a2db9fd3683f00916e9ad9..498f8de5f93b9162187da7c5d244520459f668ea 100644 (file)
@@ -28,7 +28,7 @@
 #include "Mover.h"
 #include "output_plaintext.h"
 #include "OutputParams.h"
-#include "frontends/Alert.h"
+#include "frontends/alert.h"
 
 #include "support/filetools.h"
 #include "support/lyxlib.h"
@@ -63,7 +63,7 @@ namespace {
 vector<string> const Backends(Buffer const & buffer)
 {
        vector<string> v;
-       if (buffer.params().getLyXTextClass().isTeXClassAvailable()) {
+       if (buffer.params().getTextClass().isTeXClassAvailable()) {
                v.push_back(bufferFormat(buffer));
                // FIXME: Don't hardcode format names here, but use a flag
                if (v.back() == "latex")
@@ -80,11 +80,11 @@ int checkOverwrite(FileName const & filename)
 {
        if (fs::exists(filename.toFilesystemEncoding())) {
                docstring text = bformat(_("The file %1$s already exists.\n\n"
-                                                    "Do you want to over-write that file?"),
+                                                    "Do you want to overwrite that file?"),
                                      makeDisplayPath(filename.absFilename()));
-               return Alert::prompt(_("Over-write file?"),
+               return Alert::prompt(_("Overwrite file?"),
                                     text, 0, 2,
-                                    _("&Over-write"), _("Over-write &all"),
+                                    _("&Overwrite"), _("Overwrite &all"),
                                     _("&Cancel export"));
        }
        return 0;