Sublime directory Surf the web anonymous Pagerank Monitor


how to translate to Portuguese?

RealEstateAdvertis
Sun 25 February 2007, 08:38 pm GMT +0100
I translated all the messages in access_user_class.php and  and changed the case at the beginning of them to case "pt":

I added "pt" to the array in ext_user_profile.php like this
var $avail_lang = array("nl", "de", "en", "fr", "pt");
so now "pt" shows up in the drop down menu of the update user profile page. The setting  is saved now in the db so that it gives me error messages in Portuguese also (on the update profile page).

So it is saving the data about the new language but I am getting two error messages when I tell the page to update -
Notice: Undefined offset: 1 in /home/bungeebo/public_html/bungee_jumpers/access_user_class.php on line 617

Notice: Undefined offset: 2 in /home/bungeebo/public_html/bungee_jumpers/access_user_class.php on line 617




Here is one of the messages related to time - translated (maybe it is that) -
$msg[40] = "havia um registo novo do usuário no ".date("Y-m-d").":\r\n\r\nClick aqui para incorporar o admin page:\r\n\r\n".$host.$this->admin_page."?login_id=".$this->id;

What is causing the error messages? Apart from the messages everything seems to be working fine. But I also vaguely remember this error showing up in the past but since I don't use the profile I may have just ignored the problem. So maybe the error messages is from something else I did?

I did the translation using Babelfish but I have a Brazilian friend that speaks pretty good English so she will be able to correct the flaws in the translation. Would you want it when it is done?



olaf
Sun 25 February 2007, 09:26 pm GMT +0100
is this row 617?

$msg[40] = "havia um registo novo do usuário no ".date("Y-m-d").":\r\n\r\nClick aqui para incorporar o admin page:\r\n\r\n".$host.$this->admin_page."?login_id=".$this->id;

if not show me this row...

Archive for SMF v1.00 by N.P. Valid XHTML 1.0 Transitional