mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 14:41:29 +01:00
30 lines
1.3 KiB
PHP
Executable File
30 lines
1.3 KiB
PHP
Executable File
<?php
|
|
|
|
function lang_addressbook($message, $m1 = "", $m2 = "", $m3 = "", $m4 = "")
|
|
{
|
|
$message = strtolower($message);
|
|
|
|
switch($message)
|
|
{
|
|
case "address book": $s = "Carnet d'adresse"; break;
|
|
case "last name": $s = "Nom"; break;
|
|
case "first name": $s = "Prénom"; break;
|
|
case "e-mail": $s = "E-Mail"; break;
|
|
case "home phone": $s = "Téléphone Personnel"; break;
|
|
case "fax": $s = "Fax"; break;
|
|
case "work phone": $s = "Téléphone Professionnel"; break;
|
|
case "pager": $s = "Pager"; break;
|
|
case "mobile": $s = "Téléphone Portable"; break;
|
|
case "other number": $s = "Autre numéro"; break;
|
|
case "street": $s = "Rue"; break;
|
|
case "birthday": $s = "Anniversaire"; break;
|
|
case "city": $s = "Ville"; break;
|
|
case "state": $s = "Etat"; break;//doesn't exist in france !!!
|
|
case "zip code": $s = "Code Postal"; break;
|
|
case "notes": $s = "Notes"; break;
|
|
|
|
default: $s = "* ". $message;
|
|
}
|
|
return $s;
|
|
}
|