On 8/12/05, Martin Quinson <[EMAIL PROTECTED]> wrote:
> On Tue, Aug 09, 2005 at 12:06:49AM +1000, John Vandenberg wrote:
(...)
> > +        printf $"File $file2 can not be restored: file exists\n" >&2
> 
> This prevents translation to work because $file2 is extended in the string,
> and then we look for a translation of, say "File get_funky.c can not be
> restored: file exists\n", which of course doesn't exist.
> 
> That's why you have to use "%s" construct since it delays the variable
> expension until after the translation lookup.

thanks for the tip.
--
John


_______________________________________________
Quilt-dev mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/quilt-dev

Reply via email to