Small fixes.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@241 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jean-Marc Lasgouttes 1999-10-25 12:33:03 +00:00
parent 5362b33b0f
commit c1093f1c92
3 changed files with 14 additions and 4 deletions

View File

@ -1,3 +1,11 @@
1999-10-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
* src/lyxfunc.C (Dispatch): Use _() instead of N_() fot minibuffer
messages.
* src/support/lyxstring.h: declare struct Srep as friend of
lyxstring, since DEC cxx complains otherwise.
1999-10-24 Lars Gullik Bjønnes <larsbj@lyx.org>
* src/spellchecker.C (create_ispell_pipe): removed old #warning,

View File

@ -720,14 +720,14 @@ string LyXFunc::Dispatch(int ac,
int res = one.startscript(Systemcalls::System, tmp);
if (res == 0) {
setMessage(string(
N_("Document exported as HTML to file: ")) + result);
_("Document exported as HTML to file: ")) + result);
} else {
setErrorMessage(string(
N_("An unexpected error occured while converting document to HTML in file:")) + result);
_("An unexpected error occured while converting document to HTML in file:")) + result);
}
}
else {
setErrorMessage(string(N_("Unknown export type: "))
setErrorMessage(string(_("Unknown export type: "))
+ extyp);
}
}

View File

@ -524,7 +524,7 @@ public:
private:
// These three operators can be used to discover erronous use of
// ints and strings. However a conforming C++ compiler will flag
// a lot of char operations as abmbigous when they are compiled
// a lot of char operations as ambigous when they are compiled
// in. Use them for debugging only (or perhaps not even then.)
// Lgb.
//
@ -536,6 +536,8 @@ private:
/// Forward declaration of the string representation
struct Srep;
// DEC cxx requires this.
friend struct Srep;
/// A string is a pointer to it's representation
Srep * rep;