John's msg.diff

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3773 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Angus Leeming 2002-03-19 09:42:52 +00:00
parent dcebc194f4
commit 5fd04c3532
3 changed files with 9 additions and 2 deletions

View File

@ -3,6 +3,11 @@
* biblio.C (getInfo): string::c_str() never returns NULL. Don't test
for it.
2002-03-18 John Levon <moz@compsoc.man.ac.uk>
* ControlGraphics.C:
* ControlInclude.C: better error messages
2002-03-11 Herbert Voss <voss@lyx.org>
* biblio.C (parseBibTeX): fix another minibug with an

View File

@ -81,10 +81,11 @@ void ControlGraphics::applyParamsNoInset()
// We need these in the file browser.
extern string system_lyxdir;
extern string user_lyxdir;
string const ControlGraphics::Browse(string const & in_name)
{
string const title = N_("Graphics");
string const title = N_("Select graphics file");
// FIXME: currently we need the second '|' to prevent mis-interpretation
string const pattern = "*.(ps|eps|png|jpeg|jpg|gif|gz)|";
@ -99,6 +100,7 @@ string const ControlGraphics::Browse(string const & in_name)
// Show the file browser dialog
return browseFile(&lv_, in_name, title, pattern, dir1, dir2);
}
string const ControlGraphics::readBB(string const & file)
{

View File

@ -89,7 +89,7 @@ bool ControlInclude::fileExists(string const & file)
if (IsFileReadable(fileWithAbsPath))
return true;
else
Alert::alert(_("File doesn't exists!"));
Alert::alert(_("Specified file doesn't exist !"));
return false;
}