Re: [PATCH] qt compile fix

2002-12-18 Thread Lars Gullik Bjønnes
John Levon <[EMAIL PROTECTED]> writes: | On Thu, Dec 19, 2002 at 12:04:15AM +0100, Lars Gullik Bj?nnes wrote: | | > make distdir | | ... | make[3]: *** No rule to make target `../src/ext_l10n.h', needed by | `lyx.pot'. Stop. | ... | | This is after a ./config.status --recheck && ./config.stat

Re: [PATCH] qt compile fix

2002-12-18 Thread John Levon
On Thu, Dec 19, 2002 at 12:04:15AM +0100, Lars Gullik Bj?nnes wrote: > make distdir ... make[3]: *** No rule to make target `../src/ext_l10n.h', needed by `lyx.pot'. Stop. ... This is after a ./config.status --recheck && ./config.status on current cvs so, can someone else who can use this app

Re: [PATCH] qt compile fix

2002-12-18 Thread Lars Gullik Bjønnes
John Levon <[EMAIL PROTECTED]> writes: | On Wed, Dec 18, 2002 at 11:48:01PM +0100, Lars Gullik Bj?nnes wrote: | | > We already support _(""), N_(""), both are non-standard gettext-wise. | > We can support qt_("") just as easy: | | great. | | > - --escape --add-comments --keyword=_ --key

Re: [PATCH] qt compile fix

2002-12-18 Thread John Levon
On Wed, Dec 18, 2002 at 11:48:01PM +0100, Lars Gullik Bj?nnes wrote: > We already support _(""), N_(""), both are non-standard gettext-wise. > We can support qt_("") just as easy: great. > - --escape --add-comments --keyword=_ --keyword=N_ \ > + --escape --add-comments --keyword=

Re: [PATCH] qt compile fix

2002-12-18 Thread Lars Gullik Bjønnes
John Levon <[EMAIL PROTECTED]> writes: | On Wed, Dec 18, 2002 at 10:02:56PM +0100, Lars Gullik Bj?nnes wrote: | | > | > | > My Q is: who extracts qt_("LyX: ") for translation? Does the regular | > | > | > machinery handle it? | > | > ext_l10n.h is not in use anymore (gone *poff*) | | I see. So,

Re: [PATCH] qt compile fix

2002-12-18 Thread John Levon
On Wed, Dec 18, 2002 at 10:02:56PM +0100, Lars Gullik Bj?nnes wrote: > | > | > My Q is: who extracts qt_("LyX: ") for translation? Does the regular > | > | > machinery handle it? > > ext_l10n.h is not in use anymore (gone *poff*) I see. So, is there a solution ? The problem is that using just pl

Re: [PATCH] qt compile fix

2002-12-18 Thread Lars Gullik Bjønnes
John Levon <[EMAIL PROTECTED]> writes: | On Wed, Dec 18, 2002 at 10:21:02AM +0100, Lars Gullik Bj?nnes wrote: | | > | > My Q is: who extracts qt_("LyX: ") for translation? Does the regular | > | > machinery handle it? | > | | > | qt_helpers.C: | > | > mmm... no extraction done there. | > | > |

Re: [PATCH] qt compile fix

2002-12-18 Thread John Levon
On Wed, Dec 18, 2002 at 02:45:05PM +0100, Jean-Marc Lasgouttes wrote: > Juergen> Mixing QString with string broke non-boost (gcc 2.95.3 here). > Juergen> Please apply. > > Juergen> PS: the fix is fromqstr(qt_("LyX: ")) instead of _("LyX: ") > Juergen> because gettext is no more included (OTOH: wh

Re: [PATCH] qt compile fix

2002-12-18 Thread John Levon
On Wed, Dec 18, 2002 at 10:21:02AM +0100, Lars Gullik Bj?nnes wrote: > | > My Q is: who extracts qt_("LyX: ") for translation? Does the regular > | > machinery handle it? > | > | qt_helpers.C: > > mmm... no extraction done there. > > | John knows the details. > > John? I guess we need to add

Re: [PATCH] qt compile fix

2002-12-18 Thread Jean-Marc Lasgouttes
> "Juergen" == Juergen Spitzmueller <[EMAIL PROTECTED]> writes: Juergen> Mixing QString with string broke non-boost (gcc 2.95.3 here). Juergen> Please apply. Juergen> Jürgen. Juergen> PS: the fix is fromqstr(qt_("LyX: ")) instead of _("LyX: ") Juergen> because gettext is no more included (OT

Re: [PATCH] qt compile fix

2002-12-18 Thread Lars Gullik Bjønnes
[EMAIL PROTECTED] (Juergen Spitzmueller) writes: | Lars Gullik Bjønnes wrote: | > My Q is: who extracts qt_("LyX: ") for translation? Does the regular | > machinery handle it? | | qt_helpers.C: mmm... no extraction done there. | John knows the details. John? -- Lgb

Re: [PATCH] qt compile fix

2002-12-18 Thread Juergen Spitzmueller
Lars Gullik Bjønnes wrote: > My Q is: who extracts qt_("LyX: ") for translation? Does the regular > machinery handle it? qt_helpers.C: QString const qt_(char const * str) { return toqstr(_(str)); } QString const qt_(string const & str) { return toqstr(_(str)); } John knows the

Re: [PATCH] qt compile fix

2002-12-18 Thread Lars Gullik Bjønnes
[EMAIL PROTECTED] (Juergen Spitzmueller) writes: | Mixing QString with string broke non-boost (gcc 2.95.3 here). | Please apply. | | Jürgen. | | PS: the fix is fromqstr(qt_("LyX: ")) instead of _("LyX: ") My Q is: who extracts qt_("LyX: ") for translation? Does the regular machinery handle it?

[PATCH] qt compile fix

2002-12-18 Thread Juergen Spitzmueller
Mixing QString with string broke non-boost (gcc 2.95.3 here). Please apply. Jürgen. PS: the fix is fromqstr(qt_("LyX: ")) instead of _("LyX: ") because gettext is no more included (OTOH: who translates "LyX: "?). Index: src/frontends/qt2/Alert_pimpl.C