]> git.lyx.org Git - lyx.git/blobdiff - src/converter.C
Fix working of the spellchecker dialog with ispell when there are no
[lyx.git] / src / converter.C
index ced4400b1104b6eed346ca29b573cc8cd5861ba2..93e7957730b8b9343248acf3031b447f645bfc94 100644 (file)
@@ -168,7 +168,7 @@ bool Formats::view(Buffer const * buffer, string const & filename,
            format->isChildFormat())
                format = getFormat(format->parentFormat());
        if (!format || format->viewer().empty()) {
-               WriteAlert(_("Can not view file"),
+               WriteAlert(_("Cannot view file"),
                           _("No information for viewing ")
                           + prettyName(format_name));
                           return false;
@@ -198,7 +198,7 @@ bool Formats::view(Buffer const * buffer, string const & filename,
        int const res = one.startscript(Systemcalls::SystemDontWait, command);
 
        if (res) {
-               WriteAlert(_("Can not view file"),
+               WriteAlert(_("Cannot view file"),
                           _("Error while executing"),
                           command.substr(0, 50));
                return false;
@@ -282,7 +282,6 @@ private:
 };
 
 
-#warning why is a pointer returned and not a const reference? (Lgb)
 Converter const * Converters::getConverter(string const & from,
                                            string const & to)
 {
@@ -575,7 +574,7 @@ bool Converters::convert(Buffer const * buffer,
 
        EdgePath edgepath = getPath(from_format, to_format);
        if (edgepath.empty()) {
-               WriteAlert(_("Can not convert file"),
+               WriteAlert(_("Cannot convert file"),
                           _("No information for converting from ")
                           + formats.prettyName(from_format) + _(" to ")
                           + formats.prettyName(to_format));
@@ -669,7 +668,7 @@ bool Converters::convert(Buffer const * buffer,
                                        WriteAlert(_("There were errors during the Build process."),
                                                   _("You should try to fix them."));
                                else
-                                       WriteAlert(_("Can not convert file"),
+                                       WriteAlert(_("Cannot convert file"),
                                                   "Error while executing",
                                                   command.substr(0, 50));
                                return false;