[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
Re: [mv] credit card error translations - someone?
****** message to minivend-users from "Michael Schwartz" <michael@panamacom.com> ******
I am a dummy for not thinking about the [seti] solution ......the locale, i
was under the impression it was out for MV4, someone said it, and i didnt
even tried.....damn
Thanks Jojo, very helpful, as always!
----- Original Message -----
From: Hans-Joachim Leidinger <jojo@buchonline.net>
To: <minivend-users@minivend.com>
Sent: Saturday, July 15, 2000 2:07 PM
Subject: Re: [mv] credit card error translations - someone?
> ****** message to minivend-users from Hans-Joachim Leidinger
<jojo@buchonline.net> ******
>
> Michael Schwartz schrieb:
> >
> > ****** message to minivend-users from "Michael Schwartz"
<michael@panamacom.com> ******
> >
> > Hi all!!
> > I am trying to translate the credit card errors (card is expired,
> > etc...)....basically the same way i translate the session
errors....example
> > [if session failure =~ /Password and check value don't match./]
> > [perl arg=scratch]
> > $Safe{'scratch'}->{'usermsg'} = 'La clave no coincide con su
> > verificación';
> > return '';
> > [/perl][/if]
> >
> > I tried doing it with [if error] but i cant....I have MV4.04....any
> > suggestions??
> > Thanks!
>
> You don´t need any codes to translate any check out error to another
> language.
> Edit your locale.txt and insert a line like (for example)
>
> code <tab> en_US <tab> es_ES
> .
> .
> First Name <tab> <tab> Nombre
>
> and change the line in your checkout.html
>
> [error name=fname std_label="First Name" required=1]
>
> to
>
> [error name=fname std_label="[loc]First Name[/loc]" required=1]
>
> or
>
> try this
>
> [seti dummy][error name=fname std_label="Nombre" required=1][/seti]
> [if scratch dummy =~ /blank/]
> <FONT COLOR="RED">Nombre (esconden)
> [else]
> [scratch dummy]
> [/else]
> [/if]
>
> Joachim
>
>
>
> --
> -------------Hans-Joachim Leidinger---------------------
>
>
> -
> To unsubscribe from the list, DO NOT REPLY to this message. Instead, send
> email with 'UNSUBSCRIBE minivend-users' in the body to
Majordomo@minivend.com.
> Archive of past messages: http://www.minivend.com/minivend/minivend-list
>
-
To unsubscribe from the list, DO NOT REPLY to this message. Instead, send
email with 'UNSUBSCRIBE minivend-users' in the body to Majordomo@minivend.com.
Archive of past messages: http://www.minivend.com/minivend/minivend-list