]> git.lyx.org Git - features.git/commitdiff
John's msg.diff
authorAngus Leeming <leeming@lyx.org>
Tue, 19 Mar 2002 09:42:52 +0000 (09:42 +0000)
committerAngus Leeming <leeming@lyx.org>
Tue, 19 Mar 2002 09:42:52 +0000 (09:42 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3773 a592a061-630c-0410-9148-cb99ea01b6c8

src/frontends/controllers/ChangeLog
src/frontends/controllers/ControlGraphics.C
src/frontends/controllers/ControlInclude.C

index f143da3ac5acdb16f6616b6bf0e7345b6331e814..5552ab8e8baa93da0633f24c36db9ee39af0cfb3 100644 (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
index de90d133b5c2b779e71450a32d6c6809b23845fb..bdca7e622901e4b5a1428a55072ed98532b3c5bd 100644 (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)
 {
index cd326cba9e2400cb9e00af3ffc7d9c212dfff3cc..3d0806a3678e888cb4cd201c8dedb9fe84d2d650 100644 (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;
 }