PhpDig.net

Go Back   PhpDig.net > PhpDig Forums > Mod Submissions

Reply
 
Thread Tools
Old 08-01-2004, 05:42 AM   #1
infoland
Green Mole
 
Join Date: Aug 2004
Posts: 6
Some little translations & modifications

As i'm french, i was a little bit desapointed when i saw that the words

"Choose a template"
"Select a site to search"
"Restart"
"Narrow Path to Search"

has not been translated (seems hard coded in the source).

I've found where to change it

in libs\function_phpdig_form.php

For the 1st words, change the line 42

(for this one, you can also change the list diplayed. For example, on my site, i've decided to propose a simple search and and a complete search)

For the 2nd words, change the line 138

For the 3rd words, change the line 142

For the 4th word, change the line 101

I hope it can help someone and that theses translations will be implemented as vars in the future revisions.

You can see the result on :

http://infoland.no-ip.com/rech/search.php

Have a nice day

PS : sorry for my english...
infoland is offline   Reply With Quote
Old 08-01-2004, 10:12 AM   #2
Charter
Head Mole
 
Charter's Avatar
 
Join Date: May 2003
Posts: 2,539
Hi, oops I forgot some words. You can use phpdigMsg('key_here') and then add 'key_here' => 'value here', in the language pack.

Choose a template = Choisissez un mode de recherche

Select a site to search = Site Ã* rechercher

Restart = Remise Ã* zéro

Narrow search to path = Préciser la recherche sur
__________________
Responses are offered on a voluntary if/as time is available basis, no guarantees. Double posting or bumping threads will not get your question answered any faster. No support via PM or email, responses not guaranteed. Thank you for your comprehension.
Charter is offline   Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Url part after & is ignored on spider (1.8.9 RC1 and earliers) obottek Bug Tracker 1 08-24-2006 04:52 AM


All times are GMT -8. The time now is 01:37 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright © 2001 - 2005, ThinkDing LLC. All Rights Reserved.