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;
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;
};
-#warning why is a pointer returned and not a const reference? (Lgb)
Converter const * Converters::getConverter(string const & from,
string const & to)
{
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));
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;
}
if (need_redraw) {
bv->redraw();
- bv->fitCursor(bv->text);
+ bv->fitCursor();
}
bv->owner()->allowInput();
}
// error insets after we ran LaTeX this must be run:
if (need_redraw) {
bv->redraw();
- bv->fitCursor(bv->text);
+ bv->fitCursor();
}
}