+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,
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);
}
}
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.
//
/// 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;