PhpDig.net

PhpDig.net (http://www.phpdig.net/forum/index.php)
-   Mod Submissions (http://www.phpdig.net/forum/forumdisplay.php?f=24)
-   -   Some little translations & modifications (http://www.phpdig.net/forum/showthread.php?t=1141)

infoland 08-01-2004 05:42 AM

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...

Charter 08-01-2004 10:12 AM

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


All times are GMT -8. The time now is 03:41 AM.

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