[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
Re: [mv] Translation Question
Hi...
this is my dirty quick solution...
First:
change a line in the new_account page from
<INPUT TYPE=hidden NAME=mv_nextpage VALUE=ord/basket>
to
<INPUT TYPE=hidden NAME="mv_nextpage" VALUE=newaccount>
Create a file "newaccount" and use this codes:
------snipp newaccount.html-----------
[set mv_put_session]Yes[/set]
<BR>
[perl arg=scratch]
$Safe{'scratch'}->{'usermsg'} = '';
return '';
[/perl]
<BR>
[if session failure]
[perl arg=scratch]
$Safe{'scratch'}->{'usermsg'} = 'session failure';
return '';
[/perl]
[if session failure =~ /Username already exists./]
[perl arg=scratch]
$Safe{'scratch'}->{'usermsg'} = '[L]Username already exists.[/L]';
return '';
[/perl]
[/if]
[if session failure =~ /Already logged in. Log out first./]
[perl arg=scratch]
$Safe{'scratch'}->{'usermsg'} = '[L]Already logged in. Log out first.[/L]';
return '';
[/perl]
[/if]
and so on.......
[/if]
[tag op=header interpolate=1]
Status: 302 moved
Content-type: text/html
Location: [area href="new_account" secure=1]
[/tag]
[set mv_no_cache]1[/set]
------snipp newaccount.html-----------
Store this file beside of the new_account.html file. A short summary of
the session failure messages are...
Username already exists
Bad object.
Already logged in. Log out first.
Sorry, reserved user name.
Must enter at least 4 characters for password.
Password and check value do not match.
Must have longer username.
Can not have some characters.
Database access error.
Must have old password
Must enter at least 4 characters for password.
Password and check value don't match.
Not logged in.
Make sure, you restart your catalog, if you have made any change in
your locale.asc.
Good lucks!
Joachim
On 15 Dec, Nathan ZYLBERSZTEJN wrote:
> ****** message to minivend-users from Nathan ZYLBERSZTEJN <zyloo@zylooplanet.net> ******
>
> I don't know if it answers, but I know what you search is contained in the
> [data session failure] tag. I have tried to translate with [loc][data
> session failure][/loc] it but it seems not to work
>
> Tell me if you fond the solution
> Thanks
>
> Nathan
>
> At 09:52 15/12/99 +0100, you wrote:
>>****** message to minivend-users from jojo@buchonline.net ******
>>
>>On 14 Dec, Marcos Machado wrote:
>> > I'm translating to portuguese a store with minivend, but I can't find
>> > some messages provided by script (not in html pages), like "Password
>> > Mismatch", "Username does not exist", etc., and all the messages about
>> > checkout fields in the needfield.html file (like "not a two-letter
>> > state...", "address: blank", etc.).
>> >
>> > Anybody knows where I can find this messages?
>> >
>> > Thanks!
>> >
>> > M a r c o s M a c h a d o
>>
>>Hi Marcos,
>>
>>go to
>>
>>http://www.minivend.com/minivend/minivend-list/1999/msg07955.html
>>
>>I have forgotten to say in this email. Use the codes like
>>
>>[if scratch usermsg]
>>Oooops! Error: [scratch usermsg] <BR>
>>[/if]
>>
>>I hope, this can helps you.
>>
>>Regards,
>>
>>Joachim
--
Hans-Joachim Leidinger
buch online jojo@buchonline.net
Munscheidstr. 14 FAX: +49 209 1971449
45886 Gelsenkirchen FAX: 0209 1671449