[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Wnpp.pl does not use tags



On Wed, Apr 11, 2001 at 12:25:54PM +0200, Javier Fdz-Sanguino Pen~a wrote:
> > > 	I have received from a contributor a translation of devel/wnpp, he
> > > translated also the wnpp.pl file and I've noticed that it does not use tags.
> > > Is there any reason for it not to use them? Could it be changed to support
> > > tags?
> > 
> > What tags? I.e. what is there to translate in the Perl code? It gets you
> > stuff from the BTS database through LDAP, those descriptions can't be
> > translated because they are fetched from the subjects of the bug reports...
> 
> Correct me if I'm wrong but it seems there is stuff like:
> 141,143c141,143
> <     if ( $age{$_} == 0 ) { push @requested_html, "requested today." }
> <     elsif ( $age{$_} == 1 ) { push @requested_html, "requested yesterday."
> }
> <     else { push @requested_html, "requested $age{$_} days ago.\n" };
> ---
> >     if ( $age{$_} == 0 ) { push @requested_html, "pedido hoy." }
> >     elsif ( $age{$_} == 1 ) { push @requested_html, "pedido ayer." }
> >     else { push @requested_html, "pedido hace $age{$_} días.\n" };
> (shown is how it would be translated)
> 
> 	Is this translated somewhere? Is it used? (it seems to me its the
> 	stuff used to build part of the wnpp pages)

Indeed it is :) I reckon it won't hurt if we make a file for those tags, but
there's also issues with word order... can you make a proper patch? :)

-- 
Digital Electronic Being Intended for Assassination and Nullification



Reply to: