[ic] small mv_metadata.asc question

David Bordas interchange-users@interchange.redhat.com
Mon Oct 1 02:30:01 2001


Hi,

I can't find this thing to work but i have a solution :
in check_orders.html i add something near :

if($hash{handling}) {
   $hash{handling} = "<BR>(handling "        .
      $Tag->currency ({ body=> $hash{handling} }) .
    ")";
  }
  else {
   $hash{handling} = '';
  }

  $line =~ s/\$(\w+)/$hash{$1}/g;


like this

  $line =~ s/pending/En cours de traitement/g;
  $line =~ s/shipped/Expédiée/g;
  $line =~ s/backorder/En commande/g;
  $line =~ s/credit/En attente de paiement/g;
  $line =~ s/canceled/Annulée/g;
  HTML $line;
 }

Quite strong as solution but it works.

I hope it can help.
David

----- Original Message -----
From: "Eduardo Dominguez" <edmz@yahoo.com>
To: <bordas@jeuxvideo.com>
Sent: Friday, September 28, 2001 10:59 PM
Subject: Re: [ic] small mv_metadata.asc question


> I was wondering, did you make this work ?
> if so, what did you do ?
>
> thanks in advance..
>
> On Tue, 2001-09-25 at 10:23, David Bordas wrote:
> > Hi,
> >
> > i've modify mv_metadata.asc to translate pending to 'en cours de
> > traitement'.
> > on the pages/query/check_orders.html it always show pending
> >
> > in the source code i can see $status.
> > So i'm looking for a way to "translate" $status according to
> > mv_metadata.asc.
> >
> > I've had a look to the mailing archive but don't find anything.
> > Perhaps i don't search for the right thing.
> >
> > Great thanks.
> > David
> >
> >
> > _______________________________________________
> > interchange-users mailing list
> > interchange-users@interchange.redhat.com
> > http://interchange.redhat.com/mailman/listinfo/interchange-users
>
>
>
> _________________________________________________________
> Do You Yahoo!?
> Get your free @yahoo.com address at http://mail.yahoo.com
>