Re: PATCH: Re: Some messages won't get translated

2000-12-06 Thread Lars Gullik Bjønnes
Angus Leeming <[EMAIL PROTECTED]> writes: | On Wednesday 06 December 2000 16:52, Lars Gullik Bjønnes wrote: | > Angus Leeming <[EMAIL PROTECTED]> writes: | > | Great idea. Done it. | > | | > | fdui->counter_zoom = obj = | > | fl_add_counter(FL_NORMAL_COUNTER,310,130,100,30,"Zoom %|#Z"); | > | | >

Re: PATCH: Re: Some messages won't get translated

2000-12-06 Thread Angus Leeming
On Wednesday 06 December 2000 16:52, Lars Gullik Bjønnes wrote: > Angus Leeming <[EMAIL PROTECTED]> writes: > | Great idea. Done it. > | > | fdui->counter_zoom = obj = > | fl_add_counter(FL_NORMAL_COUNTER,310,130,100,30,"Zoom %|#Z"); > | > | becomes > | > | fdui->counter_zoom = obj; > | { > |/

Re: PATCH: Re: Some messages won't get translated

2000-12-06 Thread Jean-Marc Lasgouttes
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: Angus> fdui-> counter_zoom = obj; Angus> { // xgettext:no-c-format char * dummy = N_("Zoom %|#Z"); obj = Angus> fl_add_counter(FL_NORMAL_COUNTER,310,130,100,30,idex(_(dummy))); Angus> fl_set_button_shortcut(obj,scex(_(dummy)),1); } Hmm,

Re: PATCH: Re: Some messages won't get translated

2000-12-06 Thread Lars Gullik Bjønnes
Angus Leeming <[EMAIL PROTECTED]> writes: | Great idea. Done it. | | fdui->counter_zoom = obj = | fl_add_counter(FL_NORMAL_COUNTER,310,130,100,30,"Zoom %|#Z"); | | becomes | | fdui->counter_zoom = obj; | { |// xgettext:no-c-format |char * dummy = N_("Zoom %|#Z"); |obj = fl_add_cou

Re: PATCH: Re: Some messages won't get translated

2000-12-06 Thread Angus Leeming
> Actually, here's an idea. What if we changed the rules around so we had > code that looked like: > >// xgettext:no-c-format >char * dummy = N_("Zoom %|#Z"); >fdui->counter_zoom = obj = fl_add_counter(FL_NORMAL_COUNTER, 310, 130, > 100, 30, idex(_(dummy))); >fl_set_button_shortc

Re: PATCH: Re: Some messages won't get translated

2000-12-06 Thread Jean-Marc Lasgouttes
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: Angus> Attached is a patch that (almost) resolves this bug. Applied. JMarc

Re: PATCH: Re: Some messages won't get translated

2000-12-06 Thread Allan Rae
On Tue, 5 Dec 2000, Angus Leeming wrote: > Results in, eg, this: > // xgettext:no-c-format >fdui->counter_zoom = obj = fl_add_counter(FL_NORMAL_COUNTER, 310, 130, > 100, 30, idex(_("Zoom %|#Z"))); > fl_set_button_shortcut(obj, scex(_("Zoom %|#Z")), 1); > > (Sorry I can't seem to turn

PATCH: Re: Some messages won't get translated

2000-12-05 Thread Angus Leeming
Attached is a patch that (almost) resolves this bug. However, I have a problem in frontends/xforms/forms/fdfixc.sed. Putting this in the sed script: # gettext will get confused if the string contains a "%" unless the line is # preceeded immediately by //xgettext:no-c-format /_(".*[%].*")/i\