<?
/*
French Language File
--------------------
Translated by : Telesphore <hide@address.com>
Date : 2002-07-31
--------------------
copy a language file to messages.<cc>.inc and \
edit what $p is on encountering an english phrase.
please notice the punctuation and capitilization.
change the $language variable in plotconf.inc after
creating a language file.
*/
function lookup($phrase) {
switch($phrase) {
# start translating the $p here
case "Plotting" :
$p = "Résolution"; break;
case "preferences" :
$p = "préférences"; break;
case "locate me" :
$p = "situe moi"; break;
case "IP/Hostname:" :
$p = "IP/Serveur:"; break;
case "You at" :
$p = "Vous êtes à"; break;
case "Submit" :
$p = "Valider"; break;
case "main" :
$p = "principal"; break;
# Used in context "(host) is located in"
case "is" :
$p = "est"; break;
# Used in context "You at (host) are located in"
case "are" :
$p = "sont"; break;
case "located in" :
$p = "situé(s) en"; break;
case "cannot be located." :
$p = "ne peut être situer."; break;
case "cannot be resolved." :
$p = "ne peut être résolu."; break;
case "is a host in the private IP address range." :
$p = "est un serveur dans une tranche d'IP privée."; break;
case "does not resolve." :
$p = "ne correspond à rien."; break;
case "is not a valid IP address." :
$p = "n'est pas une adresse IP valide."; break;
case "Temporary lookup failure." :
$p = "Erreur de recherche temporaire."; break;
case "IP-Atlas Preferences" :
$p = "IP-Atlas Préférences"; break;
# make the 'p' lowercase if possible in your language
case "IP-Atlas preferences" :
$p = "IP-Atlas préférences"; break;
case "(cookie based)" :
$p = "(chemin du cookie)"; break;
case "Draw mode (defaults guessed for your browser):" :
$p = "Mode dessin (meilleur rendu dans le navigateur):"; break;
// next two phrases are combined
case "Your settings have been saved. You can now try" :
$p = "Vos préférences ont été sauvegardées. Vous pouvez essayer"; break;
case "plotting something." :
$p = "pointe quelque chose."; break;
case "Pointer Preferences (the dot that marks lat/lon):" :
$p = "Préférences du pointeur (the point qui marque latitude/longitude):"; break;
case "Shape:" :
$p = "Forme:"; break;
case "Size:" :
$p = "Taille:"; break;
case "Color:" :
$p = "Couleur:"; break;
case "Pointer:" :
$p = "Pointeur:"; break;
case "Other Preferences:" :
$p = "Autres Préférences:"; break;
case "Earth Image:" :
$p = "Image de la Terre:"; break;
case "Color" :
$p = "Couleur"; break;
case "Grayscale" :
$p = "Niveau de gris"; break;
case "Save" :
$p = "Sauvegarder"; break;
# shape names:
case "Diamond" :
$p = "Diamant"; break;
case "Diamond Outline" :
$p = "Contour du diamant"; break;
case "Square" :
$p = "Carré"; break;
case "Square Outline" :
$p = "Contour du carré"; break;
case "Cross" :
$p = "Croix"; break;
# colors:
case "red" :
$p = "rouge"; break;
case "white" :
$p = "blanc"; break;
case "yellow" :
$p = "jaune"; break;
case "magenta" :
$p = "magenta"; break;
case "cyan" :
$p = "cyan"; break;
case "green" :
$p = "vert"; break;
case "violet" :
$p = "violet"; break;
# stop here
// return in english if the phrase couldn't be found
default:
$p = $phrase; break;
}
// return english if match was blank
if($p == "") { $p = $phrase; }
return $p;
}
?>